diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-07-18 22:36:42 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-07-18 22:36:42 -0700 |
commit | 24f4d37ebca7a94f5d6110af60f3fbc8f660918b (patch) | |
tree | 4da6a2385f3c9171476467584e943f5d8046fd0c /default.latex | |
parent | 4aeaa585b7351ee2490d5721dc199dd3e225ba71 (diff) | |
download | pandoc-templates-24f4d37ebca7a94f5d6110af60f3fbc8f660918b.tar.gz pandoc-templates-24f4d37ebca7a94f5d6110af60f3fbc8f660918b.zip |
Updated templates for pandoc 2.14.1
Diffstat (limited to 'default.latex')
-rw-r--r-- | default.latex | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/default.latex b/default.latex index 60f9972..d067016 100644 --- a/default.latex +++ b/default.latex | |||
@@ -36,35 +36,6 @@ $for(classoption)$ | |||
36 | $classoption$$sep$, | 36 | $classoption$$sep$, |
37 | $endfor$ | 37 | $endfor$ |
38 | ]{$documentclass$} | 38 | ]{$documentclass$} |
39 | $if(title)$ | ||
40 | \title{$title$$if(thanks)$\thanks{$thanks$}$endif$} | ||
41 | $endif$ | ||
42 | $if(subtitle)$ | ||
43 | $if(beamer)$ | ||
44 | $else$ | ||
45 | \usepackage{etoolbox} | ||
46 | \makeatletter | ||
47 | \providecommand{\subtitle}[1]{% add subtitle to \maketitle | ||
48 | \apptocmd{\@title}{\par {\large #1 \par}}{}{} | ||
49 | } | ||
50 | \makeatother | ||
51 | $endif$ | ||
52 | \subtitle{$subtitle$} | ||
53 | $endif$ | ||
54 | \author{$for(author)$$author$$sep$ \and $endfor$} | ||
55 | \date{$date$} | ||
56 | $if(beamer)$ | ||
57 | $if(institute)$ | ||
58 | \institute{$for(institute)$$institute$$sep$ \and $endfor$} | ||
59 | $endif$ | ||
60 | $if(titlegraphic)$ | ||
61 | \titlegraphic{\includegraphics{$titlegraphic$}} | ||
62 | $endif$ | ||
63 | $if(logo)$ | ||
64 | \logo{\includegraphics{$logo$}} | ||
65 | $endif$ | ||
66 | $endif$ | ||
67 | |||
68 | $if(beamer)$ | 39 | $if(beamer)$ |
69 | $if(background-image)$ | 40 | $if(background-image)$ |
70 | \usebackgroundtemplate{% | 41 | \usebackgroundtemplate{% |
@@ -452,6 +423,35 @@ $if(csquotes)$ | |||
452 | \usepackage{csquotes} | 423 | \usepackage{csquotes} |
453 | $endif$ | 424 | $endif$ |
454 | 425 | ||
426 | $if(title)$ | ||
427 | \title{$title$$if(thanks)$\thanks{$thanks$}$endif$} | ||
428 | $endif$ | ||
429 | $if(subtitle)$ | ||
430 | $if(beamer)$ | ||
431 | $else$ | ||
432 | \usepackage{etoolbox} | ||
433 | \makeatletter | ||
434 | \providecommand{\subtitle}[1]{% add subtitle to \maketitle | ||
435 | \apptocmd{\@title}{\par {\large #1 \par}}{}{} | ||
436 | } | ||
437 | \makeatother | ||
438 | $endif$ | ||
439 | \subtitle{$subtitle$} | ||
440 | $endif$ | ||
441 | \author{$for(author)$$author$$sep$ \and $endfor$} | ||
442 | \date{$date$} | ||
443 | $if(beamer)$ | ||
444 | $if(institute)$ | ||
445 | \institute{$for(institute)$$institute$$sep$ \and $endfor$} | ||
446 | $endif$ | ||
447 | $if(titlegraphic)$ | ||
448 | \titlegraphic{\includegraphics{$titlegraphic$}} | ||
449 | $endif$ | ||
450 | $if(logo)$ | ||
451 | \logo{\includegraphics{$logo$}} | ||
452 | $endif$ | ||
453 | $endif$ | ||
454 | |||
455 | \begin{document} | 455 | \begin{document} |
456 | $if(has-frontmatter)$ | 456 | $if(has-frontmatter)$ |
457 | \frontmatter | 457 | \frontmatter |