Description Usage Arguments Details Value Examples
This format is meant to supply only the TikZ-wrangling features of the
package and to set up reasonable further defaults for an article rather than
a presentation. For slides that use scuro's font and figure-drawing setup
but not its color scheme, use scuro_md
but with format option
scuro=FALSE
. For an article, rmarkdown's built-in
render
is flexible enough to handle all the
processing from R markdown to PDF, including citation processing where
needed. Simply set output: scuro::chiaro_pdf
in your YAML header. The
package includes an R markdown template demonstrating this format as well.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
fig_width |
Natural figure width in inches. This is rescaled according
to the value of chunk option |
fig_height |
Natural figure height in inches.
|
fig_crop |
Apply |
dev |
graphics device ( |
latex_engine |
|
plot_font |
If both XeLaTeX and TikZ are used, the package will set the
font in graphics. Any system font name can be given. The default value
|
plot_font_options |
|
... |
remaining arguments (e.g. |
Among defaults selected here, of particular note are centering alignment for figures, a black-and-white ggplot theme, and stop-on-error. Errors, warnings, and messages will all go to the console, not into the final document. The intermediate LaTeX file will also be kept, as this is often necessary to diagnose typesetting errors.
Additional typesetting customizations are as described in https://github.com/agoldst/memarticle (the underlying pandoc template).
An R Markdown format suitable for rendering.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.