Skip to content

Commit 15ad279

Browse files
author
luifrancgom
committed
update template.tex to sincronyze with quarto-cli repository
1 parent 7943299 commit 15ad279

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

partials/latex/template.tex

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
1212
$endif$
1313
\usepackage{amsmath,amssymb}
14+
$if(cancel)$
15+
\usepackage{cancel}
16+
$endif$
1417
$--
1518
$-- section numbering
1619
$--
@@ -24,6 +27,19 @@
2427
$common.latex()$
2528
$after-header-includes.latex()$
2629
$hypersetup.latex()$
30+
$if(pdf-trailer-id)$
31+
32+
\ifXeTeX
33+
\special{pdf:trailerid [ $pdf-trailer-id$ ]}
34+
\fi
35+
\ifPDFTeX
36+
\pdftrailerid{}
37+
\pdftrailer{/ID [ $pdf-trailer-id$ ]}
38+
\fi
39+
\ifLuaTeX
40+
\pdfvariable trailerid {[ $pdf-trailer-id$ ]}
41+
\fi
42+
$endif$
2743
2844
$before-title.tex()$
2945
@@ -41,6 +57,9 @@
4157
$if(linestretch)$
4258
\setstretch{$linestretch$}
4359
$endif$
60+
$-- $if(has-frontmatter)$
61+
$-- \mainmatter
62+
$-- $endif$
4463
$body$
4564

4665
$before-bib.tex()$

0 commit comments

Comments
 (0)