-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.tex
55 lines (42 loc) · 975 Bytes
/
common.tex
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
\ifx\c@authorfn\undefined{}
\newcounter{authorfn}
\setcounter{authorfn}{1}
\newcommand{\authfn}[1]{%
\fnsymbolmult{\numexpr\value{authorfn}+#1}%
}
\else
\fi
\def\@correspondence{}
\def\@contribution{}
\def\@presentaddress{}
\def\@deceased{}
\ifx\c@correspondence\undefined{}
\newcommand{\corr}[2]{%
\ifx\empty\@correspondence\else\appto{\@correspondence}{; }{}{}\fi
\appto{\@correspondence}{%
\url{#1}%
\ifx\empty#2\else\space(#2)\fi
}{}{}%
}
\fi
\ifx\c@contribution\undefined{}
\newcommand{\contrib}[2][]{
\appto{\@contribution}{%
\ifx\empty#1\else\textsuperscript{#1}\fi
#2\\
}{}{}
}
\fi
\ifx\c@presentaddress\undefined{}
\newcommand{\presentadd}[2][]{
\ifx\empty\@presentaddress\else\appto{\@presentaddress}{; }{}{}\fi
\appto{\@presentaddress}{%
\ifx\empty#1\else\textsuperscript{#1}\fi
#2%
}{}{}
}
\fi
\ifx\c@deceased\undefined{}
\newcommand{\deceased}[1]{\def\@deceased{\textsuperscript{#1}Deceased}}
\fi
\reversemarginpar