latex_book | R Documentation |
Convert R Markdown files to LaTeX file after resolving the special tokens of bookdown (e.g., the tokens for references and labels) to native LaTeX commands.
Identical to bookdown::pdf_book
, except that the tex file created by Pandoc is not compiled.
latex_book(
toc = TRUE,
number_sections = TRUE,
fig_caption = TRUE,
pandoc_args = NULL,
...,
base_format = rmarkdown::pdf_document,
toc_unnumbered = TRUE,
toc_appendix = FALSE,
toc_bib = FALSE,
quote_footer = NULL,
highlight_bw = FALSE
)
toc , number_sections , fig_caption , pandoc_args |
See
|
... |
Other arguments to be passed to |
base_format |
An output format function to be used as the base format. |
toc_unnumbered |
Whether to add unnumbered headers to the table of contents. |
toc_appendix |
Whether to add the appendix to the table of contents. |
toc_bib |
Whether to add the bibliography section to the table of contents. |
quote_footer |
If a character vector of length 2 and the quote footer
starts with three dashes (‘---’), |
highlight_bw |
Whether to convert colors for syntax highlighting to black-and-white (grayscale). |
Command to insert a figure in Markdown
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.