-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
stefanocoretta
committed
Apr 3, 2021
1 parent
1728ea7
commit 952b660
Showing
13 changed files
with
3,505 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
% see http://info.semprag.org/basics for a full description of this template | ||
\documentclass[$for(classoption)$$classoption$$sep$,$endfor$]{glossa} | ||
|
||
% possible options: | ||
% [times] for Times font (default if no option is chosen) | ||
% [cm] for Computer Modern font | ||
% [lucida] for Lucida font (not freely available) | ||
% [brill] open type font, freely downloadable for non-commercial use from http://www.brill.com/about/brill-fonts; requires xetex | ||
% [charis] for CharisSIL font, freely downloadable from http://software.sil.org/charis/ | ||
% for the Brill an CharisSIL fonts, you have to use the XeLatex typesetting engine (not pdfLatex) | ||
% for headings, tables, captions, etc., Fira Sans is used: https://www.fontsquirrel.com/fonts/fira-sans | ||
% [biblatex] for using biblatex (the default is natbib, do not load the natbib package in this file, it is loaded automatically via the document class glossa.cls) | ||
% [linguex] loads the linguex example package | ||
% !! a note on the use of linguex: in glossed examples, the third line of the example (the translation) needs to be prefixed with \glt. This is to allow a first line with the name of the language and the source of the example. See example (2) in the text for an illustration. | ||
% !! a note on the use of bibtex: for PhD dissertations to typeset correctly in the references list, the Address field needs to contain the city (for US cities in the format "Santa Cruz, CA") | ||
|
||
%\addbibresource{sample.bib} | ||
% the above line is for use with biblatex | ||
% replace this by the name of your bib-file (extension .bib is required) | ||
% comment out if you use natbib/bibtex | ||
|
||
\let\B\relax %to resolve a conflict in the definition of these commands between xyling and xunicode (the latter called by fontspec, called by charis) | ||
\let\T\relax | ||
\usepackage{xyling} %for trees; the use of xyling with the CharisSIL font produces poor results in the branches. This problem does not arise with the packages qtree or forest. | ||
\usepackage[linguistics]{forest} %for nice trees! | ||
|
||
\title[$if(shorttitle)$$shorttitle$$endif$]{$title$} | ||
% Optional short title inside square brackets, for the running headers. | ||
|
||
% \author[Paul \& Vanden Wyngaerd]% short form of the author names for the running header. If no short author is given, no authors print in the headers. | ||
% {%as many authors as you like, each separated by \AND. | ||
% \spauthor{Waltraud Paul\\ | ||
% \institute{CNRS, CRLAO}\\ | ||
% \small{105, Bd. Raspail, 75005 Paris\\ | ||
% waltraud.paul@ehess.fr} | ||
% } | ||
% \AND | ||
% \spauthor{Guido Vanden Wyngaerd \\ | ||
% \institute{KU Leuven}\\ | ||
% \small{Warmoesberg 26, 1000 Brussel\\ | ||
% guido.vandenwyngaerd@kuleuven.be} | ||
% }% | ||
% } | ||
|
||
\author[$if(shortauthors)$$shortauthors$$endif$]{ | ||
$for(author)$ | ||
\spauthor{$author.name$\\ | ||
\institute{$author.affiliation$}\\ | ||
\small{$author.address$} | ||
}% | ||
$sep$\AND$endfor$ | ||
} | ||
|
||
$if(natbib)$ | ||
\usepackage{natbib} | ||
$endif$ | ||
$if(biblatex)$ | ||
\usepackage[$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} | ||
$for(bibliography)$ | ||
\addbibresource{$bibliography$} | ||
$endfor$ | ||
$endif$ | ||
|
||
$if(listings)$ | ||
\usepackage{listings} | ||
$endif$ | ||
$if(lhs)$ | ||
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} | ||
$endif$ | ||
$if(highlighting-macros)$ | ||
$highlighting-macros$ | ||
$endif$ | ||
$if(verbatim-in-note)$ | ||
\usepackage{fancyvrb} | ||
\VerbatimFootnotes % allows verbatim text in footnotes | ||
$endif$ | ||
|
||
$for(header-includes)$ | ||
$header-includes$ | ||
$endfor$ | ||
|
||
\begin{document} | ||
|
||
\sffamily | ||
\maketitle | ||
|
||
$if(wordcount)$ | ||
Word count: $wordcount$ | ||
$endif$ | ||
|
||
$if(abstract)$ | ||
\begin{abstract} | ||
$abstract$ | ||
\end{abstract} | ||
$endif$ | ||
|
||
$if(keywords)$ | ||
\begin{keywords} | ||
$keywords$ | ||
\end{keywords} | ||
$endif$ | ||
|
||
$for(include-before)$ | ||
$include-before$ | ||
$endfor$ | ||
|
||
\rmfamily | ||
|
||
% Body of the article | ||
$body$ | ||
|
||
$if(natbib)$ | ||
$if(bibliography)$ | ||
$if(biblio-title)$ | ||
$if(book-class)$ | ||
\renewcommand\bibname{$biblio-title$} | ||
$else$ | ||
\renewcommand\refname{$biblio-title$} | ||
$endif$ | ||
$endif$ | ||
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} | ||
$endif$ | ||
$endif$ | ||
$if(biblatex)$ | ||
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ | ||
$endif$ | ||
|
||
$for(include-after)$ | ||
$include-after$ | ||
$endfor$ | ||
|
||
\end{document} |
Oops, something went wrong.