drwater/dwms/partials/title.tex

16 lines
430 B
TeX

$if(title)$
\title{$title$$if(thanks)$\thanks{$thanks$}$endif$}
$endif$
$if(subtitle)$
\usepackage{etoolbox}
\makeatletter
\providecommand{\subtitle}[1]{% add subtitle to \maketitle
\apptocmd{\@title}{\par {\large\sffamily\bfseries #1 \par}}{}{}
}
\makeatother
\subtitle{$subtitle$}
$endif$
$-- This supports Quarto's authors normalization
\author{$for(authors)$\footnotesize $it.name.literal$$sep$ \and $endfor$}
\date{$date$}