Includes a labelled quote from a LaTeX document 'asis'.
quote_from_tex(
x,
file = paste0(rmarkdown::metadata[["manuscript-file"]], ".tex")
)
A character vector of LaTeX document text of class knit_asis
,
see knitr::asis_output()
.
Character. One or more quote labels.
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
.