-
Notifications
You must be signed in to change notification settings - Fork 0
/
localcommands.tex
56 lines (40 loc) · 1.71 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
50
51
52
53
54
55
%add all your local new commands to this file
%% Numbers of Parts in Vol I
\newcommand*{\ptgeneral}{I}
\newcommand*{\ptafrica}{II}
\newcommand*{\ptnewguinea}{III}
\newcommand*{\ptsouthasia}{IV}
\newcommand*{\spterm}[1]{\textsc{#1}} % for special terms
\makeatletter
\def\blx@maxline{77}
\makeatother
% extra citation command for other chapters in the volume
\newcommand{\citealtv}[1]{\citeauthor{#1} \citeyear*{#1} [this volume]}
% extra citation commands for other chapters in the other volume
\newcommand{\citealtvo}[1]{\citeauthor{#1} \citeyear*{#1} [in Volume~II]}
\newcommand{\citetvo}[1]{\citeauthor{#1} (\citeyear*{#1} [in Volume~II])}
% publication year of the volume, used when citing other chapters in the volume
\newcommand*{\thisyear}{2019}
% For Don's tones (06.tex)
\newcommand*{\aMidLow}{a\hspace*{-.6mm}\textIPA{ ᷆}}
\newcommand*{\oMidLow}{o\hspace*{-.6mm}\textIPA{ ᷆}}
\newcommand*{\oMidHigh}{o\hspace*{.5mm}\textIPA{\char"1DC4}}
\newcommand*{\iLowMid}{ı\hspace*{.6mm}\textIPA{\char"1DC7}}
\newcommand*{\aLowMid}{a\hspace*{.4mm}\textIPA{\char"1DC7}}
% For Bruno's chapter
\newcommand{\mar}[1]{\mbox{\textit{#1}}}
\newcommand*{\GH}{ɣ}
% For Güldemann & Fiedler
% Sets length of connecting lines in gender diagrams
\newcommand*{\llen}{1.1cm}
% Adds some space between rows
\newcommand*{\padding}{\rule{0pt}{18pt}}
% create a command to place a tikz node (supply unique node name as the argument)
\newcommand*{\tknode}[1]{\tikz[remember picture]\node (#1) {};}
% coloured cell
\newcommand*{\emcell}{\cellcolor{gray!30}}
% cell with linebreak
\newcommand{\specialcell}[2][c]{%
\begin{tabular}[#1]{@{}l@{}}#2\end{tabular}}
\newcommand{\ilit}[1]{#1\il{#1}}
\newcommand{\keywords}[1]{\textbf{Keywords:} #1.}