Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/resources/formats/pdf/pandoc/title.tex
12923 views
1
$if(title)$
2
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
3
$endif$
4
$if(subtitle)$
5
\usepackage{etoolbox}
6
\makeatletter
7
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
8
\apptocmd{\@title}{\par {\large #1 \par}}{}{}
9
}
10
\makeatother
11
\subtitle{$subtitle$}
12
$endif$
13
$-- This supports Quarto's authors normalization
14
\author{$for(authors)$$it.name.literal$$sep$ \and $endfor$}
15
\date{$date$}
16