diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-02-13 12:37:11 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-02-13 13:48:29 +0100 |
commit | aac88c8bfd610b97914d35eb1dccf9b250cecb43 (patch) | |
tree | bdb875af0ca7ce90df8b9cf9e137e4e8fafb51d8 /title.tex | |
parent | 8647bf18dc3244885683f283a07b7cb23729f30c (diff) |
localize TeX template title.tex
```
cp /opt/quarto/share/formats/pdf/pandoc/title.tex .
```
or
```
curl -O title.tex https://github.com/quarto-dev/quarto-cli/raw/main/src/resources/formats/pdf/pandoc/title.tex
```
Diffstat (limited to 'title.tex')
-rw-r--r-- | title.tex | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/title.tex b/title.tex new file mode 100644 index 0000000..540a370 --- /dev/null +++ b/title.tex @@ -0,0 +1,28 @@ +$if(title)$ +\title{$title$$if(thanks)$\thanks{$thanks$}$endif$} +$endif$ +$if(subtitle)$ +$if(beamer)$ +$else$ +\usepackage{etoolbox} +\makeatletter +\providecommand{\subtitle}[1]{% add subtitle to \maketitle + \apptocmd{\@title}{\par {\large #1 \par}}{}{} +} +\makeatother +$endif$ +\subtitle{$subtitle$} +$endif$ +\author{$for(authors)$$it.name.literal$$sep$ \and $endfor$} +\date{$date$} +$if(beamer)$ +$if(institute)$ +\institute{$for(institute)$$institute$$sep$ \and $endfor$} +$endif$ +$if(titlegraphic)$ +\titlegraphic{\includegraphics{$titlegraphic$}} +$endif$ +$if(logo)$ +\logo{\includegraphics{$logo$}} +$endif$ +$endif$
\ No newline at end of file |