Closed yihui closed 5 years ago
Here is the related PR. In short, people can attach required latex packages using the following syntax.
extra_dependencies: ["multirow", "threeparttable"]
extra_dependencies:
hyperref: ["unicode=true", "breaklinks=true"]
lmodern: null
I have added the first version of this section here 3f120e550e8186855ff15d87ca49d83229bf1465
https://dr-harper.github.io/rmarkdown-cookbook/include-additional-latex-packages.html
I have started to provide a list of packages which may be useful for R Markdown documents. I can see this expanding into its own section with some more examples on their use. Any suggestions for useful packages are welcome!
I guess not many people are aware of the
extra_dependencies
argument. It is a much more compact way of using extra LaTeX packages inpdf_document()
.