-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocalcommands.tex
49 lines (44 loc) · 1.56 KB
/
localcommands.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
\makeatletter
\let\thetitle\@title
\let\theauthor\@author
\makeatother
% \newcommand{\togglepaper}[1][0]{
% \bibliography{../localbibliography}
% \papernote{\scriptsize\normalfont
% \theauthor.
% \titleTemp.
% To appear in:
% E. Di Tor \& Herr Rausgeberin (ed.).
% Booktitle in localcommands.tex.
% Berlin: Language Science Press. [preliminary page numbering]
% }
% \pagenumbering{roman}
% \setcounter{chapter}{#1}
% \addtocounter{chapter}{-1}
% }
\newbool{bookcompile}
\booltrue{bookcompile}
\newcommand{\bookorchapter}[2]{\ifbool{bookcompile}{#1}{#2}}
% ORCIDs in langsci-affiliations
\definecolor{orcidlogocol}{cmyk}{0,0,0,1}
\SetupAffiliations{orcid placement=before}
\RenewDocumentCommand{\LinkToORCIDinAffiliations}{ +m }
{%
\orcidlink{#1}\,%
}
\pgfplotsset{
/pgfplots/bar cycle list/.style={/pgfplots/cycle list={
{black,fill=black!90!white,mark=none},
{black!80,fill=black!60!white,mark=none},
{black!60,fill=black!10!white,mark=none},
},
},
}
\newcommand{\redcircle}{\includegraphics[width=1em]{figures/intro_r_circ.png}}
\newcommand{\bluediamond}{\includegraphics[width=1em]{figures/Intro_b_diam.png}}
\newcommand{\yellowtriangle}{\includegraphics[width=1em]{figures/intro_y_tria.png}}
\newcommand{\greenstar}{\includegraphics[width=1em]{figures/Intro_g_star.png}}
\newcommand{\purplepentagon}{\includegraphics[width=1em]{figures/Intro_p_pent.png}}
\newcommand{\violetcross}{\includegraphics[width=1em]{figures/intro_p_star.png}}
\renewcommand{\sectref}[1]{Section~\ref{#1}}
\newcommand{\isit}[1]{#1\is{#1}}