summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/langsci/examples
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-09 22:48:39 +0000
committerKarl Berry <karl@freefriends.org>2016-05-09 22:48:39 +0000
commitcbd3e24dcb33168b84997f50d2e0b47548e22659 (patch)
tree697ce1e123e1510fea87c18f57f31c552256bc67 /Master/texmf-dist/doc/xelatex/langsci/examples
parent0abdbd35737cbdc7690139a70e60024bb4481f3f (diff)
langsci (9may16)
git-svn-id: svn://tug.org/texlive/trunk@40984 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/langsci/examples')
-rw-r--r--Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex62
-rw-r--r--Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex50
-rw-r--r--Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex63
3 files changed, 175 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex b/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex
new file mode 100644
index 00000000000..5cc60836589
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex
@@ -0,0 +1,62 @@
+\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}
+
+\setlength{\csspine}{25.0559784mm}
+\setlength{\bodspine}{20mm}
+
+\bibliography{localbibliography}
+\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.
+\chapter{Conclusion}
+This is the conclusion.
+
+\backmatter
+\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} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex b/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex
new file mode 100644
index 00000000000..153bd5c6303
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex
@@ -0,0 +1,50 @@
+\documentclass[output=paper]{langscibook}
+\title{Introduction}
+\author{%
+ Chap ter Author\affiliation{University of Eden}
+ \and
+ Noam Chimpsky\affiliation{University of Pluto}
+ \lastand
+ Jane Wilson\affiliation{National Institute for Language}
+}
+% \chapterDOI{} %will be filled in at production
+
+% \epigram{}
+
+\abstract{
+Abstract goes here
+}
+
+\begin{document}
+
+\maketitle
+\section{Introduction}
+Phasellus maximus erat ligula, accumsan rutrum augue facilisis in. Proin sit amet pharetra nunc, sed maximus erat. Duis egestas mi eget purus venenatis vulputate vel quis nunc. Nullam volutpat facilisis tortor, vitae semper ligula dapibus sit amet. Suspendisse fringilla, quam sed laoreet maximus, ex ex placerat ipsum, porta ultrices mi risus et lectus. Maecenas vitae mauris condimentum justo fringilla sollicitudin. Fusce nec interdum ante. Curabitur tempus dui et orci convallis molestie \citep{Chomsky1957}.
+
+
+
+Sed nisi urna, dignissim sit amet posuere ut, luctus ac lectus. Fusce vel ornare nibh. Nullam non sapien in tortor hendrerit suscipit. Etiam sollicitudin nibh ligula. Praesent dictum gravida est eget maximus. Integer in felis id diam sodales accumsan at at turpis. Maecenas dignissim purus non libero scelerisque porttitor. Integer porttitor mauris ac nisi iaculis molestie. Sed nec imperdiet orci. Suspendisse sed fringilla elit, non varius elit. Sed varius nisi magna, at efficitur orci consectetur a. Cras consequat mi dui, et cursus lacus vehicula vitae. Pellentesque sit amet justo sed lectus luctus vehicula. Suspendisse placerat augue eget felis sagittis placerat.
+
+
+\begin{table}
+\caption{Frequencies of word classes}
+\label{tab:1:frequencies}
+ \begin{tabular}{lllll}
+ \lsptoprule
+ & nouns & verbs & adjectives & adverbs\\
+ \midrule
+ absolute & 12 & 34 & 23 & 13\\
+ relative & 3.1 & 8.9 & 5.7 & 3.2\\
+ \lspbottomrule
+ \end{tabular}
+\end{table}
+
+
+Sed cursus eros condimentum mi consectetur, ac consectetur sapien pulvinar. Sed consequat, magna eu scelerisque laoreet, ante erat tristique justo, nec cursus eros diam eu nisl. Vestibulum non arcu tellus. Nunc dignissim tristique massa ut gravida. Nullam auctor orci gravida tellus egestas, vitae pharetra nisl porttitor. Pellentesque turpis nulla, venenatis id porttitor non, volutpat ut leo. Etiam hendrerit scelerisque luctus. Nam sed egestas est. Suspendisse potenti. Nunc vestibulum nec odio non laoreet. Proin lacinia nulla lectus, eu vehicula erat vehicula sed.
+
+\section*{Abbreviations}
+\section*{Acknowledgements}
+
+\printbibliography[heading=subbibliography,notkeyword=this]
+
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex b/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex
new file mode 100644
index 00000000000..e912be8bcad
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex
@@ -0,0 +1,63 @@
+\documentclass[output=book
+ ,collection
+ ,collectionchapter
+ ,collectiontoclongg
+ ,biblatex
+ ]{langscibook}
+
+\author{Jane Doe}
+\title{Sample edited volume}
+\subtitle{Including sample chapter}
+\Series{cfls}
+\SeriesNumber{42}
+
+\renewcommand{\lsISBNdigital}{000-0-000000-00-0}
+\renewcommand{\lsISBNhardcover}{000-0-000000-00-0}
+\renewcommand{\lsISBNsoftcover}{000-0-000000-00-0}
+% \BookDOI{}%ask coordinator for DOI
+\renewcommand{\lsURL}{http://langsci-press.org/catalog/book/000}
+
+\dedication{For Mom and Dad}
+\typesetter{Jane Doe}
+\proofreader{John Doe}
+\BackBody{What everyone should know about edited volumes: it's here}
+
+
+\setlength{\csspine}{25.0559784mm}
+\setlength{\bodspine}{20mm}
+
+\bibliography{localbibliography}
+\begin{document}
+\maketitle
+\frontmatter
+\currentpdfbookmark{Contents}{name} % adds a PDF bookmark
+\tableofcontents
+% \include{preface}
+% \include{acknowledgments}
+
+\mainmatter
+\includepaper{samplepaper}
+
+\backmatter
+\phantomsection%this allows hyperlink in ToC to work
+\addcontentsline{toc}{chapter}{Indexes}
+
+\phantomsection%this allows hyperlink in ToC to work
+\addcontentsline{toc}{section}{Name index}
+\ohead{Name index}
+\printindex
+\cleardoublepage
+
+\phantomsection%this allows hyperlink in ToC to work
+\addcontentsline{toc}{section}{Language index}
+\ohead{Language index}
+\printindex[lan]
+\cleardoublepage
+
+\phantomsection%this allows hyperlink in ToC to work
+\addcontentsline{toc}{section}{Subject index}
+\ohead{Subject index}
+\printindex[sbj]
+\cleardoublepage
+
+\end{document} \ No newline at end of file