Open ygalanak opened 2 years ago
Sort-of. You can tell rmarkdown
to include a header (with anything latex lets you do), you can also add commands in the yaml. Using the former approach I just replace the output: linl::linl
with
output:
linl::linl:
includes:
in_header: myheader.tex
and in myheader.tex
used
\usepackage[scaled=0.92]{helvet}
\usepackage[T1]{fontenc}
\renewcommand\familydefault{\sfdefault}
to obtain a letter with serifs:
We could probably follow other rmarkdown
packages and pick it up from the YAML header but nobody has sat down to do it yet.
Is there an option to choose a custom font?