Custom-templates {tint} | R Documentation |
Custom document templates
Description
Using custom document templates
Details
If you want to make more significant changes to the document styles, you can make custom Pandoc templates, using the examples provided with this package.
You will need to have some expertise with LaTeX to do this, but you
can take the templates, such as tintPdf-template.tex
or tintBook-template.tex
, which you can locate on your computer with
system.file("rmarkdown", "templates", "tintPdf", "resources", "tintPdf-template.tex", package="tint")
and
system.file("rmarkdown", "templates", "tintBook", "resources", "tintBook-template.tex", package="tint")
Copy those files to the folder where your RMarkdown file is located and edit them and then
tell tint to use your custom template instead of its built-in ones by using
the YAML attribute template
in your output
block:
output: tint::tintPdf: template: "my-custom-template.tex"
See Also
[Package tint version 0.1.4 Index]