-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
94 lines (79 loc) · 2.74 KB
/
main.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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% Language Science Press Master File %%%
%%% follow the instructions below %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Everything following a % is ignored
% Some lines start with %. Remove the % to include them
\documentclass[output=book,
nonflat,
modfonts,
% colorlinks,citecolor=brown,
%draft,
% draftmode,
% showindex,
newtxmath,
arseneau
% multiauthors,
% nobabel
]{langsci/langscibook}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% additional packages %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% put all additional commands you need in the
% following files. {I}f you do not know what this might
% mean, you can safely ignore this section
\input{localmetadata.tex}
\input{localpackages.tex}
\input{localhyphenation.tex}
\bibliography{localbibliography}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% Frontmatter %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % % \includeonly{chapters/05}
\begin{document}
\input{localcommands.tex}
\maketitle
\frontmatter
% %% uncomment if you have preface and/or acknowledgements
\currentpdfbookmark{Contents}{name} % adds a PDF bookmark
{\sloppy\tableofcontents\largerpage}
% \include{chapters/preface}
% \include{chapters/acknowledgments}
\include{chapters/abbreviations}
\mainmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% Chapters %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{chapters/01}
\include{chapters/02}
\include{chapters/03}
\include{chapters/04}
\include{chapters/05}
\appendix
\include{chapters/appendix}
\include{chapters/appendix2}
\include{chapters/appendix3}
% % copy the lines above and adapt as necessary
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% %%%
%%% Backmatter %%%
%%% %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{localseealso.tex}
\sloppy
\input{backmatter.tex}
\end{document}
% you can create your book by running
% xelatex main.tex
%
% you can also try a simple
% make
% on the commandline