aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-02-21 09:54:44 +0100
committerJonas Smedegaard <dr@jones.dk>2024-02-21 10:40:43 +0100
commit361cf66560bd22e692b8f2add5e32e375cfec866 (patch)
tree39e7dc1d8ce6293401d24e38bf4eb0eb249dda78
parent4bfbbf1bac1fe3765fae3d27c4e0eaa7d66a758e (diff)
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 ```
-rw-r--r--_report.yml1
-rw-r--r--_templates/doc-class.tex20
2 files changed, 21 insertions, 0 deletions
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