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
4.2.2 Adjusting font-size in ioslides using R Markdown #30
Comments
If you want to change the size of individual lines of text, you will have to delve into some custom HTML. Here are some examples based on this Stackoverflow question:
Hope that helps! As a tip, Stackoverflow is a good place if you are looking for general guidance. GitHub issues are less monitored, and are better used if there is a suspected bug or issue with the package or software. You may also consider https://community.rstudio.com for questions. |
Thanks, @mikey-harper True, I hadn't tried HTML tags yet. I was looking for Markdown-based shortcuts and skipped checking out the most obvious option! |
Markdown by design only allows a limited amount of formatting. But its power comes from this simplicity :) The cheatsheet sets out pretty much all the built-in formatting: http://www.rstudio.com/wp-content/uploads/2016/03/rmarkdown-cheatsheet-2.0.pdf . |
Thanks for the detailed super-helpful book, @yihui
Quick question. I read the sections on adjusting font-size in slides (R Markdown, ioslides presentation). Seems like I can use
{.smaller}
to change it for the whole slide.I also read that footers can be added (if included in the file definition 4.2.3).
Qn: Is there a way to adjust the font size of individual lines in a particular slide? I tried appending the line with
{.smaller}
and{.bigger}
but that doesn't work within the slide.Thanks!
The text was updated successfully, but these errors were encountered: