-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
PDF Output #27
Comments
Thx for trying out the pkg and taking the time to file an issue/question! Can you post the output of |
In retrospect, that may not matter. Please try:
|
And, I just pushed a change that makes this easier. Assuming RStudio use,
Will start off a new document with everything above so you don't need to cut/paste from other docs. |
This was a rly helpful question and will likely ease the pain of many others. If you're inclined, would you mind forking the pkg and adding yourself to the |
Many thinks for having me as a contributor. I forked the repository and added my coordinate. Sorry btw for mistinking typing my answer, it was quite diffucult to read :) |
Any idea how to do this for outputting a single plot to pdf? Cairo::CairoPDF("plot.pdf")
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
labs(title="Roboto Condensed", subtitle="This is a subtitle") +
theme_ipsum_rc()
dev.off() But I don't get the robo font. |
I usually do: ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
labs(title="Roboto Condensed", subtitle="This is a subtitle") +
theme_ipsum_rc() -> gg
ggsave("plot.pdf", gg, device = cairo_pdf) when targeting PDF |
I have a similar problem trying to use roboto condensed (via theme_ipsum_rc) in an Rmarkdown document -> pdf. |
Just to add a simple solution that worked well for me: Specify Example of relevant YAML section: output:
pdf_document:
dev: cairo_pdf
<other pdf options>
html_document:
<html options> |
Hi,
I would like to use hrbdthemes with a PDF output Rmarkdown document. Truing this simple example :
Arial Narrow
Roboto Condensed
The text was updated successfully, but these errors were encountered: