-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtitle.tex
More file actions
35 lines (26 loc) · 881 Bytes
/
title.tex
File metadata and controls
35 lines (26 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$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 #1 \par}}{}{}
}
\makeatother
\subtitle{$subtitle$}
$endif$
$for(by-author)$
\author[$for(by-author.affiliations)$$it.number$$sep$,$endfor$$if(by-author.attributes.corresponding)$*$endif$]{$by-author.name.literal$}
$endfor$
$for(by-affiliation)$
\affil[$it.number$]{
$if(it.department)$$it.department$, $endif$$it.name$$if(it.address)$, $it.address$$endif$$if(it.city)$, $it.city$$endif$$if(it.postal-code)$ $it.postal-code$$endif$$if(it.country)$, $it.country$$endif$
}
$endfor$
$for(by-author)$
$if(by-author.attributes.corresponding)$
\affil[*]{Corresponding author: \href{mailto:$by-author.email$}{$by-author.email$}}
$endif$
$endfor$
\date{$date$}