R/reproducr_manuscript.R
reproducr_manuscript.RdCreating and publishing reproducible scientific documents in manuscript (PDF) mode
reproducr_manuscript( blinded = FALSE, toc = FALSE, number_sections = FALSE, extra_dependencies = NULL, fig_width = 7, fig_height = 4, fig_crop = TRUE, fig_align = "center", fig_showtext = TRUE, dev = "ragg_png", dpi = 500, highlight = "default", colorlinks = TRUE, ... )
| blinded |
|
|---|---|
| number_sections | Whether to number section headers: if |
| fig_showtext | globally sets the |
| dev | Graphics device to use for figure output (defaults to 'ragg_png') from the ragg package |
| highlight | syntax highlighting style in your document (defaults to |
| colorlinks | should cross-references and links be colored (defaults to |
| ... | Other arguments to be passed to |
Available metadata variables include:
fontsizeFont size (e.g. 10pt, 11pt, 12pt)
documentclassLaTeX document class (currently supported: article or scrartcl)
classoptionOption for documentclass (e.g. DIV=calc); may be repeated
mainfont, sansfont, monofont, mathfontDocument fonts (works only with xelatex and lualatex, see the latex_engine option)
linkcolor, urlcolor, citecolorColor for internal, external, and citation links (red, green, magenta, cyan, blue, black)
linestretchOptions for line spacing (e.g. 1, 1.25, 1.5)
indentif true, pandoc will use document class settings for indentation (the default LaTeX template otherwise removes indentation and adds space between paragraphs)
reproducr_manuscript() is a PDF output format function that is optimised for
reproducible scientific research and is based on R Markdown and Bookdown.
Learn more about how to use reproducr_manuscript here: https://jschultecloos.github.io/reproducr/.
See https://jschultecloos.github.io/reproducr/ for examples.