Description Usage Arguments Value Functions
View source: R/markup2vector.R
This function creates pandoc variable key value pairs for LaTeX preamble.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | declare_pandoc_var(key, value)
declare_pandoc_fontsize(fontsize_global = NULL)
declare_pandoc_linestretch(linestretch = NULL)
declare_pandoc_lang(lang = NULL)
declare_pandoc_geometry(
paperwidth = NULL,
paperheight = NULL,
top = NULL,
bottom = NULL,
left = NULL,
right = NULL,
unit = "cm",
vcentering = FALSE,
hcentering = FALSE
)
|
key |
|
value |
|
fontsize_global |
Must be one of:
|
linestretch |
|
lang |
Must be one of:
Used for multilingual typsetting support via LaTeX's babel package and others. Careful: Depending on the local tex distribution, not all valid languages may also be supported by LaTeX. Use |
paperwidth, paperheight |
|
top, bottom, left, right |
|
unit |
Must be one of:
|
vcentering, hcentering |
|
[character()]
giving pandoc variable option, options in the case of geometry.
declare_pandoc_fontsize
: declare base font size
declare_pandoc_linestretch
: declare linestretch
(to be passed on to LaTeX setspace package)
declare_pandoc_lang
: declare language
declare_pandoc_geometry
: declare options for LaTeX geometry package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.