Format for creating submissions to Royal Society Open Science journals.
Usage
rsos_article(
...,
keep_tex = TRUE,
latex_engine = "xelatex",
pandoc_args = NULL,
includes = NULL,
fig_crop = TRUE
)Arguments
- ...
Additional arguments to
rmarkdown::pdf_document()- keep_tex
Keep the intermediate tex file used in the conversion to PDF. Note that this argument does not control whether to keep the auxiliary files (e.g.,
.aux) generated by LaTeX when compiling.texto.pdf. To keep these files, you may setoptions(tinytex.clean = FALSE).- latex_engine
LaTeX engine for producing PDF output. Options are "pdflatex", "lualatex", "xelatex" and "tectonic".
- pandoc_args
Additional command line options to pass to pandoc
- includes
Named list of additional content to include within the document (typically created using the
includesfunction).- fig_crop
Whether to crop PDF figures with the command
pdfcrop. This requires the toolspdfcropandghostscriptto be installed. By default,fig_crop = TRUEif these two tools are available.
Author
Thierry Onkelinx, thierry.onkelinx@inbo.be
