View source: R/revision_letter_format.R
quote_from_tex | R Documentation |
Includes a labelled quote from a LaTeX document 'asis'.
quote_from_tex(
x,
file = paste0(rmarkdown::metadata[["manuscript-tex"]], ".tex")
)
x |
Character. One or more quote labels. |
file |
Character. Path to LaTeX file from which to quote. |
Searches the LaTeX document specified in file
for labelled
quotes, i.e. paragraphs that are enclosed in % <@~{#quote-label}
and
% ~@>
tags in LaTeX comments on separate lines. The labelled quote is
then inserted and rendered asis
. To use labelled quote-tags in a
apa6_pdf()
-document, set the YAML front matter options
quote_labels: true
.
A character vector of LaTeX document text of class knit_asis
,
see knitr::asis_output()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.