summaryrefslogtreecommitdiff
path: root/_templates
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 /_templates
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 ```
Diffstat (limited to '_templates')
-rw-r--r--_templates/doc-class.tex20
1 files changed, 20 insertions, 0 deletions
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