/
localpackages.tex
219 lines (130 loc) · 4.81 KB
/
localpackages.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
\usepackage{csquotes}
% loaded in book class 2021
% http://tex.stackexchange.com/questions/38607/no-room-for-a-new-dimen
% \usepackage{etex}\reserveinserts{28}
\usepackage{eurosym} % should go once Berthold fixes unicode
% Haitao Liu
\usepackage{xeCJK}
%\setCJKmainfont{SimSun}
\setCJKmainfont[Scale=MatchUppercase,
Path=fonts/
]{SourceHanSerifSC-Regular}
\hypersetup{bookmarksopenlevel=0}
%% now loaded by the langsci class
%% \iftoggle{draft}{
%% \usepackage{todonotes}
%% }{
%% \usepackage[disable]{todonotes}
%% }
\usepackage{todonotes}
%\newcommand{\addpages}{\todostefan{add pages}}
\iftoggle{draft}{}{
\presetkeys{todonotes}{disable}{}
}
\usepackage{metalogo} % xelatex
\usepackage{multicol}
\usepackage{bookmark}
\usepackage{styles/my-ccg-ohne-colortbl}
% This has side effects on my-ccg commands do no know why
%\usepackage{./langsci/langsci-optional}
% used to be in this package
\providecommand{\citegen}{}
\renewcommand{\citegen}[2][]{\citeauthor{#2}'s (\citeyear*[#1]{#2})}
\providecommand{\lsptoprule}{}
\renewcommand{\lsptoprule}{\midrule\toprule}
\providecommand{\lspbottomrule}{}
\renewcommand{\lspbottomrule}{\bottomrule\midrule}
\providecommand{\largerpage}{}
\renewcommand{\largerpage}[1][1]{\enlargethispage{#1\baselineskip}}
\usepackage{./styles/biblatex-series-number-checks}
\providecommand{\tablevspace}{}
% vertical space to structure tables
\renewcommand{\tablevspace}{\\[-.5em]}
\usepackage{./styles/oneline}
\usepackage{langsci-branding}
%\usepackage[danger]{langsci-lgr}
\usepackage{langsci-lgr}
\newcommand{\nom}{\NOM}
\newcommand{\gen}{\GEN}
\newcommand{\dat}{\DAT}
\newcommand{\acc}{\ACC}
\usepackage{graphicx}
\usepackage{lastpage,float,soul,tabularx}
\usepackage{./styles/mycommands}% \spacebr
% still needed
% for direction of government examples
% for CoreGram classes
% and one \Tree in mts.tex
\usepackage{tikz-qtree}
\usepackage{langsci-gb4e}
% not needed as of texlive 2020
%\usepackage{jambox}
\usepackage{subfig}
%\renewcommand{\xbar}{X̅\xspace}
% for reasons I do not understand this cannot be moved further down and
% the loading of forest further down cannot be removed. St. Mü. 26.01.2017
% It breaks the dependency grammar trees in forest.
\usepackage{langsci-forest-setup}
\forestset{
terminus/.style={tier=word, for children={tier=tabular}, for tree={fit=band}, for descendants={no path, align=left, l sep=0pt}},
sn edges original/.style={for tree={parent anchor=south, child anchor=north,align=center,base=top}},
no path/.style={edge path={}},
set me left/.style={calign with current edge, child anchor=north west, for parent={parent anchor=south west}},
}
% has to be loaded after forest-setup because of incompatibilities with the dg-style.
% sorry folks, this has to be loaded. All this babel-shorthands stuff is way too complicated and
% does not work for my abbreviations. It does not work in bibtex items since it is language dependent.
\usepackage{german}\selectlanguage{USenglish}
\usepackage{styles/merkmalstruktur,styles/abbrev,styles/makros.2e,styles/my-xspace,styles/article-ex,styles/additional-langsci-index-shortcuts,
styles/eng-date,styles/my-theorems}
% loaded in macros.2e \usepackage[english]{varioref}
% do not stop and warn! This will be tested in the final version
\vrefwarning
\setcounter{secnumdepth}{4}
\usepackage{styles/dgmacros,pst-tree,styles/trees,styles/dalrymple} % Mary Dalrymples macros
%\nodemargin5pt%\treelinewidth2pt\arrowwidth6pt\arrowlength10pt
\psset{nodesep=5pt} %,linewidth=0.8pt,arrowscale=2}
\psset{linewidth=0.5pt}
%%% trick for using adjustbox
\let\pstricksclipbox\clipbox
\let\clipbox\relax
% http://tex.stackexchange.com/questions/206728/aligning-several-forest-trees-in-centered-way/206731#206731
% for aligning TAG trees
\usepackage[export]{adjustbox}
% draw a grid for getting the coordinates
\usepackage{styles/tikz-grid}
% for offsets in trees
\newlength{\offset}
\newlength{\offsetup}
\ifxetex
\usepackage{styles/eng-hyp-utf8}
\else
\usepackage{styles/eng-hyp}
\fi
\usepackage{appendix}
% adds lines to both the odd and even page.
% bloddy hell! This is really an alpha package! Do not use the draft option! 07.03.2016
\usepackage{addlines}
%% \let\addlinesold=\addlines
%% % there is one optional argument. Second element in brackets is the default
%% \renewcommand{\addlines}[1][1]{
%% \todosatz{addlines}
%% \addlinesold[#1]
%% }
% do nothing now
%\let\addlinesold=\addlines
%\renewcommand{\addlines}[1][1]{}
% for addlines to work
\strictpagecheck
% http://tex.stackexchange.com/questions/3223/subscripts-for-primed-variables
%
% to get
% {}[ af [~]\sub{V} ]\sub{V$'$}
%
% typeset properly. Thanks, Sebastian.
%
\usepackage{subdepth}
%\usepackage{caption}
\usepackage[tcolorbox]{langsci-tbls}
% do not need identation for enumerate since we are in a box anyway.
\usepackage{enumitem}