-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Printing to pdf #65
Comments
I'd like to second that suggestion. And I'd be happy to make a PR for it if Yihui says go ahead. |
@ekstroem Please go ahead! 👍 |
Since this is easy to do, I have added some of these CSS rules to the default CSS. It seems |
thanks, agree it's nice to just bake this into |
Probably. If it turns out that |
I think it has an impact if you run 16:9 ratio. Then the prints look different and setting the @page will fix that. I tinkered with adding this in
However that keeps the 4:3 ratio and not the ratio defined by the user in the yaml. I tried to figure out how to extract the actual width instead of the |
I have solved the |
As you probably know, many of us end up printing html5 slides into pdf in case some conference can't handle html. The remark.js Readme links an issue with some pretty good suggestions for this, gnab/remark#50 (comment) in particular, but I thought R users might like to have this included in your
default
css so that printing works out of the box?The example shown there works pretty-much as is, but users might want the option to customize the aspect ratio in the markdown yaml, like one can do in @gaborcsardi's rmdshower. Maybe this is something you'd consider adding, and/or mentioning in the readme?
The text was updated successfully, but these errors were encountered: