summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/langsci/examples
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-18 21:21:11 +0000
committerKarl Berry <karl@freefriends.org>2020-03-18 21:21:11 +0000
commit31a4495afa7a2bede260c99dd4eb3f4c98bd6b98 (patch)
tree7301d1c5cb62eec9c8890299986a3025fb0bd90e /Master/texmf-dist/doc/xelatex/langsci/examples
parent7bcf8fc0e79263863dba7a42c54a439d3064bc07 (diff)
langsci (18mar20)
git-svn-id: svn://tug.org/texlive/trunk@54393 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.tex48
-rw-r--r--Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex36
-rw-r--r--Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex42
3 files changed, 63 insertions, 63 deletions
diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex b/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex
index 19d39e976ce..f1896c4ce01 100644
--- a/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex
+++ b/Master/texmf-dist/doc/xelatex/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}
diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex b/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex
index 669d7ff12ef..f901301246c 100644
--- a/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex
+++ b/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex
@@ -1,20 +1,20 @@
-\documentclass[output=paper]{langscibook}
-\title{Introduction}
+\documentclass[output=paper]{langscibook}
+\title{Introduction}
\author{%
- Chap ter Author\affiliation{University of Eden}\and
- Noam Chimpsky\affiliation{University of Pluto}\lastand
+ Chap ter Author\affiliation{University of Eden}\and
+ Noam Chimpsky\affiliation{University of Pluto}\lastand
Jane Wilson\affiliation{National Institute for Language}
}
\abstract{
Abstract goes here
}
-% \bibliography{langsci-test}
-
-\IfFileExists{../samplevolume.tex}{%adjust to name of your master file
- \papernote{\scriptsize\normalfont
- To appear in:
- Change Volume Editor.
- Change volume title.
+
+\IfFileExists{../main.tex}{%adjust to name of your master file
+ \bibliography{langsci-test}
+ \papernote{\scriptsize\normalfont
+ To appear in:
+ Change Volume Editor.
+ Change volume title.
Berlin: Language Science Press. [preliminary page numbering]
}
\pagenumbering{roman}
@@ -22,23 +22,24 @@ Abstract goes here
\addtocounter{chapter}{-1}
}{}
+
\begin{document}
\maketitle
-\section{Introduction}
+\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.
+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}{lrrrr}
+ \begin{tabular}{lrrrr}
\lsptoprule
- & nouns & verbs & adjectives & adverbs\\
+ & nouns & verbs & adjectives & adverbs\\
\midrule
absolute & 12 & 34 & 23 & 13\\
relative & 3.1 & 8.9 & 5.7 & 3.2\\
@@ -47,11 +48,12 @@ Sed nisi urna, dignissim sit amet posuere ut, luctus ac lectus. Fusce vel ornare
\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.
+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}
+\sloppy
\printbibliography[heading=subbibliography,notkeyword=this]
-\end{document} \ No newline at end of file
+\end{document}
diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex b/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex
index 2671867c285..4132dff2a24 100644
--- a/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex
+++ b/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex
@@ -1,29 +1,29 @@
\documentclass[output=book
,collection
- ,collectionchapter
- ]{langscibook}
+ ,collectionchapter
+ ]{./langscibook}
\author{Jane Doe}
\title{Sample edited volume}
\subtitle{Including sample chapter}
\Series{cfls}
-\SeriesNumber{42}
+\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{\lsID}{000}
+\renewcommand{\lsID}{000}
\dedication{For Mom and Dad}
\typesetter{Jane Doe}
\proofreader{John Doe}
\BackBody{What everyone should know about edited volumes: it's here}
-
+
\bibliography{langsci-test}
-\begin{document}
-\maketitle
+\begin{document}
+\maketitle
\frontmatter
\currentpdfbookmark{Contents}{name} % adds a PDF bookmark
\tableofcontents
@@ -31,36 +31,36 @@
% \include{acknowledgments}
% %% Additional prefaces and/or introductions that also have authors
-% \lsCollectionPaperFrontmatterMode % Enter the Frontmatter Mode.
-% \includepaper{chapters/prefaceEd}
-% \lsCollectionPaperMainmatterMode % Leave the Frontmatter Mode
+% \lsCollectionPaperFrontmatterMode % Enter the Frontmatter Mode.
+% \includepaper{chapters/prefaceEd}
+% \lsCollectionPaperMainmatterMode % Leave the Frontmatter Mode
% \setcounter{chapter}{0} % Reset the chapter counter so that preceding prefaces are not counted
-\mainmatter
+\mainmatter
-\mainmatter
-\includepaper{samplepaper}
+\mainmatter
+\includepaper{samplepaper}
-\backmatter
+\backmatter
\phantomsection%this allows hyperlink in ToC to work
-\addcontentsline{toc}{chapter}{Indexes}
+\addcontentsline{toc}{chapter}{Indexes}
\phantomsection%this allows hyperlink in ToC to work
\addcontentsline{toc}{section}{Name index}
-\ohead{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]
+\ohead{Language index}
+\printindex[lan]
\cleardoublepage
\phantomsection%this allows hyperlink in ToC to work
\addcontentsline{toc}{section}{Subject index}
-\ohead{Subject index}
+\ohead{Subject index}
\printindex[sbj]
\cleardoublepage
-\end{document} \ No newline at end of file
+\end{document}