/
localcommands.tex
113 lines (101 loc) · 5.25 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
%add all your local new commands to this file
\newcommand{\smiley}{:)}
%Spitzmarken als spitzmarke
\def\spitzmarke{\paragraph*}
%Kein Abstand zwischen § und Abschnittsnummer
\renewcommand{\sectref}[1]{{\S}\ref{#1}}
%neuer Counter für Photofigure
\newcounter{photofigure}
%neue Umgebung für Photofigure
\newenvironment{photofigure}[1][]{\addtocounter{figure}{-1}\refstepcounter{photofigure}\renewcommand{\thefigure}{\thechapter.\arabic{photofigure}}\renewcommand{\figurename}{Photo}\begin{figure}[#1]}{\end{figure}}
%neuer Counter für Mapfigure
\newcounter{mapfigure}
%neue Umgebung für Mapfigure
\newenvironment{mapfigure}[1][]{\addtocounter{figure}{-1}\refstepcounter{mapfigure}\renewcommand{\thefigure}{\thechapter.\arabic{mapfigure}}\renewcommand{\figurename}{Map}\begin{figure}[#1]}{\end{figure}}
%am Kapitelanfang resetten:
\makeatletter
\@addtoreset{photofigure}{chapter}
\@addtoreset{mapfigure}{chapter}
\makeatother
%neuer Spaltentyp
\newcolumntype{Q}{>{\raggedright\arraybackslash}X}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{P}{>{\raggedright\hspace{0pt}\arraybackslash}p}
%Formatierung und Position der Nummer bei Tabellen in exe-Umgebung korrigieren
\def\extab{\ex\leavevmode\vadjust{\vspace{-\baselineskip}}\newline\normalfont}
%indexing commands
\newcommand{\iliArabic}{\ili{Arabic}\xspace}
\newcommand{\iliAustroAsiatic}{\ili{Austro-Asiatic}\xspace}
\newcommand{\iliBalti}{\ili{Balti}\xspace}
\newcommand{\iliBateri}{\ili{Bateri}\xspace}
\newcommand{\iliBrokskat}{\ili{Brokskat}\xspace}
\newcommand{\iliBurushaski}{\ili{Burushaski}\xspace}
\newcommand{\iliChilisso}{\ili{Chilisso}\xspace}
\newcommand{\iliChitral}{\ili{Chitral}\xspace}
\newcommand{\iliDameli}{\ili{Dameli}\xspace}
\newcommand{\iliDardic}{\ili{Dardic}\xspace}
\newcommand{\iliDravidian}{\ili{Dravidian}\xspace}
\newcommand{\iliEnglish}{\ili{English}\xspace}
\newcommand{\iliGandhari}{\ili{Gandhari}\xspace}
\newcommand{\iliGawarbati}{\ili{Gawarbati}\xspace}
\newcommand{\iliGawri}{\ili{Gawri}\xspace}
% \newcommand{\iliKalamKohistani}{Kalam Kohistani\il{Kohistani!Kalam Kohistani}\xspace}
% \newcommand{\iliDirKohistani}{Dir Kohistani\il{Kohistani!Dir Kohistani}\xspace}
\newcommand{\iliDirKohistani}{\il{Gawri}Dir Kohistani\xspace} %unifying to Gawri
\newcommand{\iliKalamKohistani}{\il{Gawri}Kalam Kohistani\xspace} %unifying to Gawri
\newcommand{\iliBashkarik}{\il{Gawri}Bashkarik\xspace} %unifying to Gawri
\newcommand{\iliGojri}{\ili{Gojri}\xspace}
\newcommand{\iliGowro}{\ili{Gowro}\xspace}
\newcommand{\iliGrangali}{\ili{Grangali}\xspace}
\newcommand{\iliGujarati}{\ili{Gujarati}\xspace}
\newcommand{\iliIndoEuropean}{\ili{Indo-European}\xspace}
\newcommand{\iliIndoIranian}{\ili{Indo-Iranian}\xspace}
\newcommand{\iliIndusKohistani}{\il{Kohistani!Indus Kohistani}Indus Kohistani\xspace}
\newcommand{\iliKalasha}{\ili{Kalasha}\xspace}
\newcommand{\iliKalkoti}{\ili{Kalkoti}\xspace}
\newcommand{\iliKashmiri}{\ili{Kashmiri}\xspace}
\newcommand{\iliKatarqalai}{\ili{Katarqalai}\xspace}
\newcommand{\iliKati}{\ili{Kati}\xspace}
\newcommand{\iliKhowar}{\ili{Khowar}\xspace}
\newcommand{\iliKundalShahi}{\ili{Kundal Shahi}\xspace}
\newcommand{\iliNuristani}{\ili{Nuristani}\xspace}
\newcommand{\iliPamir}{\ili{Pamir}\xspace}
\newcommand{\iliPashai}{\ili{Pashai}\xspace}
\newcommand{\iliPashto}{\ili{Pashto}\xspace}
\newcommand{\iliPechKunar}{\ili{Pech-Kunar}\xspace}
\newcommand{\iliPech}{\ili{Pech}\xspace}
\newcommand{\iliKunar}{\ili{Kunar}\xspace}
\newcommand{\iliPersian}{\ili{Persian}\xspace}
\newcommand{\iliFarsi}{\ili{Farsi}\xspace}
\newcommand{\iliPrakrit}{\ili{Prakrit}\xspace}
\newcommand{\iliPunjabi}{\ili{Punjabi}\xspace}
\newcommand{\iliSawi}{\ili{Sawi}\xspace}
\newcommand{\iliSauji}{Sauji\il{Sawi}\xspace}
\newcommand{\iliKamviri}{\ili{Kamviri}\xspace}
\newcommand{\iliShekhani}{\il{Kamviri}Shekhani\xspace}
\newcommand{\iliShekhwar}{\il{Kamviri}Shekhwar\xspace}
\newcommand{\iliShina}{\ili{Shina}\xspace}
\newcommand{\iliShumashti}{\ili{Shumashti}\xspace}
\newcommand{\iliSinhalese}{\ili{Sinhalese}\xspace}
\newcommand{\iliSiraiki}{\ili{Siraiki}\xspace}
\newcommand{\iliTibetan}{\ili{Tibetan}\xspace}
\newcommand{\iliTibetoBurman}{\ili{Tibeto-Burman}\xspace}
\newcommand{\iliTirahi}{\ili{Tirahi}\xspace}
\newcommand{\iliTorwali}{\ili{Torwali}\xspace}
\newcommand{\iliTurkic}{\ili{Turkic}\xspace}
\newcommand{\iliUrduHindi}{\ili{Urdu-Hindi}\xspace}
\newcommand{\iliUrdu}{Urdu\il{Urdu-Hindi}\xspace}
\newcommand{\iliUshojo}{\ili{Ushojo}\xspace}
\newcommand{\iliHindukushIndoAryan}{\il{Indo-Aryan!Hindukush Indo-Aryan}Hindukush Indo-Aryan\xspace}
\newcommand{\iliHKIA}{\il{Indo-Aryan!Hindukush Indo-Aryan}HKIA\xspace}
\newcommand{\iliMiddleIndoAryan}{Middle Indo-Aryan\il{Indo-Aryan!Middle Indo-Aryan}\xspace}
\newcommand{\iliMIA}{\il{Indo-Aryan!Middle Indo-Aryan}MIA\xspace}
\newcommand{\iliNewIndoAryan}{\il{Indo-Aryan!New Indo-Aryan}New Indo-Aryan\xspace}
\newcommand{\iliNIA}{\il{Indo-Aryan!New Indo-Aryan}NIA\xspace}
\newcommand{\iliOldIndoAryan}{\il{Old Indo-Aryan}Indo-Aryan\xspace}
\newcommand{\iliOIA}{\il{Indo-Aryan!Old Indo-Aryan}OIA\xspace}
\newcommand{\iliKohistani}{\ili{Kohistani}\xspace}
\newcommand{\iliIndoAryan}{\ili{Indo-Aryan}\xspace}
\newcommand{\iliKunargroup}{\il{Kunar}Kunar group\xspace}
\newcommand{\iliPamirgroup}{\il{Pamir}Pamir group\xspace}
\newcommand{\iliChitralgroup}{\il{Chitral}Chitral group\xspace}