summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/langsci/examples/samplemonograph.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/xetex/latex/langsci/examples/samplemonograph.tex')
-rw-r--r--macros/xetex/latex/langsci/examples/samplemonograph.tex48
1 files changed, 23 insertions, 25 deletions
diff --git a/macros/xetex/latex/langsci/examples/samplemonograph.tex b/macros/xetex/latex/langsci/examples/samplemonograph.tex
index 19d39e976c..f1896c4ce0 100644
--- a/macros/xetex/latex/langsci/examples/samplemonograph.tex
+++ b/macros/xetex/latex/langsci/examples/samplemonograph.tex
@@ -1,30 +1,28 @@
-\documentclass{langscibook}
+\documentclass{./langscibook}
\author{Pat Jaeung}
\title{Sample monograph}
-\Series{cfls}
-\SeriesNumber{99}
+\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{\lsURL}{http://langsci-press.org/catalog/book/000}
+\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}
+\BackBody{What everyone should know about monographs: it's here}
\bibliography{langsci-test}
-\begin{document}
-\maketitle
+\begin{document}
+\maketitle
\frontmatter
\currentpdfbookmark{Contents}{name} % adds a PDF bookmark
\tableofcontents
-% \include{chapters/preface}
-% \include{chapters/acknowledgments}
-% \include{chapters/abbreviations}
-\mainmatter
+\mainmatter
\chapter{Introduction}
This is the introduction.
\chapter{New research}
@@ -35,26 +33,26 @@ This is the conclusion.
\backmatter
\sloppy
\phantomsection%this allows hyperlink in ToC to work
-\printbibliography[heading=references]
+\printbibliography[heading=references]
\cleardoublepage
-\phantomsection
-\addcontentsline{toc}{chapter}{Index}
+\phantomsection
+\addcontentsline{toc}{chapter}{Index}
\addcontentsline{toc}{section}{Name index}
-\ohead{Name index}
-\printindex
+\ohead{Name index}
+\printindex
\cleardoublepage
-
-\phantomsection
+
+\phantomsection
\addcontentsline{toc}{section}{Language index}
-\ohead{Language index}
-\printindex[lan]
+\ohead{Language index}
+\printindex[lan]
\cleardoublepage
-
-\phantomsection
+
+\phantomsection
\addcontentsline{toc}{section}{Subject index}
-\ohead{Subject index}
+\ohead{Subject index}
\printindex[sbj]
-\ohead{}
+\ohead{}
-\end{document} \ No newline at end of file
+\end{document}