Changing code font size in template.pptx #108
Replies: 1 comment
-
hello, this out of the scope of the package "officedown". This is about rmarkdown. But if it helps, this page explains how to customize powerpoint template for rmarkdown, https://ardata-fr.github.io/officeverse/office-documents-generation.html#powerpoint-presentation-properties. I am pretty sure 'posit' provides many ressources about this in their documentations. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone--I apologize if this question has been asked and answered. I'm trying to adjust the code font size (chunks and output) for a pptx template. I have the following file for a minimal example:
The body font is set to Ubuntu (size 28), and on the master I can see the same setting:
However, I also inserted a code text box in the pptx with the font style I'd like the code to formatted in when it's rendered from R Markdown:
When I run the following R Markdown file (using my template):
I get the following:
Where does this Courier font style come from, and can I change it for only code chunks?
I've tried dropping this in the .Rmd (with no avail):
Any help would be greatly appreciated!
EDIT: here is a GitHub repo with all the files: https://github.com/mjfrigaard/rmd2pptx
Beta Was this translation helpful? Give feedback.
All reactions