summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/langsci/examples/samplemonograph.tex
blob: f1896c4ce01719ffc6eea63b0fc0b0e43836947a (plain)
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
\documentclass{./langscibook}
\author{Pat Jaeung}
\title{Sample monograph}
\subtitle{}

\renewcommand{\lsSeries}{cfls}
\renewcommand{\lsSeriesNumber}{123}
\renewcommand{\lsISBNdigital}{000-0-000000-00-0}
\renewcommand{\lsISBNhardcover}{000-0-000000-00-0}
\renewcommand{\lsISBNsoftcover}{000-0-000000-00-0}
\renewcommand{\lsID}{000}
% \BookDOI{}%ask coordinator for DOI

\dedication{For Mom and Dad}
\typesetter{Jane Doe}
\proofreader{John Doe}
\BackBody{What everyone should know about monographs: it's here}

\bibliography{langsci-test}
\begin{document}
\maketitle
\frontmatter
\currentpdfbookmark{Contents}{name} % adds a PDF bookmark
\tableofcontents
\mainmatter
\chapter{Introduction}
This is the introduction.
\chapter{New research}
This is the main argument \citep{Chomsky1957}.
\chapter{Conclusion}
This is the conclusion.

\backmatter
\sloppy
\phantomsection%this allows hyperlink in ToC to work
\printbibliography[heading=references]
\cleardoublepage

\phantomsection
\addcontentsline{toc}{chapter}{Index}
\addcontentsline{toc}{section}{Name index}
\ohead{Name index}
\printindex
\cleardoublepage

\phantomsection
\addcontentsline{toc}{section}{Language index}
\ohead{Language index}
\printindex[lan]
\cleardoublepage

\phantomsection
\addcontentsline{toc}{section}{Subject index}
\ohead{Subject index}
\printindex[sbj]
\ohead{}

\end{document}