From 361cf66560bd22e692b8f2add5e32e375cfec866 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 21 Feb 2024 09:54:44 +0100 Subject: localize TeX template doc-class.tex ``` cp /opt/quarto/share/formats/pdf/pandoc/doc-class.tex _templates/ ``` or ``` curl -O _templates/doc-class.tex https://github.com/quarto-dev/quarto-cli/raw/main/src/resources/formats/pdf/pandoc/doc-class.tex ``` --- _report.yml | 1 + _templates/doc-class.tex | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 _templates/doc-class.tex diff --git a/_report.yml b/_report.yml index 391f970..0797f3a 100644 --- a/_report.yml +++ b/_report.yml @@ -12,6 +12,7 @@ format: csquotes: true papersize: a4 template-partials: + - ../_templates/doc-class.tex - ../_templates/title.tex include-in-header: diff --git a/_templates/doc-class.tex b/_templates/doc-class.tex new file mode 100644 index 0000000..b276cee --- /dev/null +++ b/_templates/doc-class.tex @@ -0,0 +1,20 @@ +\documentclass[ +$if(fontsize)$ + $fontsize$, +$endif$ +$if(papersize)$ + $papersize$paper, +$endif$ +$if(beamer)$ + ignorenonframetext, +$if(handout)$ + handout, +$endif$ +$if(aspectratio)$ + aspectratio=$aspectratio$, +$endif$ +$endif$ +$for(classoption)$ + $classoption$$sep$, +$endfor$ +]{$documentclass$} \ No newline at end of file -- cgit v1.2.3