summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/langsci/examples/samplemonograph.tex
blob: 19d39e976ce2fa1ce9349fd4e95b8ffc2028d32d (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
59
60
\documentclass{langscibook}    
\author{Pat Jaeung}
\title{Sample monograph}
\Series{cfls}
\SeriesNumber{99} 

\renewcommand{\lsISBNdigital}{000-0-000000-00-0}
\renewcommand{\lsISBNhardcover}{000-0-000000-00-0}
\renewcommand{\lsISBNsoftcover}{000-0-000000-00-0}
\renewcommand{\lsURL}{http://langsci-press.org/catalog/book/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
% \include{chapters/preface}
% \include{chapters/acknowledgments}
% \include{chapters/abbreviations} 
\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}