View source: R/rmarkdown_output.R
schola_pdf | R Documentation |
Function called in the output section of the YAML header (see examples
below), instructing knitr
to use the standard Schola PDF document format.
If you run into any problem using the Czech language, consult this function
details first.
schola_pdf(
num_format = NULL,
number_sections = FALSE,
toc = TRUE,
template = find_resource("schola_pdf", "schola_template.tex"),
latex_engine = "xelatex",
fig_crop = FALSE,
document_class = "report",
...
)
num_format |
Character, if |
number_sections |
Logical, |
toc |
Logical, |
template |
Character, path to the |
latex_engine |
Character, engine used for |
fig_crop |
logical, whether to crop PDF figures. Defaults to |
document_class |
Character, one of standard LaTeX document class.
Defaults to |
... |
Arguments passed on to
|
A modified bookdown::pdf_document2
with the standard Schola
formatting.
babel
hyphenation warningYou may encounter a following warning when your document is being "compiled"
to .pdf
format:
Warning: Package babel Warning: No hyphenation patterns were preloaded for Warning: (babel) the language 'Czech' into the format. Warning: (babel) Please, configure your TeX system to add them and Warning: (babel) rebuild the format. Now I will use the patterns Warning: (babel) preloaded for \language=0 instead on input line 53.
This usually solves by calling tinytex::tlmgr_install("hyphen-czech")
(if
you are a {tinytex}
user).
Jan Netik
Other Report templates and formats:
copy_schola_template()
,
open_schola_template()
,
schola_word()
,
schola_word2()
## Not run:
# in YAML header ------
output:
reschola::schola_pdf:
toc:false
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.