summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/univie-ling
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/univie-ling
Initial commit
Diffstat (limited to 'macros/latex/contrib/univie-ling')
-rw-r--r--macros/latex/contrib/univie-ling/README135
-rw-r--r--macros/latex/contrib/univie-ling/biblatex-univie-ling/univie-ling.bbx887
-rw-r--r--macros/latex/contrib/univie-ling/biblatex-univie-ling/univie-ling.cbx95
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-expose-deutsch.pdfbin0 -> 111387 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-expose-deutsch.tex128
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-expose-english.pdfbin0 -> 106622 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-expose-english.tex131
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-paper-deutsch.pdfbin0 -> 149271 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-paper-deutsch.tex101
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-paper-english.pdfbin0 -> 144249 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-paper-english.tex102
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.pdfbin0 -> 173907 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.tex103
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.xmpdata76
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.pdfbin0 -> 170172 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.tex103
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.xmpdata76
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-wlg-article.pdfbin0 -> 224787 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/templates/template-wlg-article.tex76
-rw-r--r--macros/latex/contrib/univie-ling/doc/univie-ling-expose.pdfbin0 -> 443486 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/univie-ling-expose.tex372
-rw-r--r--macros/latex/contrib/univie-ling/doc/univie-ling-paper.pdfbin0 -> 438229 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/univie-ling-paper.tex406
-rw-r--r--macros/latex/contrib/univie-ling/doc/univie-ling-thesis.pdfbin0 -> 441848 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex437
-rw-r--r--macros/latex/contrib/univie-ling/doc/univie-ling-wlg.pdfbin0 -> 329483 bytes
-rw-r--r--macros/latex/contrib/univie-ling/doc/univie-ling-wlg.tex238
-rw-r--r--macros/latex/contrib/univie-ling/tex/univie-ling-expose.cls689
-rw-r--r--macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls791
-rw-r--r--macros/latex/contrib/univie-ling/tex/univie-ling-thesis.cls746
-rw-r--r--macros/latex/contrib/univie-ling/tex/univie-ling-wlg-logo.pdfbin0 -> 93530 bytes
-rw-r--r--macros/latex/contrib/univie-ling/tex/univie-ling-wlg.cls956
-rw-r--r--macros/latex/contrib/univie-ling/tex/univielogo-sw.pdfbin0 -> 25365 bytes
33 files changed, 6648 insertions, 0 deletions
diff --git a/macros/latex/contrib/univie-ling/README b/macros/latex/contrib/univie-ling/README
new file mode 100644
index 0000000000..8f87c4fe2b
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/README
@@ -0,0 +1,135 @@
+==================================================================
+The univie-ling bundle
+
+A set of LaTeX classes and Biblatex files for papers, theses
+and PhD research proposals in (Applied) Linguistics at the
+University of Vienna.
+
+Maintained by Jürgen Spitzmüller
+E-mail: juergen (at) spitzmueller (dot) org
+Code repository and issue tracker:
+ https://github.com/jspitz/univie-ling
+
+Released under the LaTeX Project Public License v1.3 or later
+See http://www.latex-project.org/lppl.txt
+==================================================================
+
+== PURPOSE ==
+
+The univie-ling bundle provides LaTeX2e classes suitable for student papers,
+PhD research proposals (Exposés) and theses in (Applied) Linguistics at the
+University of Vienna. The classes implement some standards for these types of text
+(such as a suitable title page). They are particularly suited for the field of
+(Applied) Linguistics and pre-load some packages that are considered useful in
+this disciplinary context. The classes might also be used for General and Historical
+Linguistics as well as for other fields of study at Vienna University.
+In this case, however, some settings might have to be adjusted.
+
+Furthermore, the bundle includes a class for the Department's house journal,
+Wiener Linguistische Gazette (WLG).
+
+
+== CONTENTS ==
+
+The package consists of the following files:
+
+* univie-ling-expose.cls: Class for PhD research proposals
+* univie-ling-paper.cls: Class for student papers
+* univie-ling-thesis.cls: Class for BA, MA or PhD theses
+* univie-ling-wlg.cls: Class for articles in the journal Wiener Linguistische Gazette
+* univie-logo-sw.pdf: University of Vienna logo
+* univie-ling-wlg-logo.pdf: Logo of the journal Wiener Linguistische Gazette
+* univie-ling.bbx: Biblatex bibliography style
+* univie-ling.cbx: Biblatex citation style
+
+* univie-ling-expose.pdf: documentation of the expose class
+* univie-ling-expose.tex: documentation source of the expose class
+* univie-ling-paper.pdf: documentation of the paper class
+* univie-ling-paper.tex: documentation source of the paper class
+* univie-ling-thesis.pdf: documentation of the thesis class
+* univie-ling-thesis.tex: documentation source of the thesis class
+
+* README (this very file)
+
+The following example files are included:
+
+* template-expose-deutsch.tex: German template for the expose class
+* template-expose-deutsch.pdf: German template for the expose class
+* template-expose-english.tex: English template for the expose class
+* template-expose-english.pdf: English template for the expose class
+* template-paper-deutsch.tex: German template for the paper class
+* template-paper-deutsch.pdf: German template for the paper class
+* template-paper-english.tex: English template for the paper class
+* template-paper-english.pdf: English template for the paper class
+* template-thesis-deutsch.tex: German template for the thesis class
+* template-thesis-deutsch.pdf: German template for the thesis class
+* template-thesis-english.tex: English template for the thesis class
+* template-thesis-english.pdf: English template for the thesis class
+* template-wlg-article.tex: German template for the wlg class
+* template-wlg-article.pdf: German template for the thesis class
+
+* template-thesis-deutsch.xmpdata: example PDF/A definition file for the pdfx package.
+* template-thesis-english.xmpdata: example PDF/A definition file for the pdfx package.
+
+
+== DOCUMENTATION ==
+
+See the included manuals for usage instructions;
+also have a look at the example files.
+
+
+== CHANGES ==
+
+V. 1.9 (2019-01-21)
+ - univie-ling.bbx: correct fix of duplicate editorstrg parentheses.
+
+V. 1.8 (2019-01-15)
+
+ - univie-ling.bbx:
+ * fix another whitespace issue.
+ * fix duplicate editorstrg parentheses.
+ - univie-ling-thesis.cls:
+ * fix title abbreviations.
+ - univie-ling-paper.cls:
+ * fix encoding of German declaration string.
+
+V. 1.7 (2018-11-07)
+
+ - univie-ling.bbx: fix some whitespace issues.
+
+V. 1.6 (2018-11-04):
+ - all classes:
+ * Remove subexamples environment, since this is now provided
+ by covington.
+ - univie-ling.bbx: fix bookauthor with inbook type.
+
+V. 1.5 (2018-09-03):
+ - all classes:
+ * Introduce subexamples environment.
+ - univie-ling-wlg:
+ * Fix expertfonts option.
+
+V. 1.4 (2018-04-26):
+ - univie-ling.bbx: Fix journal dates (if month and day is given).
+
+V. 1.3 (2018-03-02):
+ - Use \mknormrange to support range normalization in cbx file
+ (requires biblatex 3.11; backwards compatibility provided).
+ - univie-ling.bbx:
+ * Fix whitespace issue in @inproceedings entry.
+ * Specify date output details (era, uncertain etc.).
+ - Add license to wlg copyright page (uses doclicense package)
+
+V. 1.2 (2018-02-13):
+ - Rename wlg.cls to univie-ling-wlg.cls per TeXLive request.
+
+V. 1.1 (2018-02-11):
+ - Add wlg class.
+ - univie-ling.bbx:
+ * Fixed location list output wrt the Unfied Style Sheet.
+ * Link DOIs to preferred resolver (thanks, Katrin Leinweber!)
+
+V. 1.0 (2018-02-08): Initial release to CTAN.
+
+Changes to the individual classes are documented in the respective manuals.
+
diff --git a/macros/latex/contrib/univie-ling/biblatex-univie-ling/univie-ling.bbx b/macros/latex/contrib/univie-ling/biblatex-univie-ling/univie-ling.bbx
new file mode 100644
index 0000000000..86bc01fbda
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/biblatex-univie-ling/univie-ling.bbx
@@ -0,0 +1,887 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% univie-ling.bbx
+%
+% This file is part of the univie-ling LaTeX bundle, consisting of:
+% -- univie-ling-expose.cls: Class for PhD Research Proposals (this file)
+% -- univie-ling-paper.cls: Class for student papers
+% -- univie-ling-thesis.cls: Class for BA, MA or PhD theses
+% -- univie-ling-wlg.cls: Class for the journal Wiener Linguistische Gazette
+% -- univie-logo-sw.pdf: University of Vienna logo
+% -- univie-ling-wlg-logo.pdf: Logo of the journal Wiener Linguistische Gazette
+% -- univie-ling.bbx: Biblatex bibliography style
+% -- univie-ling.cbx: Biblatex citation style
+%
+% Author: Jürgen Spitzmüller
+%
+% The purpose of this file is to provide bibliography formatting
+% following the recommendations of (Applied) Linguistics at University
+% of Vienna. Those basically draw on the Unified Style Sheet for Linguistics
+% (http://linguistlist.org/pubs/tocs/JournalUnifiedStyleSheet2007.pdf)
+%
+% This file heavily draws on, and was derived from, biblatex-sp-unified.bbx
+% https://github.com/semprag/biblatex-sp-unified
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2003/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% This Current Maintainer of this work is Jürgen Spitzmüller.
+% Please report issues to https://github.com/jspitz/univie-ling/issues
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\ProvidesFile{univie-ling.bbx}[2019/01/21 v1.9 biblatex bibliography style]
+
+% Load base style (authoryear)
+\RequireBibliographyStyle{authoryear}
+
+% Bibliography Options
+\ExecuteBibliographyOptions{
+ labeldateparts,
+ sorting=nyt,
+ abbreviate,
+ dateabbrev=false,
+ dateera=secular,
+ datezeros=false,
+ datecirca=true,
+ dateuncertain=true,
+ dashed=false,
+ isbn=false,
+ eprint=false,
+ maxbibnames=100,
+ maxitems=2
+}
+
+\@ifpackagelater{biblatex}{2016/09/07}
+ {}
+ {\PackageError{biblatex}
+ {Outdated 'biblatex' package\MessageBreak
+ Upgrade to biblatex v3.5 (2016/09/07) or later.\MessageBreak
+ I found: '\csuse{ver@biblatex.sty}'.\MessageBreak
+ This is a fatal error. I'm aborting now}%
+ \endinput}
+
+% Option "issueeditor": Output journal issue editor
+% (false by default)
+\newtoggle{issueeditor}
+\DeclareBibliographyOption{issueeditor}[false]{%
+ \settoggle{issueeditor}{#1}}
+
+%
+% NAME formatting (general)
+%
+\renewbibmacro*{name:family}[4]{%
+ \usebibmacro{name:delim}{#3#1}%
+ \usebibmacro{name:hook}{#3#1}%
+ \ifdefvoid{#3}
+ {}
+ {\ifcapital
+ {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
+ {\mkbibnameprefix{#3}\isdot}%
+ \ifprefchar{}{\bibnamedelimc}}%
+ \mkbibnamefamily{#1}\isdot}%
+
+\renewbibmacro*{name:family-given}[4]{%
+ \usebibmacro{name:delim}{#3#1}%
+ \usebibmacro{name:hook}{#3#1}%
+ \mkbibnamefamily{#1}\isdot
+ \ifdefvoid{#4}{}{\addcomma\bibnamedelimd\mkbibnamesuffix{#4}\isdot}
+ \ifdefvoid{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibnamegiven{#2}\isdot}%
+ \ifdefvoid{#3}{}{%
+ \addspace\mkbibnameprefix{#3}\isdot
+ \ifprefchar{}{\bibnamedelimc}}}
+
+
+%
+% DATE formatting
+%
+% Include pubstate in label
+\DeclareLabeldate{%
+ \field{pubstate}
+ \field{date}
+ \field{year}
+ \field{eventdate}
+ \field{origdate}
+ \field{urldate}
+ \literal{nodate}
+}
+
+\renewbibmacro*{date+extradate}{%
+ \iffieldundef{pubstate}{%
+ \iffieldundef{labelyear}{}{%
+ \printlabeldateextra%
+ \iffieldundef{origyear}{}{\addspace\mkbibbrackets{\printorigdate}}%
+ \clearfield{year}%
+ }%
+ }{%
+ \printfield{pubstate}%
+ \printfield{extrayear}%
+ \clearfield{pubstate}%
+ }%
+}
+
+\renewbibmacro*{date}{%
+ \iffieldundef{month}
+ {}
+ {\printdate}}%
+
+\renewbibmacro*{issue+date}{%
+ \ifboolexpr{
+ test {\iffieldundef{issue}}
+ and
+ test {\iffieldundef{month}}
+ }
+ {}
+ {\printtext[parens]{%
+ \printfield{issue}%
+ \setunit*{\addspace}%
+ \mkbibdateunified{year}{month}{day}}}%
+ \newunit}
+
+%
+% AUTHOR and EDITOR formats
+%
+\renewbibmacro*{author}{%
+ \ifboolexpr{
+ test \ifuseauthor
+ and
+ not test {\ifnameundef{author}}
+ }
+ {\usebibmacro{bbx:dashcheck}
+ {\bibnamedash}
+ {\usebibmacro{bbx:savehash}%
+ \printnames{author}%
+ \iffieldundef{authortype}
+ {\newunit}% period instead of space
+ {\setunit{\addcomma\space}}}%
+ \iffieldundef{authortype}
+ {}
+ {\usebibmacro{authorstrg}%
+ \newunit}}% period instead of space
+ {\global\undef\bbx@lasthash
+ \usebibmacro{labeltitle}%
+ \newunit}% period instead of space
+ \usebibmacro{date+extradate}}
+
+\renewbibmacro*{editor}{%
+ \usebibmacro{bbx:editor}{editorstrg}}
+\renewbibmacro*{editor+others}{%
+ \usebibmacro{bbx:editor}{editor+othersstrg}}
+\renewbibmacro*{bbx:editor}[1]{%
+ \ifboolexpr{
+ test \ifuseeditor
+ and
+ not test {\ifnameundef{editor}}
+ }
+ {\usebibmacro{bbx:dashcheck}
+ {\bibnamedash}
+ {\printnames{editor}%
+ \setunit{\addspace}%
+ \usebibmacro{bbx:savehash}}%
+ \ifstrequal{#1}{editor+othersstrg}{%
+ \printtext[parens]{\usebibmacro{#1}}%
+ }{%
+ \usebibmacro{#1}%
+ }%
+ \clearname{editor}%
+ \newunit}% period instead of space
+ {\global\undef\bbx@lasthash
+ \usebibmacro{labeltitle}%
+ \newunit}% period instead of space
+ \usebibmacro{date+extradate}}
+
+\renewbibmacro*{translator}{%
+ \usebibmacro{bbx:translator}{translatorstrg}}
+\renewbibmacro*{translator+others}{%
+ \usebibmacro{bbx:translator}{translator+othersstrg}}
+\renewbibmacro*{bbx:translator}[1]{%
+ \ifboolexpr{
+ test \ifusetranslator
+ and
+ not test {\ifnameundef{translator}}
+ }
+ {\usebibmacro{bbx:dashcheck}
+ {\bibnamedash}
+ {\printnames{translator}%
+ \setunit{\addcomma\space}%
+ \usebibmacro{bbx:savehash}}%
+ \usebibmacro{translator+othersstrg}%
+ \clearname{translator}%
+ \newunit}% period instead of space
+ {\global\undef\bbx@lasthash
+ \usebibmacro{labeltitle}%
+ \newunit}% period instead of space
+ \usebibmacro{date+extradate}}
+
+
+%
+% TITLE formatting
+%
+\renewbibmacro*{journal}{%
+ \iffieldundef{journaltitle}
+ {}
+ {\printtext{%
+ \printfield{journaltitle}%
+ \setunit{\subtitlepunct}%
+ \printfield{journalsubtitle}}}}
+
+\newbibmacro*{journal+issuetitle+editor}{%
+ \usebibmacro{journal}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newunit
+ \printfield{series}%
+ \setunit{\addspace}}%
+ \usebibmacro{volume+number+eid}%
+ \setunit{\addspace}%
+ \usebibmacro{issue+date}%
+ \setunit{\addcolon\space}%
+ \usebibmacro{issue}%
+ % The following three lines were originally not included inside of
+ % the journal+issuetitle bibmacro. They have been moved inside of
+ % this macro in order to allow them to be controlled by the toggle
+ % `issueeditor` that is defined at the top of this style file.
+ \iftoggle{issueeditor}
+ {%
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit}
+ {}%
+ \newunit}
+
+\newbibmacro*{unified:proc-as-article:maintitle}{%
+ \ifboolexpr{
+ test {\iffieldundef{maintitle}}
+ and
+ test {\iffieldundef{mainsubtitle}}
+ }
+ {}
+ {\printtext{%
+ \printfield[maintitle]{maintitle}%
+ \setunit{\subtitlepunct}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newunit}%
+ \printfield{maintitleaddon}}
+
+\newbibmacro*{unified:proc-as-article:booktitle}{%
+ \ifboolexpr{
+ test {\iffieldundef{booktitle}}
+ and
+ test {\iffieldundef{booksubtitle}}
+ }
+ {}
+ {\printtext{%
+ \printfield[booktitle]{booktitle}%
+ \setunit{\subtitlepunct}%
+ \printfield[booktitle]{booksubtitle}}%
+ \newunit}%
+ \printfield{booktitleaddon}}
+
+\newbibmacro*{unified:proc-as-article:maintitle+booktitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {\usebibmacro{unified:proc-as-article:maintitle}%
+ \newunit\newblock}
+ \usebibmacro{unified:proc-as-article:booktitle}%
+ \setunit{\addspace}}
+
+\renewbibmacro*{volume+number+eid}{%
+ \printfield{volume}%
+ \printfield[parens]{number}% parentheses instead of dot before issue number
+ \setunit{\addcomma\space}%
+ \printfield{eid}}
+
+\renewbibmacro*{title+issuetitle}{%
+ \iffieldundef{issuetitle}{}{%
+ \usebibmacro{issue}%
+ \adddotspace%
+ [\bibstring{specialissue}]%
+ }
+ \setunit{\addcolon\space}%
+ \usebibmacro{issue+date}%
+ \usebibmacro{periodical}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newunit
+ \printfield{series}%
+ \setunit{\addspace}}%
+ \printfield{volume}%
+ \printfield[parens]{number}% parentheses instead of dot before issue number
+ \setunit{\addcomma\space}%
+ \printfield{eid}%
+ \newunit}
+
+\newbibmacro*{unified:proc-as-article:volume+number+eid}{%
+ \printfield[volume:unified:proc-as-article]{volume}%
+ \printfield[parens]{number}%
+ \setunit{\addcomma\space}%
+ \printfield{eid}}
+
+
+%
+% DATE formatting
+%
+\newcommand{\mkbibdateunified}[3]{% Year-Month-Day as input --> xx Month, Year
+ \iffieldundef{#3}
+ {}
+ {\stripzeros{\thefield{#3}}%
+ \nobreakspace}%
+ \iffieldundef{#2}
+ {\iffieldundef{#1}%
+ {}%
+ {\stripzeros{\thefield{#1}}}}%
+ {\mkbibmonth{\thefield{#2}}%
+ \iffieldundef{#1}%
+ {}%
+ {\iffieldundef{#3}%
+ {}%
+ {,}%
+ \space\stripzeros{\thefield{#1}}}%
+ }%
+ }%
+
+
+\DefineBibliographyExtras{naustrian}{%
+ \renewcommand{\mkbibdateunified}[3]{% Year-Month-Day as input --> xx. Month Year
+ \iffieldundef{#3}
+ {}
+ {\stripzeros{\thefield{#3}.}%
+ \nobreakspace}%
+ \iffieldundef{#2}
+ {\iffieldundef{#1}%
+ {}%
+ {\stripzeros{\thefield{#1}}}}%
+ {\mkbibmonth{\thefield{#2}}%
+ \iffieldundef{#1}%
+ {}%
+ {\space\stripzeros{\thefield{#1}}}%
+ }%
+ }%
+}
+
+
+\DefineBibliographyExtras{ngerman}{%
+ \renewcommand{\mkbibdateunified}[3]{% Year-Month-Day as input --> xx. Month Year
+ \iffieldundef{#3}
+ {}
+ {\stripzeros{\thefield{#3}.}%
+ \nobreakspace}%
+ \iffieldundef{#2}
+ {\iffieldundef{#1}%
+ {}%
+ {\stripzeros{\thefield{#1}}}}%
+ {\mkbibmonth{\thefield{#2}}%
+ \iffieldundef{#1}%
+ {}%
+ {\space\stripzeros{\thefield{#1}}}%
+ }%
+ }%
+}
+
+
+\renewbibmacro*{addendum+pubstate}{%
+ \iffieldundef{addendum}{}{%
+ \printtext[brackets]{% <- Changed
+ \printfield{addendum}%
+ }%
+ }%
+ \newunit\newblock
+ \printfield{pubstate}%
+}
+
+\renewbibmacro*{url+urldate}{%
+ \printfield{url}%
+ \iffieldundef{urlyear}%
+ {}%
+ {\setunit*{\addspace}%
+ \printtext[parens]{\bibstring{urlseen} \mkbibdateunified{urlyear}{urlmonth}{urlday}}}%
+ }
+
+\renewbibmacro*{series+number}{%
+ \iffieldundef{series}
+ {}
+ {\printtext[parens]{%
+ \printfield{series}%
+ \setunit*{\addspace}%
+ \printfield{number}}%
+ }}
+
+\renewbibmacro*{byeditor+others}{%
+ \ifnameundef{editor}
+ {}
+ {\printnames[byeditor]{editor}%
+ \setunit{\addspace}%
+ \printtext[parens]{\usebibmacro{editor+othersstrg}}% putting (ed.) or (eds.) after editors of books
+ \clearname{editor}%
+ \newunit}%
+ \usebibmacro{byeditorx}}
+
+\renewbibmacro*{bybookauthor}{%
+ \ifnamesequal{author}{bookauthor}
+ {\bibstring{idem}}
+ {\printnames{bookauthor}}}
+
+\renewbibmacro*{chapter+pages}{%
+ \iffieldundef{chapter}%
+ {}%
+ {\printfield{chapter}%
+ \setunit{\addcomma\space}}%
+ \printfield{pages}%
+ \newunit}
+
+\renewbibmacro*{note+pages}{%
+ \iffieldundef{note}%
+ {}%
+ {\printfield{note}%
+ \setunit{\addcomma\space}}%
+ \printfield{pages}%
+ \newunit}
+
+\renewbibmacro*{publisher+location+date}{%
+ \iflistundef{location}{\bibstring{nolocation}}{%
+ \printlist{location}%
+ }%
+ \iflistundef{publisher}
+ {\setunit*{\addcomma\space}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{publisher}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ \newunit}
+
+\newbibmacro*{institution+location+type+date}{%
+ \iflistundef{location}{\bibstring{nolocation}}{%
+ \printlist{location}%
+ }%
+ \iflistundef{institution}
+ {}
+ {\setunit*{\addcolon\space}}%
+ \printlist{institution}%
+ \setunit{\addspace}%
+ \printfield{type}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ \newunit}
+
+\renewbibmacro*{organization+location+date}{%
+ \iflistundef{location}{\bibstring{nolocation}}{%
+ \printlist{location}%
+ }%
+ \iflistundef{organization}
+ {\setunit*{\addcomma\space}}
+ {\setunit*{\addcolon\space}}%
+ \printlist{organization}%
+ \setunit*{\addcomma\space}%
+ \usebibmacro{date}%
+ \newunit}
+
+\renewbibmacro*{labeltitle}{%
+ \iffieldundef{label}
+ {\iffieldundef{shorttitle}
+ {\printfield{title}%
+ \setunit{\addcomma\space}% Here it comes, preparing for the edition
+ \printfield{edition}% Here's the edition
+ \clearfield{title}%
+ \clearfield{edition}}% Clearing the edition field, so it's not printed again below
+ {\printfield[title]{shorttitle}}}
+ {\printfield{label}}}
+
+\renewcommand*{\finalnamedelim}{\addspace\&\addspace}
+\renewcommand*{\finallistdelim}{\addspace\&\addspace}
+
+\renewcommand{\intitlepunct}{\addspace}
+
+\renewcommand{\subtitlepunct}{\ifpunct{\addspace}{\addcolon\space}}
+\renewcommand*{\bibpagespunct}{\newunitpunct} % No comma before pages, just the usual new unit period
+
+\NewBibliographyString{specialissue}
+\NewBibliographyString{nolocation}
+
+\DefineBibliographyStrings{english}{%
+ thiscite = {quote},
+ nolocation = {n.\,L\adddot},
+ urlseen = {accessed},
+ edition = {edn\adddot},
+ phdthesis = {dissertation},
+ andmore = {et al\adddot},
+ specialissue = {\autocap{s}pecial issue}
+}
+
+\DefineBibliographyStrings{ngerman}{%
+ thiscite = {Zitat},
+ nodate = {o.\,J\adddot},
+ nolocation = {o.\,O\adddot},
+ editor = {Hg\adddot},
+ editors = {Hgg\adddot},
+ urlseen = {Abruf},
+ andothers = {et al\adddot},
+ andmore = {et al\adddot},
+ specialissue = {Themenheft}
+}
+
+\DefineBibliographyStrings{german}{%
+ thiscite = {Zitat},
+ nodate = {o.\,J\adddot},
+ nolocation = {o.\,O\adddot},
+ editor = {Hg\adddot},
+ editors = {Hgg\adddot},
+ urlseen = {Abruf},
+ andothers = {et al\adddot},
+ andmore = {et al\adddot},
+ specialissue = {Themenheft}
+}
+
+\DefineBibliographyStrings{naustrian}{%
+ thiscite = {Zitat},
+ nodate = {o.\,J\adddot},
+ nolocation = {o.\,O\adddot},
+ editor = {Hg\adddot},
+ editors = {Hgg\adddot},
+ urlseen = {Abruf},
+ andothers = {et al\adddot},
+ andmore = {et al\adddot},
+ specialissue = {Themenheft}
+}
+
+\DefineBibliographyStrings{austrian}{%
+ thiscite = {Zitat},
+ nodate = {o.\,J\adddot},
+ nolocation = {o.\,O\adddot},
+ editor = {Hg\adddot},
+ editors = {Hgg\adddot},
+ urlseen = {Abruf},
+ andothers = {et al\adddot},
+ specialissue = {Themenheft}
+}
+
+
+%
+% FIELD FORMATS
+%
+
+\DeclareFieldFormat[article,book,collection,incollection,inproceedings,thesis,unpublished]{titlecase}{\MakeSentenceCase*{#1}}%
+
+\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{title}{#1}
+
+\DeclareFieldFormat[thesis]{title}{\mkbibemph{#1}}
+
+\DeclareFieldFormat{pages}{#1} % no pp. prefix, took \mkpageprefix out [kvf]
+\DeclareFieldFormat{doi}{%
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{https://doi.org/#1}}}
+ {\nolinkurl{https://doi.org/#1}}}
+\DeclareFieldFormat{url}{\url{#1}}
+
+\DeclareFieldFormat{volume:unified:proc-as-article}{#1}
+
+\DeclareFieldFormat[periodical]{issuetitle}{#1}
+
+
+%
+% DRIVERS
+%
+\DeclareBibliographyDriver{article}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit\newblock
+% \usebibmacro{in:}% We don't use "In: " before journal titles
+ \usebibmacro{journal+issuetitle+editor}%
+ \newblock% \newblock ensures period before pages
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{book}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{maintitle+title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \setunit{\addcomma\space}
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \setunit{\addspace}% crucial difference from standard.bbx: space and then (Series + number)
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyAlias{collection}{book}
+
+\DeclareBibliographyAlias{proceedings}{book}
+
+\DeclareBibliographyAlias{incollection}{inproceedings}
+
+\DeclareBibliographyDriver{inproceedings}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \ifnameundef{editor}
+ {\setunit{\addspace}}
+ {\usebibmacro{byeditor+others}\setunit{\addcomma\space}}
+ \usebibmacro{maintitle+booktitle}%
+ \setunit{\addcomma\space}
+ \printfield{edition}%
+ \setunit{\addcomma\space}
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \setunit{\addcomma\space}
+ \printfield{volumes}%
+ \setunit{\addspace}%
+ \usebibmacro{series+number}%
+ \setunit{\addcomma\space}
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock%
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \ifnameundef{bookauthor}{
+ \ifnameundef{editor}
+ {\setunit{\addspace}}
+ {\usebibmacro{byeditor+others}\setunit{\addcomma\space}}
+ }{%
+ \usebibmacro{bybookauthor}%
+ }
+ \usebibmacro{maintitle+booktitle}%
+ \ifnameundef{editor}
+ {\setunit{\addspace}}
+ {\usebibmacro{byeditor+others}}
+ \setunit{\addcomma\space}
+ \printfield{edition}%
+ \setunit{\addcomma\space}
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \setunit{\addcomma\space}
+ \printfield{volumes}%
+ \setunit{\addspace}%
+ \usebibmacro{series+number}%
+ \setunit{\addcomma\space}
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock%
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{thesis}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{institution+location+type+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \newunit
+ \printfield{pagetotal}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{unpublished}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \printfield{howpublished}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{location+date}%
+ \newunit\newblock
+ \iftoggle{bbx:url}
+ {\usebibmacro{url+urldate}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{periodical}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{editor}%
+ \setunit{\printdelim{nametitledelim}}\newblock
+ \usebibmacro{title+issuetitle}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byeditor}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+
+\endinput
diff --git a/macros/latex/contrib/univie-ling/biblatex-univie-ling/univie-ling.cbx b/macros/latex/contrib/univie-ling/biblatex-univie-ling/univie-ling.cbx
new file mode 100644
index 0000000000..aeed54c5bd
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/biblatex-univie-ling/univie-ling.cbx
@@ -0,0 +1,95 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% univie-ling.cbx
+%
+% This file is part of the univie-ling LaTeX bundle, consisting of:
+% -- univie-ling-expose.cls: Class for PhD Research Proposals (this file)
+% -- univie-ling-paper.cls: Class for student papers
+% -- univie-ling-thesis.cls: Class for BA, MA or PhD theses
+% -- univie-ling-wlg.cls: Class for the journal Wiener Linguistische Gazette
+% -- univie-logo-sw.pdf: University of Vienna logo
+% -- univie-ling-wlg-logo.pdf: Logo of the journal Wiener Linguistische Gazette
+% -- univie-ling.bbx: Biblatex bibliography style
+% -- univie-ling.cbx: Biblatex citation style
+%
+% Author: Jürgen Spitzmüller
+%
+% The purpose of this file is to provide citation formatting
+% following the recommendations of (Applied) Linguistics at University
+% of Vienna. Those basically draw on the Unified Style Sheet for Linguistics
+% (http://linguistlist.org/pubs/tocs/JournalUnifiedStyleSheet2007.pdf)
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2003/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% This Current Maintainer of this work is Jürgen Spitzmüller.
+% Please report issues to https://github.com/jspitz/univie-ling/issues
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\ProvidesFile{univie-ling.cbx}[2019/01/21 v1.9 biblatex citation style]
+
+\RequireCitationStyle{authoryear}
+
+\ExecuteBibliographyOptions{%
+ labeldateparts,
+ uniquename,
+ uniquelist,
+ autocite=inline,
+ sortcites=false,
+ maxcitenames=2
+}
+
+\@ifpackagelater{biblatex}{2016/09/07}
+ {}
+ {\PackageError{biblatex}
+ {Outdated 'biblatex' package\MessageBreak
+ Upgrade to biblatex v3.5 (2016/09/07) or later.\MessageBreak
+ I found: '\csuse{ver@biblatex.sty}'.\MessageBreak
+ This is a fatal error. I'm aborting now}%
+ \endinput}
+
+\renewbibmacro*{cite:shorthand}{%
+ \printtext[bibhyperref]{\printfield{shorthand}}}
+
+\renewbibmacro*{cite:label}{%
+ \iffieldundef{label}
+ {\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
+ {\printtext[bibhyperref]{\printfield{label}}}}
+
+\renewbibmacro*{cite:labeldate+extradate}{%
+ \iffieldundef{labelyear}
+ {}
+ {\printtext[bibhyperref]{%
+ \printfield{labelyear}%
+ \printfield{extradate}}%
+ \iffieldundef{origyear}{}{\addspace\mkbibbrackets{\printorigdate}}%
+ }%
+}
+
+\newbibmacro*{cite:extradate}{%
+ \iffieldundef{extradate}
+ {}
+ {\printtext[bibhyperref]{\printfield{extradate}}}}
+
+\renewcommand*{\nameyeardelim}{\addspace}
+
+\renewcommand*{\postnotedelim}{\addcolon\space}
+
+% Fallback for biblatex < 3.11
+\AtBeginDocument{\providecommand*\mknormrange[1]{#1}}
+
+\DeclareFieldFormat{postnote}{\mknormrange{#1}}
+\DeclareFieldFormat{multipostnote}{\mknormrange{#1}}
+
+\renewcommand*{\multicitedelim}{\addsemicolon\space}
+\renewcommand*{\finalnamedelim}{\addspace\&\addspace}
+
+\endinput
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-expose-deutsch.pdf b/macros/latex/contrib/univie-ling/doc/templates/template-expose-deutsch.pdf
new file mode 100644
index 0000000000..4177418424
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-expose-deutsch.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-expose-deutsch.tex b/macros/latex/contrib/univie-ling/doc/templates/template-expose-deutsch.tex
new file mode 100644
index 0000000000..ba139d76a0
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-expose-deutsch.tex
@@ -0,0 +1,128 @@
+% Beispieldatei für die Klasse ``univie-ling-expose''
+% Ãœbersetzen mit pdflatex -- biber -- pdflatex
+\documentclass[naustrian]{univie-ling-expose}
+
+\usepackage{babel}
+
+% Standardmäßig wird das Biblatex-Paket mit Unified-Stil und
+% Biber-Backend geladen.
+% Wenn Sie klassisches Bibtex (mit unified.bst) verwenden wollen,
+% verwenden Sie die Klassenoption ``biblatex=false''
+\bibliography{biblatex-examples}
+
+% Persönliche Angaben
+\author{Vorname Nachname, BA MA}
+\studienkennzahl{A 792 327}
+\studienrichtung{Sprachwissenschaft}
+
+% Arbeitsrelevante Angaben
+\title{Titel der Arbeit}
+\subtitle{Untertitel}
+\supervisor{Univ.-Prof. Dr. Vorname Name}
+\cosupervisor{Univ.-Prof. Dr. Vorname Name}
+% Advisory board (Doktoratsbeirat)
+\advisor{Univ.-Prof. Dr. Vorname Name}
+
+
+\begin{document}
+
+% Die Titelseite
+\maketitle
+
+% Inhaltsverzeichnis
+\tableofcontents
+
+\section{Einleitung}\label{sec:einleitung}
+
+Worum geht es in Ihrem Forschungsprojekt? Erklären Sie das Thema und seine Relevanz für das Fach.
+Skizzieren Sie kurz die Gliederung des Exposés.
+
+
+\section{Forschungsstand}\label{sec:forschungsstand}
+
+Diskutieren Sie die vorhandene Literatur, machen Sie Lücken aus und okkupieren Sie diese!
+
+
+\section{Forschungsfragen}\label{sec:forschungsfragen}
+
+Nachdem Sie die Nischen, die Sie okkupieren möchten, lokalisiert haben, formulieren Sie Ihre Forschungsfragen.
+Seien Sie möglichst klar und präzise.
+
+
+\section{Daten und Methoden}\label{sec:daten}
+
+Erläutern Sie, welche Daten Sie analysieren wollen, um die Fragen zu klären. Seien Sie auch hier so präzise wie möglich.
+Begründen Sie, welche Methoden Sie wählen, um die Daten zu erschließen. Stellen Sie auch methodische und empirische
+Beschränkungen klar heraus.
+
+
+\section{Betreuer/innen}\label{sec:betreuer}
+
+Erläutern Sie kurz, warum Sie Ihre Betreuer/innen gewählt haben.
+
+
+\section{Schluss}\label{sec:schluss}
+
+Fassen Sie ihre Ideen kurz zusammen, kommen Sie nochmals auf die Forschungsfragen zurück.
+
+
+\section{Zeitplan}\label{sec:zeitplan}
+
+Skizzieren Sie Ihren vorläufigen Zeitplan in tabellarischer Form.
+
+
+\section{Tipps}
+
+Verwenden Sie am Besten \textsf{biblatex} für konsistente Literaturverweise im \emph{Unified}-Stil
+(vgl. \emph{Leitfaden für die Gestaltung von schriftlichen Arbeiten und Unterlagen}; März 2018).
+Für normale Verweise im Text \verb|\textcite|: \textcite[22]{brandt}, für Verweise in Klammern \verb|\parencite|: \parencite{brandt}.
+
+Für Anführungszeichen und Zitate verwenden Sie am Besten die Befehle des Paketes \emph{csquotes}: \enquote{doppelte Anführungszeichen},
+\enquote*{einfache Anführungszeichen}, \enquote{ein \enquote{Zitat} im Zitat}. Für Zitate mit Literaturverweis gibt es
+\verb|\textquote| bzw. \verb|\textcquote|: \textquote[{\cite[202]{spiegelberg}}]{Ein Zitat mit Verweis}, noch einfacher
+\textcquote[202]{spiegelberg}{Ein Zitat mit Verweis}.
+
+Für längere Zitate verwenden Sie \emph{displayquote} oder \emph{displaycquote}:
+
+\begin{displayquote}[{\cite[202]{spiegelberg}}]
+ Ein langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ Zitat.
+\end{displayquote}
+
+\begin{displaycquote}[202]{spiegelberg}
+ Ein langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ Zitat.
+\end{displaycquote}
+%
+Es gibt auch Makros für Auslassungen: \textelp{} und für Einfügungen in Zitaten: \textins{meine Einfügung} bzw. für beides kombiniert: \textelp{Einfügung nach Auslassung}, \textelp*{Einfügung vor Auslassung}.
+
+Verwenden Sie semantisches Markup statt manueller Textauszeichnung:
+\begin{itemize}
+ \item Ausdruck (Objektsprachliches) kursiv: Das Wort \Expression{Wort}.
+ \item Bedeutungsangaben in einfachen Anführungszeichen: \Meaning{Bedeutung}
+ \item Semantische Konzepte in Kapitälchen: Das Konzept \Concept{Konzept}
+\end{itemize}
+%
+Nummerierte linguistische Beispiele bekommen Sie mit der Umgebung \emph{example} (für mehrzeilige Beispiele) und \emph{examples} (für einzeilige):
+
+\begin{example}
+ Das ist ein mehrzeiliges Beispiel
+
+ Es kann mehrere Absätze enthalten
+\end{example}
+
+\begin{examples}
+ \item Das ist ein einzeiliges Beispiel\label{exa:Beispiel-einzeilig}
+ \item Jeder Absatz wird in diesem Stil neu nummeriert
+\end{examples}
+%
+Auf die Beispiele verweist man am Besten so: \prettyref{exa:Beispiel-einzeilig}. Übrigens auch auf Abschnitte\footnote{Denken Sie dran: Exposés haben, wie Artikel, keine \emph{Kapitel}, sondern nur \emph{Abschnitte}. Kapitel haben Bücher!}: \prettyref{sec:daten}.
+
+% Die Bibliographie
+\printbibliography[heading=bibnumbered]
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-expose-english.pdf b/macros/latex/contrib/univie-ling/doc/templates/template-expose-english.pdf
new file mode 100644
index 0000000000..69ab2f9b91
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-expose-english.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-expose-english.tex b/macros/latex/contrib/univie-ling/doc/templates/template-expose-english.tex
new file mode 100644
index 0000000000..c998acea71
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-expose-english.tex
@@ -0,0 +1,131 @@
+% Example file for the class ``univie-ling-expose''
+% Run pdflatex -- biber -- pdflatex
+\documentclass[naustrian,english]{univie-ling-expose}
+
+\usepackage{babel}
+
+% By default, the class loads the biblatex package
+% with Unified style and biber backend.
+% If you want to use classic bibtex (with unified.bst),
+% use the class option ``biblatex=false''
+\bibliography{biblatex-examples}
+
+% Personal data
+\author{First Name Surname, BA MA}
+\studienkennzahl{A 792 327}
+\studienrichtung{Sprachwissenschaft}
+
+% Paper-related data
+\title{Title of the Thesis}
+\subtitle{Subtitle}
+\supervisor{Univ.-Prof. Dr. First Name Surname}
+\cosupervisor{Univ.-Prof. Dr. First Name Surname}
+% Advisory board (Beirat)
+\advisor{Univ.-Prof. Dr. First Name Surname}
+
+
+\begin{document}
+
+% The title page
+\maketitle
+
+% The TOC
+\tableofcontents
+
+\section{Introduction}\label{sec:intro}
+
+What is your project about? Explain the topic and its relevance for the discipline.
+Briefly sketch the outline of this proposal.
+
+
+\section{State of Research}\label{sec:state}
+
+Discuss the literature, locate research niches and occupy them.
+
+
+\section{Research Questions}\label{sec:questions}
+
+After you have located the niche you want to occupy, formulate your research questions.
+Be very clear and precise about the questions your project sets out to address.
+
+
+\section{Data and Methods}\label{sec:data}
+
+Elaborate on the data you are going to analyze. Again, be as precise are possible.
+Rationalize on the methods you select in order to approach the data. Also be clear about methodical or empirical limitations.
+
+
+\section{Supervisors}\label{sec:superv}
+
+Briefly explain why you selected your supervisor(s).
+
+
+\section{Conclusions}\label{sec:conclusions}
+
+Summarize your idea, take up the research questions.
+
+
+\section{Schedule}\label{sec:schedule}
+
+Outline your provisional working schedule in tabular form.
+
+
+\section{Tips}
+
+It is recommended that you use \textsf{biblatex} for consistent references in Unified style
+(see \foreignlanguage{naustrian}{\emph{Leitfaden für die Gestaltung von schriftlichen Arbeiten und Unterlagen}; März 2018}).
+For normal inline references, use \verb|\textcite|: \textcite[22]{sarfraz}; for references in parentheses use \verb|\parencite|: \parencite{sarfraz}.
+
+For quotation marks and quotations, use the macros provided by the package \emph{csquotes}: \enquote{double quotation marks},
+\enquote*{single quotation marks}, \enquote{an \enquote{embedded} quotation}. Quotation with references can be produced with
+\verb|\textquote| and \verb|\textcquote|: \textquote[{\cite[222]{sarfraz}}]{A quote with reference}, even simpler
+\textcquote[222]{sarfraz}{A quote with reference}.
+
+For longer quotations, use \emph{displayquote} or \emph{displaycquote}:
+
+\begin{displayquote}[{\cite[246]{sarfraz}}]
+ A long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ quotation.
+\end{displayquote}
+
+\begin{displaycquote}[246]{sarfraz}
+ A long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ quotation.
+\end{displaycquote}
+%
+There are also macros for omissions: \textelp{} and insertions in quotations: \textins{my insertion} as well as for both combined:
+\textelp{insertion after omission}, \textelp*{insertion before omission}.
+
+Use semantic markup instead of manual shape change:
+\begin{itemize}
+ \item Expressions (object language) in italics: The word \Expression{Wort}.
+ \item Meaning is given in single quotes: \Meaning{meaning}
+ \item Semantic concepts in small caps: the concept \Concept{concept}
+\end{itemize}
+%
+Numbered linguistic examples can be produced by means of the \emph{example} environment (for multi-line examples) and \emph{examples} environment
+(for subsequent single-line examples):
+
+\begin{example}
+ This is a multi-line example
+
+ It might consist of several paragraphs
+\end{example}
+
+\begin{examples}
+ \item This is a single-line example\label{exa:example-single}
+ \item Each paragraph gets its own number
+\end{examples}
+%
+It is recommended to refer to the examples like this: \prettyref{exa:example-single}. Also to sections\footnote{Nota bene: exposés do not have chapters,
+ just sections. Only books (monographs) have chapters!}, incidentally: \prettyref{sec:data}.
+
+
+% The bibliography
+\printbibliography[heading=bibnumbered]
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-paper-deutsch.pdf b/macros/latex/contrib/univie-ling/doc/templates/template-paper-deutsch.pdf
new file mode 100644
index 0000000000..497435e7ff
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-paper-deutsch.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-paper-deutsch.tex b/macros/latex/contrib/univie-ling/doc/templates/template-paper-deutsch.tex
new file mode 100644
index 0000000000..447e7bb5aa
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-paper-deutsch.tex
@@ -0,0 +1,101 @@
+% Beispieldatei für die Klasse ``univie-ling-paper''
+% Ãœbersetzen mit pdflatex -- biber -- pdflatex
+\documentclass[naustrian]{univie-ling-paper}
+
+\usepackage{babel}
+
+% Standardmäßig wird das Biblatex-Paket mit Unified-Stil und
+% Biber-Backend geladen.
+% Wenn Sie klassisches Bibtex (mit unified.bst) verwenden wollen,
+% verwenden Sie die Klassenoption ``biblatex=false''
+\bibliography{biblatex-examples}
+
+% Persönliche Angaben
+\author{Vorname Nachname, BA}
+\matrikelnr{0000000}
+\studienkennzahl{A 066 899}
+
+% Mehrere Autoren:
+%\author{Vorname Nachname, BA \and Vorname Nachname, BA}
+%\matrikelnr{0000000 \and 1111111}
+%\studienkennzahl{A 066 899 \and A 066 899}
+
+% Arbeitsrelevante Angaben
+\title{Titel der Arbeit}
+\course{ps}{Seminartitel}% Mögliche Optionen: ps, se, vo, pv, ue, ko
+\semester{ss}{2015}% Mögliche Optionen: ss, ws
+\instructor{Univ.-Prof. Dr. Vorname Name}
+
+% Der Arbeitstyp wird für ps und se automatisch gesetzt.
+% Kommentieren Sie, falls nötig, das folgende aus, um einen
+% Arbeitstypen zu definieren
+%\texttype{Forschungsbericht}
+
+\begin{document}
+
+% Die Titelseite
+\maketitle
+
+% Selbstaendigkeitserklaerung
+\makedeclaration
+
+\tableofcontents
+
+\section{Ein paar Tipps}\label{sec:hinweise}
+
+Verwenden Sie am Besten \textsf{biblatex} für konsistente Literaturverweise im \emph{Unified}-Stil (vgl. \emph{Leitfaden für die Gestaltung von
+schriftlichen Arbeiten und Unterlagen}; März 2018).
+Für normale Verweise im Text \verb|\textcite|: \textcite[22]{brandt}, für Verweise in Klammern \verb|\parencite|: \parencite{brandt}.
+
+Für Anführungszeichen und Zitate verwenden Sie am Besten die Befehle des Paketes \emph{csquotes}: \enquote{doppelte Anführungszeichen},
+\enquote*{einfache Anführungszeichen}, \enquote{ein \enquote{Zitat} im Zitat}. Für Zitate mit Literaturverweis gibt es
+\verb|\textquote| bzw. \verb|\textcquote|: \textquote[{\cite[202]{spiegelberg}}]{Ein Zitat mit Verweis}, noch einfacher
+\textcquote[202]{spiegelberg}{Ein Zitat mit Verweis}.
+
+Für längere Zitate verwenden Sie \emph{displayquote} oder \emph{displaycquote}:
+
+\begin{displayquote}[{\cite[202]{spiegelberg}}]
+ Ein langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ Zitat.
+\end{displayquote}
+
+\begin{displaycquote}[202]{spiegelberg}
+ Ein langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ Zitat.
+\end{displaycquote}
+%
+Es gibt auch Makros für Auslassungen: \textelp{} und für Einfügungen in Zitaten: \textins{meine Einfügung} bzw. für beides kombiniert:
+\textelp{Einfügung nach Auslassung}, \textelp*{Einfügung vor Auslassung}.
+
+Verwenden Sie semantisches Markup statt manueller Textauszeichnung:
+\begin{itemize}
+ \item Ausdruck (Objektsprachliches) kursiv: Das Wort \Expression{Wort}.
+ \item Bedeutungsangaben in einfachen Anführungszeichen: \Meaning{Bedeutung}
+ \item Semantische Konzepte in Kapitälchen: Das Konzept \Concept{Konzept}
+\end{itemize}
+%
+Nummerierte linguistische Beispiele bekommen Sie mit der Umgebung \emph{example} (für mehrzeilige Beispiele) und \emph{examples} (für einzeilige):
+
+\begin{example}
+ Das ist ein mehrzeiliges Beispiel
+
+ Es kann mehrere Absätze enthalten
+\end{example}
+
+\begin{examples}
+ \item Das ist ein einzeiliges Beispiel\label{exa:Beispiel-einzeilig}
+ \item Jeder Absatz wird in diesem Stil neu nummeriert
+\end{examples}
+%
+Auf die Beispiele verweist man am Besten so: \prettyref{exa:Beispiel-einzeilig}. Ãœbrigens auch auf Abschnitte\footnote{Denken Sie dran: Seminararbeiten haben,
+ wie Artikel, keine \emph{Kapitel}, sondern nur \emph{Abschnitte}. Kapitel haben Bücher!}: \prettyref{sec:hinweise}.
+
+% Die Bibliographie
+\clearpage
+\printbibliography[heading=bibnumbered]
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-paper-english.pdf b/macros/latex/contrib/univie-ling/doc/templates/template-paper-english.pdf
new file mode 100644
index 0000000000..bd4dfe4715
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-paper-english.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-paper-english.tex b/macros/latex/contrib/univie-ling/doc/templates/template-paper-english.tex
new file mode 100644
index 0000000000..33716cc40a
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-paper-english.tex
@@ -0,0 +1,102 @@
+% Example file for the class ``univie-ling-paper''
+% Run pdflatex -- biber -- pdflatex
+\documentclass[naustrian,english]{univie-ling-paper}
+
+\usepackage{babel}
+
+% By default, the class loads the biblatex package
+% with Unified style and biber backend.
+% If you want to use classic bibtex (with unified.bst),
+% use the class option ``biblatex=false''
+\bibliography{biblatex-examples}
+
+% Personal data
+\author{First Name Surname, BA}
+\matrikelnr{0000000}
+\studienkennzahl{A 066 899}
+
+% Joint work:
+%\author{Vorname Nachname, BA \and Vorname Nachname, BA}
+%\matrikelnr{0000000 \and 1111111}
+%\studienkennzahl{A 066 899 \and A 066 899}
+
+% Paper-related data
+\title{Title of the Paper}
+\course{ps}{Course Title}% valid options: ps, se, vo, pv, ue, ko
+\semester{ss}{2015}% valid options: ss, ws
+\instructor{Univ.-Prof. Dr. First Name Surname}
+
+% The paper type is automatically set for ps and se
+% Comment out and adjust if needed
+%\texttype{Forschungsbericht}
+
+\begin{document}
+
+% The title page
+\maketitle
+
+% Anti-plagiarism declaration
+\makedeclaration
+
+\tableofcontents
+
+\section{General hints}\label{sec:hints}
+
+It is recommended that you use \textsf{biblatex} for consistent references in Unified style
+(see \foreignlanguage{naustrian}{\emph{Leitfaden für die Gestaltung von schriftlichen Arbeiten und Unterlagen}; März 2018}).
+For normal inline references, use \verb|\textcite|: \textcite[22]{sarfraz}; for references in parentheses use \verb|\parencite|:
+\parencite{sarfraz}.
+
+For quotation marks and quotations, use the macros provided by the package \emph{csquotes}: \enquote{double quotation marks},
+\enquote*{single quotation marks}, \enquote{an \enquote{embedded} quotation}. Quotation with references can be produced with
+\verb|\textquote| and \verb|\textcquote|: \textquote[{\cite[222]{sarfraz}}]{A quote with reference}, even simpler
+\textcquote[222]{sarfraz}{A quote with reference}.
+
+For longer quotations, use \emph{displayquote} or \emph{displaycquote}:
+
+\begin{displayquote}[{\cite[246]{sarfraz}}]
+ A long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ quotation.
+\end{displayquote}
+
+\begin{displaycquote}[246]{sarfraz}
+ A long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ quotation.
+\end{displaycquote}
+%
+There are also macros for omissions: \textelp{} and insertions in quotations: \textins{my insertion} as well as for both combined:
+\textelp{insertion after omission}, \textelp*{insertion before omission}.
+
+Use semantic markup instead of manual shape change:
+\begin{itemize}
+ \item Expressions (object language) in italics: The word \Expression{Wort}.
+ \item Meaning is given in single quotes: \Meaning{meaning}
+ \item Semantic concepts in small caps: the concept \Concept{concept}
+\end{itemize}
+%
+Numbered linguistic examples can be produced by means of the \emph{example} environment (for multi-line examples) and \emph{examples}
+environment (for subsequent single-line examples):
+
+\begin{example}
+ This is a multi-line example
+
+ It might consist of several paragraphs
+\end{example}
+
+\begin{examples}
+ \item This is a single-line example\label{exa:example-single}
+ \item Each paragraph gets its own number
+\end{examples}
+%
+It is recommended to refer to the examples like this: \prettyref{exa:example-single}. Also to sections\footnote{Nota bene: papers do not
+ have chapters, just sections. Only books (monographs) have chapters!}, incidentally: \prettyref{sec:hints}.
+
+% The bibliography
+\clearpage
+\printbibliography[heading=bibnumbered]
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.pdf b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.pdf
new file mode 100644
index 0000000000..9365a6b6e6
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.tex b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.tex
new file mode 100644
index 0000000000..6f9a1eb566
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.tex
@@ -0,0 +1,103 @@
+% Beispieldatei für die Klasse ``univie-ling-thesis''
+% Ãœbersetzen mit pdflatex -- biber -- pdflatex
+\documentclass[naustrian]{univie-ling-thesis}
+
+\usepackage{babel}
+
+% Verwende den vom Hochschulschriftenservice verlangten Standard PDF/A1-b
+% (siehe http://e-theses.univie.ac.at/elektronische_einreichung.html)
+\usepackage[a-1b]{pdfx}
+\hypersetup{pdfborder={0 0 0}}
+
+% Standardmäßig wird das Biblatex-Paket mit Unified-Stil und
+% Biber-Backend geladen.
+% Wenn Sie klassisches Bibtex (mit unified.bst) verwenden wollen,
+% verwenden Sie die Klassenoption ``biblatex=false''
+\bibliography{biblatex-examples}
+
+% Persönliche Angaben
+\author{Vorname Nachname, BA MA}
+\studienkennzahl{A 792 327}
+\studienrichtung{Sprachwissenschaft}
+
+% Mehrere Autor*innen:
+%\author{Vorname Nachname, BA MA \and Vorname Nachname, BA MA}
+%\studienkennzahl{A 066 899 \and A 066 899}
+
+% Arbeitsrelevante Angaben
+\thesistype{diss}% Mögliche Optionen: magister, diplom, bachelor, master, diss
+\title{Titel der Arbeit}
+\subtitle{Untertitel}
+\volume{1}{5}% Band x von y Bänden
+% Der angemessene Grad wird automatisch ausgewählt, aber Sie können
+% diese Wahl überschreiben, indem Sie den folgenden Befehl auskommentieren:
+% (Beachten Sie, dass weibliche Formen für die Grade verwendet werden, wenn
+% Sie die Klassenoption ``fdegree=true'' verwenden)
+%\degree{Doktor der Philosophie (Dr. phil.)}% Angestrebter Grad
+\supervisor{Univ.-Prof. Dr. Vorname Nachname}
+\cosupervisor{Univ.-Prof. Dr. Vorname Nachname}
+
+
+\begin{document}
+
+% Die Titelseite
+\maketitle
+
+\tableofcontents
+
+\chapter{Ein paar Tipps}\label{cha:hinweise}
+
+Verwenden Sie am Besten \textsf{biblatex} für konsistente Literaturverweise im \emph{Unified}-Stil (vgl. \emph{Leitfaden für die Gestaltung von
+ schriftlichen Arbeiten und Unterlagen}; März 2018).
+Für normale Verweise im Text \verb|\textcite|: \textcite[22]{brandt}, für Verweise in Klammern \verb|\parencite|: \parencite{brandt}.
+
+Für Anführungszeichen und Zitate verwenden Sie am Besten die Befehle des Paketes \emph{csquotes}: \enquote{doppelte Anführungszeichen},
+\enquote*{einfache Anführungszeichen}, \enquote{ein \enquote{Zitat} im Zitat}. Für Zitate mit Literaturverweis gibt es
+\verb|\textquote| bzw. \verb|\textcquote|: \textquote[{\cite[202]{spiegelberg}}]{Ein Zitat mit Verweis}, noch einfacher
+\textcquote[202]{spiegelberg}{Ein Zitat mit Verweis}.
+
+Für längere Zitate verwenden Sie \emph{displayquote} oder \emph{displaycquote}:
+
+\begin{displayquote}[{\cite[202]{spiegelberg}}]
+ Ein langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ Zitat.
+\end{displayquote}
+
+\begin{displaycquote}[202]{spiegelberg}
+ Ein langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes langes
+ Zitat.
+\end{displaycquote}
+%
+Das Paket \emph{csquotes} stellt auch Makros für Auslassungen in Zitaten zur Verfügung: \textelp{}, für Einfügungen: \textins{meine Einfügung}
+bzw. für beides kombiniert: \textelp{Einfügung nach Auslassung}, \textelp*{Einfügung vor Auslassung}.
+
+Verwenden Sie statt manueller Textauszeichnung linguistischer Ebenen möglichst das semantische Markup, das die Klasse zur Verfügung stellt:
+\begin{itemize}
+ \item Ausdruck (Objektsprachliches) kursiv: Das Wort \Expression{Wort}.
+ \item Bedeutungsangaben in einfachen Anführungszeichen: \Meaning{Bedeutung}
+ \item Semantische Konzepte in Kapitälchen: Das Konzept \Concept{Konzept}
+\end{itemize}
+%
+Nummerierte linguistische Beispiele bekommen Sie mit der Umgebung \emph{example} (für mehrzeilige Beispiele) und \emph{examples} (für einzeilige):
+
+\begin{example}
+ Das ist ein mehrzeiliges Beispiel
+
+ Es kann mehrere Absätze enthalten
+\end{example}
+
+\begin{examples}
+ \item Das ist ein einzeiliges Beispiel\label{exa:Beispiel-einzeilig}
+ \item Jeder Absatz wird in diesem Stil neu nummeriert
+\end{examples}
+%
+Auf die Beispiele verweist man am Besten so: \prettyref{exa:Beispiel-einzeilig}. Ãœbrigens auch auf Kapitel: \prettyref{cha:hinweise}.
+
+% Die Bibliographie
+\printbibliography[heading=bibnumbered]
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.xmpdata b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.xmpdata
new file mode 100644
index 0000000000..c5e4ba9ef8
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-deutsch.xmpdata
@@ -0,0 +1,76 @@
+% Replace the information at the bottom with your document's actual
+% metadata.
+%
+% NOTE that the file needs to be renamed to <name>.xmpdata, where <name>
+% is the name of your (master) TeX file.
+%
+% Symbols permitted in metadata
+% =============================
+%
+% Within the metadata, all printable ASCII characters except
+% '\', '{', '}', and '%' represent themselves. Also, all printable
+% Unicode characters from the basic multilingual plane (i.e., up to
+% code point U+FFFF) can be used directly with the UTF-8 encoding.
+% Consecutive whitespace characters are combined into a single
+% space. Whitespace after a macro such as \copyright, \backslash, or
+% \sep is ignored. Blank lines are not permitted. Moreover, the
+% following markup can be used:
+%
+% '\ ' - a literal space (for example after a macro)
+% \% - a literal '%'
+% \{ - a literal '{'
+% \} - a literal '}'
+% \backslash - a literal '\'
+% \copyright - the (c) copyright symbol
+%
+% The macro \sep is only permitted within \Author, \Keywords, and
+% \Org. It is used to separate multiple authors, keywords, etc.
+%
+% Explanations
+% ==============
+%
+% Here is an incomplete list of user-definable metadata fields,
+% and their meanings. Please refer to the pdfx manual for a
+% comprehensive list
+%
+% General information:
+%
+% \Author - the document's human author. Separate multiple
+% authors with \sep.
+% \Title - the document's title.
+% \Keywords - list of keywords, separated with \sep.
+% \Subject - the abstract.
+% \Org - publishers.
+%
+% Copyright information:
+%
+% \Copyright - a copyright statement.
+% \CopyrightURL - location of a web page describing the owner
+% and/or rights statement for this document.
+% \Copyrighted - 'True' if the document is copyrighted, and
+% 'False' if it isn't. This is automatically set
+% to 'True' if either \Copyright or \CopyrightURL
+% is specified, but can be overridden. For
+% example, if the copyright statement is "Public
+% Domain", this should be set to 'False'.
+%
+
+
+\Title {Titel der Arbeit}
+
+% Multiple Authors: {Vorname Nachname\sep Vorname Nachname}
+\Author {Vorname Nachname}
+
+\Copyright {Copyright \copyright\ 2018 "Vorname Nachname"}
+
+\Keywords {Schlagwort\sep
+ weiteres Schlagwort\sep
+ noch ein Schlagwort}
+
+\Subject {Hier kommt das Abstract hin.}
+
+\Org {Universität Wien / University of Vienna}
+
+\Copyrighted {True}
+
+% That's it.
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.pdf b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.pdf
new file mode 100644
index 0000000000..4978646332
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.tex b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.tex
new file mode 100644
index 0000000000..7b479f4777
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.tex
@@ -0,0 +1,103 @@
+% Example file for the class ``univie-ling-thesis''
+% Run pdflatex -- biber -- pdflatex
+\documentclass[naustrian,english]{univie-ling-thesis}
+
+\usepackage{babel}
+
+% Use the PDF/A1-b standard as required by the Hochschulschriften-Service
+% (see http://e-theses.univie.ac.at/elektronische_einreichung.html)
+\usepackage[a-1b]{pdfx}
+\hypersetup{pdfborder={0 0 0}}
+
+% By default, the class loads the biblatex package
+% with Unified style and biber backend.
+% If you want to use classic bibtex (with unified.bst),
+% use the class option ``biblatex=false''
+\bibliography{biblatex-examples}
+
+% Personal data
+\author{First Name Surname, BA MA}
+\studienkennzahl{A 792 327}
+\studienrichtung{Sprachwissenschaft}
+
+% Joint work:
+%\author{First Name Surname, BA MA \and First Name Surname, BA MA}
+%\studienkennzahl{A 066 899 \and A 066 899}
+
+% Paper-related data
+\thesistype{diss}% valid options: magister, diplom, bachelor, master, diss
+\title{Title of the Thesis}
+\subtitle{Subtitle}
+\volume{1}{5}% Vol. x of y volumes
+% The suitable degree is automatically set, but you can override
+% it by uncommenting the following command:
+% (note that female forms of degrees, where appropriate, are
+% used if you use the class option ``fdegree=true'')
+%\degree{Doktor der Philosophie (Dr. phil.)}% Targeted degree
+\supervisor{Univ.-Prof. Dr. First Name Surname}
+\cosupervisor{Univ.-Prof. Dr. First Name Surname}
+
+
+\begin{document}
+
+% The title page
+\maketitle
+
+\tableofcontents
+
+\chapter{General hints}\label{cha:hints}
+
+It is recommended that you use \textsf{biblatex} for consistent references in Unified style
+(see \foreignlanguage{naustrian}{\emph{Leitfaden für die Gestaltung von schriftlichen Arbeiten und Unterlagen}; März 2018}).
+For normal inline references, use \verb|\textcite|: \textcite[22]{sarfraz}; for references in parentheses use \verb|\parencite|: \parencite{sarfraz}.
+
+For quotation marks and quotations, use the macros provided by the package \emph{csquotes}: \enquote{double quotation marks}, \enquote*{single quotation marks},
+\enquote{an \enquote{embedded} quotation}. Quotation with references can be produced with \verb|\textquote| and \verb|\textcquote|:
+\textquote[{\cite[222]{sarfraz}}]{A quote with reference}, even simpler \textcquote[222]{sarfraz}{A quote with reference}.
+
+For longer quotations, use \emph{displayquote} or \emph{displaycquote}:
+
+\begin{displayquote}[{\cite[246]{sarfraz}}]
+ A long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ quotation.
+\end{displayquote}
+
+\begin{displaycquote}[246]{sarfraz}
+ A long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ long long long long long long long long long long long long long long long long long long long long
+ quotation.
+\end{displaycquote}
+%
+There are also macros for omissions in quotations: \textelp{}, insertions: \textins{my insertion} and combinations of both: \textelp{insertion after omission},
+\textelp*{insertion before omission}.
+
+Use the semantic markup provided by the class instead of manual shape change:
+\begin{itemize}
+ \item Expressions (object language) in italics: The word \Expression{Wort}.
+ \item Meaning is given in single quotes: \Meaning{meaning}
+ \item Semantic concepts in small caps: the concept \Concept{concept}
+\end{itemize}
+%
+Numbered linguistic examples can be produced by means of the \emph{example} environment (for multi-line examples) and \emph{examples} environment
+(for subsequent single-line examples):
+
+\begin{example}
+ This is a multi-line example
+
+ It might consist of several paragraphs
+\end{example}
+
+\begin{examples}
+ \item This is a single-line example\label{exa:example-single}
+ \item Each paragraph gets its own number
+\end{examples}
+%
+It is recommended to refer to the examples like this: \prettyref{exa:example-single}. Also to chapters, incidentally: \prettyref{cha:hints}.
+
+% The bibliography
+\printbibliography[heading=bibnumbered]
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.xmpdata b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.xmpdata
new file mode 100644
index 0000000000..18346abefa
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-thesis-english.xmpdata
@@ -0,0 +1,76 @@
+% Replace the information at the bottom with your document's actual
+% metadata.
+%
+% NOTE that the file needs to be renamed to <name>.xmpdata, where <name>
+% is the name of your (master) TeX file.
+%
+% Symbols permitted in metadata
+% =============================
+%
+% Within the metadata, all printable ASCII characters except
+% '\', '{', '}', and '%' represent themselves. Also, all printable
+% Unicode characters from the basic multilingual plane (i.e., up to
+% code point U+FFFF) can be used directly with the UTF-8 encoding.
+% Consecutive whitespace characters are combined into a single
+% space. Whitespace after a macro such as \copyright, \backslash, or
+% \sep is ignored. Blank lines are not permitted. Moreover, the
+% following markup can be used:
+%
+% '\ ' - a literal space (for example after a macro)
+% \% - a literal '%'
+% \{ - a literal '{'
+% \} - a literal '}'
+% \backslash - a literal '\'
+% \copyright - the (c) copyright symbol
+%
+% The macro \sep is only permitted within \Author, \Keywords, and
+% \Org. It is used to separate multiple authors, keywords, etc.
+%
+% Explanations
+% ==============
+%
+% Here is an incomplete list of user-definable metadata fields,
+% and their meanings. Please refer to the pdfx manual for a
+% comprehensive list
+%
+% General information:
+%
+% \Author - the document's human author. Separate multiple
+% authors with \sep.
+% \Title - the document's title.
+% \Keywords - list of keywords, separated with \sep.
+% \Subject - the abstract.
+% \Org - publishers.
+%
+% Copyright information:
+%
+% \Copyright - a copyright statement.
+% \CopyrightURL - location of a web page describing the owner
+% and/or rights statement for this document.
+% \Copyrighted - 'True' if the document is copyrighted, and
+% 'False' if it isn't. This is automatically set
+% to 'True' if either \Copyright or \CopyrightURL
+% is specified, but can be overridden. For
+% example, if the copyright statement is "Public
+% Domain", this should be set to 'False'.
+%
+
+
+\Title {Title of your Work}
+
+% Multiple Authors: {Prename Surname\sep Prename Surname}
+\Author {Prename Surname}
+
+\Copyright {Copyright \copyright\ 2018 "Prename Surname"}
+
+\Keywords {some keyword\sep
+ another keyword\sep
+ some more keywords}
+
+\Subject {This is where you put the abstract.}
+
+\Org {Universität Wien / University of Vienna}
+
+\Copyrighted {True}
+
+% That's it.
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-wlg-article.pdf b/macros/latex/contrib/univie-ling/doc/templates/template-wlg-article.pdf
new file mode 100644
index 0000000000..3f2849c4b8
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-wlg-article.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/templates/template-wlg-article.tex b/macros/latex/contrib/univie-ling/doc/templates/template-wlg-article.tex
new file mode 100644
index 0000000000..536237d1b1
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/templates/template-wlg-article.tex
@@ -0,0 +1,76 @@
+% Template for a single WLG article
+%
+% DOCUMENT CLASS OPTIONS:
+%
+% titlepage=specialprint Output special print ("Sonderdruck") title page
+% suitable for single articles
+% titlepage=issue Output title page for whole journal issue
+% biblatex=true Load biblatex (with univie-ling style) internally
+% covington=false Do not load covingtion package (Linguistic macros)
+% expertfonts=true Use MinionPro instead of Crimson
+\documentclass[titlepage=specialprint]{univie-ling-wlg}
+
+\usepackage[utf8]{inputenc}
+
+% Supported languages: naustrian, ngerman, english
+\RequirePackage[naustrian]{babel}
+
+% This is just for the dummy text
+% Remove this and the \blind... macros for real documents
+\usepackage{blindtext}
+
+%
+% EDITORIAL SETTINGS
+%
+% Start page number (default: 1)
+%\startpage{15}
+% Journal issue number and year
+\issue{80}{2017}
+% Title and subtitle of special issue
+%\issuetitle{Titel des Themenhefts}
+%\issuesubtitle{Untertitel des Themenhefts}
+% Editor(s) of special issue
+%\issueeditors{Vorname Name, Vorname Name und Vorname Name}
+
+
+\begin{document}
+
+% \aff: affiliationaof authors. The starred version marks the corresponding author [m = male] [f = female] [p = plural]
+\author[Pan \and Meier]{Peter Pan\aff{Peter Pan, Institut für Experimentellen Bl\"odsinn, 66890 Neverland, pan@ieb.nv}
+ \and Paula Meier\aff*[f]{Paula Meier, Institut für Angewandten Unsinn, 11201 Utopos, meier@iau.edu}}
+
+\title{Aufsatztitel}
+\subtitle{Untertitel}
+
+\maketitle
+
+\begin{abstract}
+% dummy text
+\blindtext[1]
+\end{abstract}
+
+\keywords{Applied Linguistics, Discourse Analysis, Sociolinguistics, Text Analysis}
+
+\section{Abschnitt}
+
+\motto[Quelle]{Ein schickes Motto}
+
+\blindtext
+
+\begin{displayquote}
+% dummy text
+\blindtext
+\end{displayquote}
+% dummy text
+\blindtext
+
+% dummy text
+\blindlistlist[3]{itemize}
+
+% dummy text
+\blindtext
+
+% dummy text
+\blindlistlist[3]{enumerate}
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/univie-ling-expose.pdf b/macros/latex/contrib/univie-ling/doc/univie-ling-expose.pdf
new file mode 100644
index 0000000000..44743fba7e
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/univie-ling-expose.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/univie-ling-expose.tex b/macros/latex/contrib/univie-ling/doc/univie-ling-expose.tex
new file mode 100644
index 0000000000..2e5b42d01e
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/univie-ling-expose.tex
@@ -0,0 +1,372 @@
+\documentclass[english]{article}
+
+\usepackage[osf]{libertine}
+\usepackage[scaled=0.7]{beramono}
+\usepackage[T1]{fontenc}
+\usepackage[latin9]{inputenc}
+\usepackage{url}
+\usepackage[pdfusetitle,
+ bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
+ breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]
+ {hyperref}
+
+% Tweak the TOC (make it more compact)
+\usepackage{tocloft}
+\setlength{\cftaftertoctitleskip}{6pt}
+\setlength{\cftbeforesecskip}{0pt}
+\setlength{\cftbeforesubsecskip}{0pt}
+\renewcommand{\cfttoctitlefont}{\normalsize\bfseries}
+\renewcommand{\cftsecfont}{\small\bfseries}
+\renewcommand{\cftsecpagefont}{\small\bfseries}
+\renewcommand{\cftsubsecfont}{\small}
+\renewcommand{\cftsubsecpagefont}{\small}
+
+% markup
+\newcommand*\jmacro[1]{\textbf{\texttt{#1}}}
+\newcommand*\jcsmacro[1]{\jmacro{\textbackslash{#1}}}
+\newcommand*\joption[1]{\textbf{\texttt{#1}}}
+\newcommand*\jfmacro[1]{\texttt{#1}}
+\newcommand*\jfcsmacro[1]{\jfmacro{\textbackslash{#1}}}
+
+% macros
+\newcommand*\uvlt{\textsf{univie-ling-expose}}
+\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
+
+% improve layout
+\tolerance 1414
+\hbadness 1414
+\emergencystretch 1.5em
+\hfuzz 0.3pt
+\widowpenalty = 10000
+\vfuzz \hfuzz
+\raggedbottom
+
+% Conditiona pagebreak
+\def\condbreak#1{%
+ \vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax}
+
+\usepackage{microtype}
+
+\usepackage{babel}
+
+\usepackage{listings}
+\lstset{language={[LaTeX]TeX},
+ basicstyle={\small\ttfamily},
+ frame=single}
+
+\setcounter{tocdepth}{2}
+
+\begin{document}
+
+\title{The \uvlt\ class}
+
+\author{\texorpdfstring{Jürgen Spitzmüller%
+\thanks{Please report issues via \protect\url{https://github.com/jspitz/univie-ling}.}}{Jürgen Spitzmüller}}
+
+\date{Version 1.9, 2019/01/21}
+
+\maketitle
+
+\begin{abstract}
+\noindent The \uvlt\ class provides a \LaTeXe\ class suitable for those research proposals (\emph{Exposés}) that are required in the context of the public presentation of a dissertation project (\emph{FÖP}) at the University of Vienna.%
+\footnote{\url{http://doktorat.univie.ac.at/en/doctorate-university-of-vienna/research-proposal/}.}
+The class implements some standards for these proposals (such as a suitable title page). It is particularly suited for
+projects in the field of (Applied) Linguistics and pre-loads some packages that are considered useful in this disciplinary context.
+The class might also be used for General and Historical Linguistics as well as for other fields of study at Vienna University.
+In this case, however, some settings might have to be adjusted. This manual documents the class as well as the configuration possibilities.
+\end{abstract}
+
+\tableofcontents
+
+\clearpage
+
+\section{Aims and scope}
+
+The \uvlt\ class has been written mainly with my own field in mind: Applied Linguistics. Therefore, the defaults are closely tied to
+the requirements in this field. This particularly concerns the preloaded bibliography style, which conforms to the standards that are proposed by the Viennese Applied Linguistics staff (see sec.~\ref{bibliography}). Furthermore, some frequently used
+packages (such as \textsf{covington}) are pre-loaded. As documented later, however, you can disable this (and other) default(s), use
+a bibliography style of your choice and load alternative packages.
+
+The design matches as closely as necessary the standards set up within the university. This particularly concerns the
+title page, which takes the recommendations specified by the \emph{StudienServiceCenter} as a model.\footnote{%
+\url{http://ssc-philkultur.univie.ac.at/studium/masterstudien/abgabe-der-masterarbeit} <25.\,01.\,2017>.}
+These specifications actually address theses, not research proposals (for which no title page specifications exist), but I think it makes sense
+to adapt them. Furthermore, the guidelines of the \emph{Doktorats-Studienprogrammleitung} of the Faculty of Philological
+and Cultural Studies (DSPL\,42) that prescribe font selection and line spacing are followed.\footnote{Published in German, see
+\url{http://ssc-philkultur.univie.ac.at/fileadmin/user_upload/studentpoint/Pref_Kultur/SSC_Philologisch/Verbindliche_Richtlinien_für_Exposés.pdf}}
+
+\section{Requirements of \uvlt}\label{sec:req-jslp}
+
+The following class and packages are required and loaded by \uvlt:
+\begin{itemize}
+ \setlength\itemsep{0pt}
+ \item \textsf{scrartcl}: KOMA-Script article class (base class).
+ \item \textsf{csquotes}: Context sensitive quotations.
+ \item \textsf{datetime2}: Date localization.
+ \item \textsf{graphicx}: Graphic support.
+ \item \textsf{scrlayer-scrpage}: Page layout settings.
+ \item \textsf{setspace}: Line spacing adjustments.
+ \item \textsf{translations}: Localization machinery.
+ \item \textsf{url}: Support for typesetting URLs.
+ \item \textsf{xkeyval}: Key-value interface for class options.
+\end{itemize}
+The following packages are required for specific features and loaded by default. However, the loading can be individually and generally omitted (see sec.~\ref{coptions}):
+\begin{itemize}
+ \setlength\itemsep{0pt}
+ \item \textsf{mathptmx}: Default serif font (\emph{Times New Roman}).
+ \item \textsf{urw-arial} or \textsf{helvet}: Default sans serif font (\emph{Arial} or \emph{Helvetica}).
+ \item \textsf{biblatex}: Contemporary bibliography support.
+ \item \textsf{caption}: Caption layout adjustments.
+ \item \textsf{covington}: Support for linguistic examples\slash glosses.
+ \item \textsf{fontenc}: Set the font encoding for PostScript fonts. Loaded with option \joption{T1}.
+ \item \textsf{inputenc}: Set the input encoding of the document. The encoding used is \joption{utf8}.
+ \item \textsf{microtype}: Micro-typographic adjustments.
+ \item \textsf{prettyref}: Verbose cross-references.
+ \item \textsf{varioref}: Context-sensitive cross references.
+\end{itemize}
+The following package is required for an optional feature (not used by default):
+\begin{itemize}
+ \setlength\itemsep{0pt}
+ \item \textsf{biblatex-apa}: APA style for \textsf{biblatex}.
+ \item \textsf{fontspec}: Load OpenType fonts (with LuaTeX or XeTeX)
+\end{itemize}
+
+\section{Fonts}\label{fonts}
+
+The class uses, by default, PostScript (a.\,k.\,a. Type\,1) fonts and thus requires classic (PDF)LaTeX. Optionally, however, you can also use OpenType fonts via the \textsf{fontspec}
+package and the XeTeX or LuaTeX engine instead. In order to do this, use the class option \joption{fonts=otf} (see sec.~\ref{coptions} for details).
+
+In both cases, the class uses by default \emph{Times New Roman} as a serif font and \emph{Arial} (or, alternatively, \emph{Helvetica}) as a sans serif font. Note that \emph{Arial} (PostScript) font support is not
+included in most \LaTeX\ distributions by default, due to license reasons. You can install it easily via the \textsf{getnonfreefonts} script.\footnote{\url{https://www.tug.org/fonts/getnonfreefonts}
+<25.\,01.\,2017>.}
+If \emph{Arial} is not installed, however, \emph{Helvetica} (which is part of the \LaTeX\ core packages) is used as a fallback. This is usually a suitable alternative, since \emph{Arial} and
+\emph{Helvetica} only differ in subtle details. If you use \joption{fonts=otf}, you just have to make sure that you have the fonts \emph{Arial} and \emph{Times New Roman}
+installed on your operating system (with exactly these names, i.\,e., fonts named \emph{Arial Unicode MS} or \emph{Times} will not be recognized!).
+
+If you want (or need) to load all fonts manually, you can switch off all automatic font loading by the class option \joption{fonts=none} (see sec.~\ref{coptions}).
+
+
+\section{Class Options}\label{coptions}
+
+The \uvlt\ class provides a range of key=value type options to control the font handling, package loading and some specific behavior.
+These are documented in this section.
+
+\subsection{Font selection}
+
+As elaborated above, the package supports PostScript fonts (via LaTeX and PDFLaTeX) as well as OpenType fonts (via XeTeX and LuaTeX).
+PostScript is the traditional LaTeX font format. Specific LaTeX packages and metrics files are needed to use the fonts (but all fonts
+needed to use this class should be included in your LaTeX distribution and thus ready to use). OpenType fonts, by contrast, are
+taken directly from the operating system. They usually provide a wider range of glyphs, which might be a crucial factor for a linguistic
+paper. However, they can only be used by newer, partly still experimental TeX engines such as XeTeX and LuaTeX.
+
+The class provides the following option to set the font handling:
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{fonts=ps|otf|none}}: if \joption{ps} is selected, PostScript fonts are used (this is the default and
+ the correct choice if you use LaTeX or PDFLaTeX); if \joption{otf} is selected, OpenType fonts are used, the class
+ loads the \textsf{fontspec} package, sets \emph{Times New Roman} as main font and \emph{Arial} as sans serif font (this is
+ the correct choice if you use XeTeX or LuaTeX; make sure you have the respective fonts installed on your system);
+ if \joption{none} is selected, finally, the class will not load any font package at all, and neither \textsf{inputenc}
+ nor \textsf{fontenc} (this choice is useful if you want to control the font handling completely yourself).
+\end{description}
+
+\subsection{Package loading}\label{packageloading}
+
+Most of the extra features provided by the class can be switched off. This might be useful if you do not need the respective feature anyway,
+and crucial if you need an alternative package that conflicts with one of the preloaded package.
+
+All following options are \joption{true} by default. They can be switched off one-by-one via the value \joption{false}, or altogether, by means of the special option \joption{all=false}. You can also switch selected packages on\slash off again after this
+option (e.\,g., \joption{all=false,microtype=true} will switch off all packages except \textsf{microtype}).
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{apa=true|false}}: If \joption{true}, the \textsf{biblatex-apa} style is used when \textsf{biblatex} is loaded.
+ By default, the included \textsf{univie-ling} style is loaded, instead. See sec.~\ref{bibliography} for details.
+ \item{\joption{biblatex=true|false}}: If \joption{false}, \textsf{biblatex} is not loaded. This is useful if you prefer Bib\TeX\
+ over \textsf{biblatex}, but also if you neither want to use the preloaded \textsf{univie-ling} style nor the
+ alternative \textsf{biblatex-apa} style (i.\,e., if you want to load \textsf{biblatex} manually with different options).
+ See sec.~\ref{bibliography} for details.
+ \item{\joption{caption=true|false}}: If \joption{false}, the \textsf{caption} package is not loaded. This affects the caption layout.
+ \item{\joption{covington=true|false}}: If \joption{false}, \textsf{covington} is not loaded. Covington is used for numbered examples.
+ \item{\joption{microtype=true|false}}: If \joption{false}, \textsf{microtype} is not loaded.
+ \item{\joption{ref=true|false}}: If \joption{false}, both \textsf{prettyref} and \textsf{varioref} are not loaded and the string (re)definitons
+ of the class (concerning verbose cross references) are omitted.
+\end{description}
+
+\subsection{Further options}
+
+The class builds on \textsf{scrartcl} (KOMA article), which provides many more options to tweak the appearance of your document. You can use
+all these options via the \jfcsmacro{KOMAoptions} macro. Please refer to the \textsf{KOMA-Script} manual \cite{koma} for details.\condbreak{3\baselineskip}
+
+\section{General settings}
+
+In this section, it is explained how you can enter some general settings, particular the information that must be given on the title page.
+The title page, following the model given in university guidelines for theses, is automatically set up by the \jcsmacro{maketitle} command,
+given that you have specified the following data in the preamble.
+
+\subsection{Author-related data}
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{author\{<name>\}}}: Name of the proposal's author.
+ \item{\jcsmacro{studienkennzahl\{<code>\}}}: The degree programme code (\emph{Studienkennzahl}) as it appears on
+ the student record sheet, e.\,g. \emph{A\,792\,327}.
+ \item{\jcsmacro{studienrichtung\{<field of study>\}}}: Your degree programme (\emph{Studienrichtung}) or field of study (\emph{Dissertationsgebiet}) as it appears on
+ the student record sheet, e.\,g. \emph{Sprachwissenschaft}.
+\end{description}
+
+
+\subsection{Project-related data}
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{title\{<title>\}}}: Title of the dissertation project.
+ \item{\jcsmacro{subtitle\{<subtitle>\}}}: Subtitle of the dissertation project.
+ \item{\jcsmacro{supervisor\{<name>\}}}: Title and name of your (main) supervisor.
+ \item{\jcsmacro{cosupervisor\{<name>\}}}: Title and name of your co-supervisor.
+ \item{\jcsmacro{advisor\{<name(s)>\}}}: Title(s) and name(s) of the advisory board members (\emph{Doktoratsbeirat}).
+\end{description}
+
+\section{Semantic markup}
+
+The class defines some basic semantic markup common in linguistics:
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{Expression\{<text>\}}}: To mark expressions (object language). Typeset in \emph{italics}.
+ \item{\jcsmacro{Concept\{<text>\}}}: To mark concepts. Typeset in \textsc{small capitals}.
+ \item{\jcsmacro{Meaning\{<text>\}}}: To mark meaning. Typeset in `single quotation marks'.
+\end{description}
+You can redefine each of these commands, if needed, like this:
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={enquote}]
+\renewcommand*\Expression[1]{\textit{#1}}
+\renewcommand*\Concept[1]{\textsc{#1}}
+\renewcommand*\Meaning[1]{\enquote*{#1}}
+\end{lstlisting}
+
+\section{Linguistic examples and glosses}
+
+The class automatically loads the \textsf{covington} package which provides macros for examples and glosses.
+Please refer to the \textsf{covington} manual \cite{covington} for details.
+
+\section{Bibliography}\label{bibliography}
+
+\subsection{Default bibliography style (\emph{Unified Style for Linguistics})}
+
+By default, the \uvlt\ class loads a bibliography style which matches the conventions that are recommended by the Applied Linguistics staff of the department.\footnote{See \url{http://www.spitzmueller.org/docs/Zitierkonventionen.pdf}} These conventions draw on the
+\emph{Unified Style Sheet for Linguistics} of the LSA (\emph{Linguistic Society of America}), a style that is also quite common in General Linguistics nowadays.
+In order to conform to this style, the \uvlt\ class uses the \textsf{biblatex} package with the \textsf{univie-ling} style that is included in the \uvlt\ package.
+
+If you are in Applied Linguistics, using the default style is highly recommended. The style recommended until 2017, namely APA/DGPs, is also still supported, but its use is no longer encouraged; see sec.~\ref{sec:apa-usage} for details. If you want/need to use a different style, please refer to section~\ref{sec:bib-different} for instructions.
+
+\subsection{Using APA/DGPs style}\label{sec:apa-usage}
+
+Until 2017, rather than the Unified Style, the Applied Linguistics staff recommended conventions that drew on the citation style guide of the APA
+(\emph{American Psychological Association}) and its adaptation for German by the DGPs (\emph{Deutsche Gesellschaft für Psychologie}).
+
+For backwards compatibility reasons, this style is still supported (though not recommended). You can enable it with the package option \joption{apa=true}.
+
+If you want to use APA/DGPs style, consider the following caveats.
+
+\begin{itemize}
+ \item For full conformance with the APA/DGPs conventions (particularly with regard to the rather tricky handling of ``and'' vs. ``\&'' in- and outside of parentheses), it is mandatory that you adequately use the respective \textsf{biblatex}(\textsf{-apa}) citation commands: Use \jfcsmacro{textcite} for all inline citations and \jfcsmacro{parencite} for all parenthesized citations (instead of manually wrapping \jfcsmacro{cite} in parentheses). If you cannot avoid manually set parentheses that contain citations, use \jfcsmacro{nptextcite} (a \textsf{biblatex-apa}-specific command) inside them.\footnote{ Please refer to \cite{bibltx} and \cite{apabibltx} for detailed instructions.} For quotations, it is recommended to use the quotation macros\slash environments provided by the \textsf{csquotes} package (which is preloaded by \uvlt\ anyway);
+ the \uvlt\ class assures that citations are correct if you use the optional arguments of
+ those commands\slash macros in order to insert references.
+
+ \item The \textsf{biblatex-apa} style automatically lowercases English titles. This conforms to the APA (and DGPs) conventions, which favour ``sentence casing'' over ``title casing''. English titles, from \textsf{biblatex}'s point of view, are titles of bibliographic entries that are either coded as \joption{english} via the \joption{LangID} entry field or that have no \joption{LangID} coding but appear in an English document (i.\,e., a document with main language English). Consequently, if the document's main language is English, all non-English entries need to be linguistically coded (via \joption{LangID}) in order to prevent erroneous lowercasing, since \textsf{biblatex} assumes that non-identified entries use the main language (hence, such a classification is also important for correct hyphenation of the entries).\\
+ Note that up to \textsf{biblatex} 3.3, the document language was not taken into account by the lowercasing automatism and all non-classified entries were treated like English entries (and thus lowercased), notwithstanding the main language; therefore, any entry needed to be coded. Even if this misbehaviour is fixed as of \textsf{biblatex} 3.4, it is still advisable to systematically set the proper \joption{LangID}, since this is a prerequisite for a correct multilingual bibliography.
+
+ \item The lowercasing automatism described above cannot deal properly with manual punctuation inside titles. Hence, a title such as \texttt{Maintitle.~A subtitle} will come out as \emph{Main title. a subtitle}. There are several ways to avoid that. The most proper one is to use the \textsf{title} and \textsf{subtitle} fields rather than adding everything to \textsf{title}. Alternatively, everything that is nested inside braces will not get lowercased, i.\,e. \texttt{Maintitle.~\{A\} subtitle} will produce the correct result. This trick is also needed for names and other elements that should not get lowercased (\texttt{Introduction to \{Germanic\} linguistics}). However, please do not configure your BibTeX editor to generally embrace titles (this is a feature provided by many editors) since this will prevent \textsf{biblatex-apa} from lowercasing at places where it should be done.
+
+ \item The \textsf{biblatex-apa} style requires that you use \textsf{biber} as a
+ bibliography processor instead of \textsf{bibtex} (the program). See \cite{biber}
+ for details.
+\end{itemize}
+
+\subsection{Using a different style}\label{sec:bib-different}
+
+If you do not want or are not supposed to use neither the default Unified nor the APA/DGPs style, you can disable automatic \textsf{biblatex} loading via the class option \joption{biblatex=false} (see sec.~\ref{packageloading}). In this case, you will need to load
+your own style manually, by entering the respective \textsf{biblatex} or Bib\TeX\ commands.
+
+One case where you need to do that is if you prefer classic Bib\TeX\ over \textsf{biblatex}.
+If you want to follow the Applied Linguistics conventions, but prefer classic Bib\TeX\ over \textsf{biblatex}, a Bib\TeX\ style file \textsf{unified.bst} that implements the \emph{Unified Style Sheet for Linguistics} is available on the Internet.\footnote{\url{http://celxj.org/downloads/unified.bst}} Note, though, that this package does not have specific support for German, so it is only really suitable if you write in English. Thus, if you want to follow the Applied Linguistics conventions, it is strongly recommended that you use \textsf{biblatex} with the preloaded \textsf{univie-ling} style.
+
+\section{Further instructions}
+
+\subsection{Commands and environments}
+
+Since the class draws on \textsf{scrartcl}, you can use all commands and environments provided by \textsf{KOMA article} in order to structure and typeset your document.
+Please refer to the comprehensive KOMA-Script manual \cite{koma} for information.
+
+Please also refer to the template files included in the package for some further usage instructions and hints.
+
+\subsection{\LyX\ layouts and templates}
+
+A layout for \LyX\footnote{See \url{https://www.lyx.org}.}\ can be retrieved from \url{https://github.com/jspitz/univie-ling/raw/master/lyx/layouts/univie-ling-expose.layout}.
+
+Templates are provided as well:
+\begin{itemize}
+ \item English template:\\
+ \url{https://github.com/jspitz/univie-ling/raw/master/lyx/templates/template-univie-ling-expose-english.lyx}
+ \item German template:\\
+ \url{https://github.com/jspitz/univie-ling/raw/master/lyx/templates/template-univie-ling-expose-deutsch.lyx}
+\end{itemize}
+
+\section{Release History}
+
+\begin{description}
+ \item 2019/01/21 (v.\,1.9) No change to this class.
+ \item 2019/01/15 (v.\,1.8) No change to this class.
+ \item 2018/11/07 (v.\,1.7) No change to this class.
+ \item 2018/11/04 (v.\,1.6) Remove \jmacro{subexamples} environment as this is now
+ provided by \textsf{covington}.
+ \item 2018/09/03 (v.\,1.5) Introduce \jmacro{subexamples} environment.
+ \item 2018/04/26 (v.\,1.4) Fix full date issue in biblatex bibliography style.
+ \item 2018/03/02 (v.\,1.3) No change to this class.
+ \item 2018/02/13 (v.\,1.2) No change to this class.
+ \item 2018/02/11 (v.\,1.1) No change to this class.
+ \item 2018/02/08 (v.\,1.0)
+ \begin{itemize}
+ \item Switch default bibliography style (from APA to Unified).
+ \item Initial release to CTAN.
+ \end{itemize}
+ \item 2016/05/05 (v.\,0.7)
+ \begin{itemize}
+ \item Fix comma after \emph{et al.} with \textsf{biblatex-apa}.
+ \end{itemize}
+ \item 2016/04/30 (v.\,0.6)
+ \begin{itemize}
+ \item Set proper citation command for csquotes' integrated environments.
+ \item Improve templates.
+ \end{itemize}
+ \item 2016/03/23 (v.\,0.5)
+ \begin{itemize}
+ \item Fix the output of German multi-name citations (DGPs guidelines).
+ \item Extend documentation of bibliographic features.
+ \end{itemize}
+ \item 2016/01/29 (v.\,0.4) Initial release.
+\end{description}
+
+\begin{thebibliography}{1}
+
+\bibitem{covington} Covington, Michael A. and Spitzmüller, Jürgen:
+\emph{The covington Package. Macros for Linguistics}. September 7, 2018.
+\url{http://www.ctan.org/pkg/covington}.
+
+\bibitem{apabibltx} Kime, Philip:
+\emph{APA Bib\LaTeX\ style. Citation and References macros for Bib\LaTeX}. March 3, 2016.
+\url{http://www.ctan.org/pkg/biblatex-apa}.
+
+\bibitem{biber} Kime, Philip and Charette, Fran\c{c}ois:
+\emph{Biber. A backend bibliography processor for biblatex}. March 6, 2016.
+\url{http://www.ctan.org/pkg/biber}.
+
+\bibitem{koma} Kohm, Markus (2015): KOMA-Script. The Guide. URL: \url{http://www.ctan.org/pkg/koma-script}.
+
+\bibitem{bibltx} Lehman, Philipp (with Audrey Boruvka, Philip Kime and Joseph Wright):
+\emph{The biblatex Package. Programmable Bibliographies and Citations}. March 3, 2016.
+\url{http://www.ctan.org/pkg/biblatex}.
+
+\end{thebibliography}
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/univie-ling-paper.pdf b/macros/latex/contrib/univie-ling/doc/univie-ling-paper.pdf
new file mode 100644
index 0000000000..d0d41dec34
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/univie-ling-paper.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/univie-ling-paper.tex b/macros/latex/contrib/univie-ling/doc/univie-ling-paper.tex
new file mode 100644
index 0000000000..859ac65c0d
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/univie-ling-paper.tex
@@ -0,0 +1,406 @@
+\documentclass[english]{article}
+
+\usepackage[osf]{libertine}
+\usepackage[scaled=0.7]{beramono}
+\usepackage[T1]{fontenc}
+\usepackage[latin9]{inputenc}
+\usepackage{url}
+\usepackage[pdfusetitle,
+ bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
+ breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]
+ {hyperref}
+
+% Tweak the TOC (make it more compact)
+\usepackage{tocloft}
+\setlength{\cftaftertoctitleskip}{6pt}
+\setlength{\cftbeforesecskip}{3pt}
+\setlength{\cftbeforesubsecskip}{-1.5pt}
+\renewcommand{\cfttoctitlefont}{\normalsize\bfseries}
+\renewcommand{\cftsecfont}{\small\bfseries}
+\renewcommand{\cftsecpagefont}{\small\bfseries}
+\renewcommand{\cftsubsecfont}{\small}
+\renewcommand{\cftsubsecpagefont}{\small}
+
+% markup
+\newcommand*\jmacro[1]{\textbf{\texttt{#1}}}
+\newcommand*\jcsmacro[1]{\jmacro{\textbackslash{#1}}}
+\newcommand*\joption[1]{\textbf{\texttt{#1}}}
+\newcommand*\jfmacro[1]{\texttt{#1}}
+\newcommand*\jfcsmacro[1]{\jfmacro{\textbackslash{#1}}}
+
+% macros
+\newcommand*\uvlt{\textsf{univie-ling-paper}}
+\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
+
+% improve layout
+\tolerance 1414
+\hbadness 1414
+\emergencystretch 1.5em
+\hfuzz 0.3pt
+\widowpenalty = 10000
+\vfuzz \hfuzz
+\raggedbottom
+
+\usepackage{microtype}
+
+\usepackage{babel}
+
+\usepackage{listings}
+\lstset{language={[LaTeX]TeX},
+ basicstyle={\small\ttfamily},
+ frame=single}
+
+\setcounter{tocdepth}{2}
+
+\begin{document}
+
+\title{The \uvlt\ class}
+
+\author{\texorpdfstring{Jürgen Spitzmüller%
+ \thanks{Please report issues via \protect\url{https://github.com/jspitz/univie-ling}.}}{Jürgen Spitzmüller}}
+
+\date{Version 1.9, 2019/01/21}
+
+\maketitle
+
+\begin{abstract}
+\noindent The \uvlt\ class provides a \LaTeXe\ class suitable for papers (i.\,e., [\emph{Pro}]\emph{Seminararbeiten}) in (Applied)
+Linguistics at the Department of Linguistics, University of Vienna.
+The class implements some standards for those papers (such as a suitable title page) and pre-loads some packages
+that are considered useful in the context of Applied Linguistics. The class might also be used for General and Historical
+Linguistics as well as for other fields of study at Vienna University. In this case, however, some settings might have to
+be adjusted. This manual documents the class as well as the configuration possibilities.
+\end{abstract}
+
+\tableofcontents
+
+\clearpage
+
+\section{Aims and scope}
+
+The \uvlt\ class has been written mainly with my own field in mind: Applied Linguistics. Therefore, the defaults are closely tied to
+the requirements in this field. This particularly concerns the preloaded bibliography style, which conforms to the standards that are proposed by the Viennese Applied Linguistics staff (see sec.~\ref{bibliography}). Furthermore, some frequently used
+packages (such as \textsf{covington}) are pre-loaded. As documented later, however, you can disable this (and other) default(s), use
+a bibliography style of your choice and load alternative packages.
+
+The design matches as closely as necessary the standards set up by the university. This particularly concerns the
+title page, which takes the recommendations specified by the \emph{StudienServiceCenter} as a model.\footnote{%
+\url{http://ssc-philkultur.univie.ac.at/studium/masterstudien/abgabe-der-masterarbeit} <25.\,01.\,2017>.}
+These specifications actually address theses, not research proposals (for which no title page specifications exist), but I think it makes sense
+to adapt them.
+
+\section{Requirements of \uvlt}\label{sec:req-jslp}
+
+The following class and packages are required and loaded by \uvlt:
+\begin{itemize}
+ \setlength\itemsep{0pt}
+ \item \textsf{scrartcl}: KOMA-Script article class (base class).
+ \item \textsf{csquotes}: Context sensitive quotations.
+ \item \textsf{graphicx}: Graphic support.
+ \item \textsf{scrlayer-scrpage}: Page layout settings.
+ \item \textsf{setspace}: Line spacing adjustments.
+ \item \textsf{translations}: Localization machinery.
+ \item \textsf{url}: Support for typesetting URLs.
+ \item \textsf{xkeyval}: Key-value interface for class options.
+\end{itemize}
+The following packages are required for specific features and loaded by default. However, the loading can be individually and generally omitted (see sec.~\ref{coptions}):
+\begin{itemize}
+ \setlength\itemsep{0pt}
+ \item \textsf{mathpazo}: Default serif font (\emph{Palatino}).
+ \item \textsf{urw-arial} or \textsf{helvet}: Default sans serif font (\emph{Arial} or \emph{Helvetica}).
+ \item \textsf{biblatex}: Contemporary bibliography support.
+ \item \textsf{caption}: Caption layout adjustments.
+ \item \textsf{covington}: Support for linguistic examples\slash glosses.
+ \item \textsf{fontenc}: Set the font encoding for PostScript fonts. Loaded with option \joption{T1}.
+ \item \textsf{inputenc}: Set the input encoding of the document. The encoding used is \joption{utf8}.
+ \item \textsf{microtype}: Micro-typographic adjustments.
+ \item \textsf{prettyref}: Verbose cross-references.
+ \item \textsf{varioref}: Context-sensitive cross references.
+\end{itemize}
+The following package is required for an optional feature (not used by default):
+\begin{itemize}
+ \setlength\itemsep{0pt}
+ \item \textsf{fontspec}: Load OpenType fonts (with LuaTeX or XeTeX)
+ \item \textsf{biblatex-apa}: APA style for \textsf{biblatex}.
+\end{itemize}
+
+\section{Fonts}\label{fonts}
+
+The class uses, by default, PostScript (a.\,k.\,a. Type\,1) fonts and thus requires classic (PDF)LaTeX. Optionally, however, you can also use OpenType fonts via the \textsf{fontspec}
+package and the XeTeX or LuaTeX engine instead. In order to do this, use the class option \joption{fonts=otf} (see sec.~\ref{coptions} for details).
+
+In both cases, the class uses by default \emph{Palatino} as a serif font and \emph{Arial} (or, alternatively, \emph{Helvetica}) as a sans serif font. Note that \emph{Arial} (PostScript) font support is not
+included in most \LaTeX\ distributions by default, due to license reasons. You can install it easily via the \textsf{getnonfreefonts} script.\footnote{\url{https://www.tug.org/fonts/getnonfreefonts}
+<25.\,01.\,2017>.}
+If \emph{Arial} is not installed, however, \emph{Helvetica} (which is part of the \LaTeX\ core packages) is used as a fallback. This is usually a suitable alternative, since \emph{Arial} and
+\emph{Helvetica} only differ in subtle details. If you use \joption{fonts=otf}, you just have to make sure that you have the fonts \emph{Arial} and \emph{Palatino}
+installed on your operating system (with exactly these names, i.\,e., fonts named \emph{Arial Unicode MS} or \emph{Linotype Palatino} will not be recognized!).
+
+I have prefered \emph{Palatino} over the serif font specified by the corporate design of Vienna University (viz.\ \emph{Georgia}) for the following reasons. Firstly, \emph{Georgia} support is
+not included in every \LaTeX\ distribution; it is provided by the packages \textsf{winfonts} and \textsf{mathgifg}, respectively, but it requires some effort to set up these packages properly.
+Secondly, the style guide for theses does not urge you to use a specific serif font (only the use of \emph{Arial} for title pages is strongly advised), so there is no need to use \emph{Georgia}.
+And finally, \emph{Georgia} has been designed particularly for screen reading, not for print, so it is not really a good choice.
+If you want to use it anyway, please consult the aforementioned package's documentation for details.
+
+If you (or your instructor) prefer(s) \emph{Times New Roman} over \emph{Palatino}, write to your preamble
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single]
+\usepackage{mathptmx}
+\end{lstlisting}
+if you use PostScriptFonts, or
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={setmainfont}]
+\setmainfont{Times New Roman}
+\end{lstlisting}
+if you use \joption{fonts=otf}, respectively. Note that \emph{Times New Roman}, as the name implies, has been designed for newspapers and thus narrow columns. It is not really
+a suitable font for books and articles on A4 paper. This is why it is not used by default.
+
+A recommendable serif font (and actually the `professional' house font of Vienna university) is \emph{MinionPro}, supported by the excellent \textsf{FontPro} package.%
+\footnote{\url{https://github.com/sebschub/FontPro} <25.\,01.\,2017>.} However, some effort is needed to install the package and fonts.
+Please refer to the package's documentation in case you are interested.
+
+If you want (or need) to load all fonts manually, you can switch off all automatic font loading by the class option \joption{fonts=none} (see sec.~\ref{coptions}).
+
+
+\section{Class Options}\label{coptions}
+
+The \uvlt\ class provides a range of key=value type options to control the font handling, package loading and some specific behavior.
+These are documented in this section.
+
+\subsection{Font selection}
+
+As elaborated above, the package supports PostScript fonts (via LaTeX and PDFLaTeX) as well as OpenType fonts (via XeTeX and LuaTeX).
+PostScript is the traditional LaTeX font format. Specific LaTeX packages and metrics files are needed to use the fonts (but all fonts
+needed to use this class should be included in your LaTeX distribution and thus ready to use). OpenType fonts, by contrast, are
+taken directly from the operating system. They usually provide a wider range of glyphs, which might be a crucial factor for a linguistic
+paper. However, they can only be used by newer, partly still experimental TeX engines such as XeTeX and LuaTeX.
+
+The class provides the following option to set the font handling:
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{fonts=ps|otf|none}}: if \joption{ps} is selected, PostScript fonts are used (this is the default and
+ the correct choice if you use LaTeX or PDFLaTeX); if \joption{otf} is selected, OpenType fonts are used, the class
+ loads the \textsf{fontspec} package, sets \emph{Palatino} as main font and \emph{Arial} as sans serif font (this is
+ the correct choice if you use XeTeX or LuaTeX; make sure you have the respective fonts installed on your system);
+ if \joption{none} is selected, finally, the class will not load any font package at all, and neither \textsf{inputenc}
+ nor \textsf{fontenc} (this choice is useful if you want to control the font handling completely yourself).
+\end{description}
+
+\subsection{Package loading}\label{packageloading}
+
+Most of the extra features provided by the class can be switched off. This might be useful if you do not need the respective feature anyway,
+and crucial if you need an alternative package that conflicts with one of the preloaded package.
+
+All following options are \joption{true} by default. They can be switched off one-by-one via the value \joption{false}, or altogether, by means of the special option \joption{all=false}. You can also switch selected packages on\slash off again after this
+option (e.\,g., \joption{all=false,microtype=true} will switch off all packages except \textsf{microtype}).
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{apa=true|false}}: If \joption{true}, the \textsf{biblatex-apa} style is used when \textsf{biblatex} is loaded.
+ By default, the included \textsf{univie-ling} style is loaded, instead. See sec.~\ref{bibliography} for details.
+ \item{\joption{biblatex=true|false}}: If \joption{false}, \textsf{biblatex} is not loaded. This is useful if you prefer Bib\TeX\
+ over \textsf{biblatex}, but also if you neither want to use the preloaded \textsf{univie-ling} style nor the
+ alternative \textsf{biblatex-apa} style (i.\,e., if you want to load \textsf{biblatex} manually with different options).
+ See sec.~\ref{bibliography} for details.
+ \item{\joption{caption=true|false}}: If \joption{false}, the \textsf{caption} package is not loaded. This affects the caption layout.
+ \item{\joption{covington=true|false}}: If \joption{false}, \textsf{covington} is not loaded. Covington is used for numbered examples.
+ \item{\joption{microtype=true|false}}: If \joption{false}, \textsf{microtype} is not loaded.
+ \item{\joption{ref=true|false}}: If \joption{false}, both \textsf{prettyref} and \textsf{varioref} are not loaded and the string (re)definitons
+ of the class (concerning verbose cross references) are omitted.
+\end{description}
+
+\subsection{Further options}
+
+The class builds on \textsf{scrartcl} (KOMA article), which provides many more options to tweak the appearance of your document. You can use
+all these options via the \jfcsmacro{KOMAoptions} macro. Please refer to the \textsf{KOMA-Script} manual \cite{koma} for details.
+
+\section{General settings}
+
+In this section, it is explained how you can enter some general settings, particular the information that must be given on the title page.
+The title page, following the model given in university guidelines for theses, is automatically set up by the \jcsmacro{maketitle} command,
+given that you have specified the following data in the preamble.
+
+\subsection{Author-related data}
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{author\{<name>\}}}: Name(s) of the paper's author(s). Separate multiple authors by \jcsmacro{and}.
+ \item{\jcsmacro{studienkennzahl\{<code>\}}}: The degree programme code (\emph{Studienkennzahl}) as it appears on
+ the student record sheet, e.\,g. \emph{A\,792\,327}.
+ \item{\jcsmacro{matrikelnummer\{<registration number>\}}}: Your registration number (\emph{Matrikelnummer}). In case of multiple authors, separate the codes by \jcsmacro{and}.
+\end{description}
+
+
+\subsection{Paper-related data}
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{title\{<title>\}}}: Title of the paper.
+ \item{\jcsmacro{subtitle\{<subtitle>\}}}: Subtitle of the paper.
+ \item{\jcsmacro{course\{<type>\}\{<course title>\}}}: Type and title of the course. The type must be one of \joption{ps} (Proseminar), \joption{se} (Seminar),
+ \joption{vo} (Vorlesung), \joption{ue} (\"Ubung), \joption{ko} (Kolloquium) or \joption{pv} (Privatissimum).
+ \item{\jcsmacro{semester\{<semester type>\}\{<year>\}}}: Type and year of the current semester. Type must be either \joption{ss} (summer term) or \joption{ws} (winter term).
+ \item{\jcsmacro{instructor\{<name>\}}}: Title and name of your instructor (\emph{Dozent}).
+ \item{\jcsmacro{texttype\{<text type>\}}}: Text type (such as \emph{Forschungsbericht}). For \joption{ps} and \joption{se} course types, this is automatically set.
+\end{description}
+
+\section{Declaration}
+
+It is possible to automatically generate a page with a declaration where you declare and sign that you follow research ethics\slash anti-plagiarism rules
+(\emph{Selbst\"andigkeitserkl\"arung}) by means of the command
+
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={makedeclaration}]
+\makedeclaration
+\end{lstlisting}
+
+\section{Semantic markup}
+
+The class defines some basic semantic markup common in linguistics:
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{Expression\{<text>\}}}: To mark expressions (object language). Typeset in \emph{italics}.
+ \item{\jcsmacro{Concept\{<text>\}}}: To mark concepts. Typeset in \textsc{small capitals}.
+ \item{\jcsmacro{Meaning\{<text>\}}}: To mark meaning. Typeset in `single quotation marks'.
+\end{description}
+You can redefine each of these commands, if needed, like this:
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={enquote}]
+\renewcommand*\Expression[1]{\textit{#1}}
+\renewcommand*\Concept[1]{\textsc{#1}}
+\renewcommand*\Meaning[1]{\enquote*{#1}}
+\end{lstlisting}
+
+\section{Linguistic examples and glosses}
+
+The class automatically loads the \textsf{covington} package which provides macros for examples and glosses.
+Please refer to the \textsf{covington} manual \cite{covington} for details.
+
+\section{Bibliography}\label{bibliography}
+
+\subsection{Default bibliography style (\emph{Unified Style for Linguistics})}
+
+By default, the \uvlt\ class loads a bibliography style which matches the conventions that are recommended by the Applied Linguistics staff of the department.\footnote{See \url{http://www.spitzmueller.org/docs/Zitierkonventionen.pdf}} These conventions draw on the
+\emph{Unified Style Sheet for Linguistics} of the LSA (\emph{Linguistic Society of America}), a style that is also quite common in General Linguistics nowadays.
+In order to conform to this style, the \uvlt\ class uses the \textsf{biblatex} package with the \textsf{univie-ling} style that is included in the \uvlt\ package.
+
+If you are in Applied Linguistics, using the default style is highly recommended. The style recommended until 2017, namely APA/DGPs, is also still supported, but its use is no longer encouraged; see sec.~\ref{sec:apa-usage} for details. If you want/need to use a different style, please refer to section~\ref{sec:bib-different} for instructions.
+
+\subsection{Using APA/DGPs style}\label{sec:apa-usage}
+
+Until 2017, rather than the Unified Style, the Applied Linguistics staff recommended conventions that drew on the citation style guide of the APA
+(\emph{American Psychological Association}) and its adaptation for German by the DGPs (\emph{Deutsche Gesellschaft für Psychologie}).
+
+For backwards compatibility reasons, this style is still supported (though not recommended). You can enable it with the package option \joption{apa=true}.
+
+If you want to use APA/DGPs style, consider the following caveats.
+
+\begin{itemize}
+ \item For full conformance with the APA/DGPs conventions (particularly with regard to the rather tricky handling of ``and'' vs. ``\&'' in- and outside of parentheses), it is mandatory that you adequately use the respective \textsf{biblatex}(\textsf{-apa}) citation commands: Use \jfcsmacro{textcite} for all inline citations and \jfcsmacro{parencite} for all parenthesized citations (instead of manually wrapping \jfcsmacro{cite} in parentheses). If you cannot avoid manually set parentheses that contain citations, use \jfcsmacro{nptextcite} (a \textsf{biblatex-apa}-specific command) inside them.\footnote{ Please refer to \cite{bibltx} and \cite{apabibltx} for detailed instructions.} For quotations, it is recommended to use the quotation macros\slash environments provided by the \textsf{csquotes} package (which is preloaded by \uvlt\ anyway);
+ the \uvlt\ class assures that citations are correct if you use the optional arguments of
+ those commands\slash macros in order to insert references.
+
+ \item The \textsf{biblatex-apa} style automatically lowercases English titles. This conforms to the APA (and DGPs) conventions, which favour ``sentence casing'' over ``title casing''. English titles, from \textsf{biblatex}'s point of view, are titles of bibliographic entries that are either coded as \joption{english} via the \joption{LangID} entry field or that have no \joption{LangID} coding but appear in an English document (i.\,e., a document with main language English). Consequently, if the document's main language is English, all non-English entries need to be linguistically coded (via \joption{LangID}) in order to prevent erroneous lowercasing, since \textsf{biblatex} assumes that non-identified entries use the main language (hence, such a classification is also important for correct hyphenation of the entries).\\
+ Note that up to \textsf{biblatex} 3.3, the document language was not taken into account by the lowercasing automatism and all non-classified entries were treated like English entries (and thus lowercased), notwithstanding the main language; therefore, any entry needed to be coded. Even if this misbehaviour is fixed as of \textsf{biblatex} 3.4, it is still advisable to systematically set the proper \joption{LangID}, since this is a prerequisite for a correct multilingual bibliography.
+
+ \item The lowercasing automatism described above cannot deal properly with manual punctuation inside titles. Hence, a title such as \texttt{Maintitle.~A subtitle} will come out as \emph{Main title. a subtitle}. There are several ways to avoid that. The most proper one is to use the \textsf{title} and \textsf{subtitle} fields rather than adding everything to \textsf{title}. Alternatively, everything that is nested inside braces will not get lowercased, i.\,e. \texttt{Maintitle.~\{A\} subtitle} will produce the correct result. This trick is also needed for names and other elements that should not get lowercased (\texttt{Introduction to \{Germanic\} linguistics}). However, please do not configure your BibTeX editor to generally embrace titles (this is a feature provided by many editors) since this will prevent \textsf{biblatex-apa} from lowercasing at places where it should be done.
+
+ \item The \textsf{biblatex-apa} style requires that you use \textsf{biber} as a
+ bibliography processor instead of \textsf{bibtex} (the program). See \cite{biber}
+ for details.
+\end{itemize}
+
+\subsection{Using a different style}\label{sec:bib-different}
+
+If you do not want or are not supposed to use neither the default Unified nor the APA/DGPs style, you can disable automatic \textsf{biblatex} loading via the class option \joption{biblatex=false} (see sec.~\ref{packageloading}). In this case, you will need to load
+your own style manually, by entering the respective \textsf{biblatex} or Bib\TeX\ commands.
+
+One case where you need to do that is if you prefer classic Bib\TeX\ over \textsf{biblatex}.
+If you want to follow the Applied Linguistics conventions, but prefer classic Bib\TeX\ over \textsf{biblatex}, a Bib\TeX\ style file \textsf{unified.bst} that implements the \emph{Unified Style Sheet for Linguistics} is available on the Internet.\footnote{\url{http://celxj.org/downloads/unified.bst}} Note, though, that this package does not have specific support for German, so it is only really suitable if you write in English. Thus, if you want to follow the Applied Linguistics conventions, it is strongly recommended that you use \textsf{biblatex} with the preloaded \textsf{univie-ling} style.
+
+\section{Further instructions}
+
+\subsection{Commands and environments}
+
+Since the class draws on \textsf{scrartcl}, you can use all commands and environments provided by \textsf{KOMA article} in order to structure and typeset your document.
+Please refer to the comprehensive KOMA-Script manual \cite{koma} for information.
+
+Please also refer to the template files included in the package for some further usage instructions and hints.
+
+\subsection{\LyX\ layouts and templates}
+
+A layout for \LyX\footnote{See \url{https://www.lyx.org}.}\ can be retrieved from \url{https://github.com/jspitz/univie-ling/raw/master/lyx/layouts/univie-ling-paper.layout}.
+
+Templates are provided as well:
+\begin{itemize}
+ \item English template:\\
+ \url{https://github.com/jspitz/univie-ling/raw/master/lyx/templates/template-univie-ling-paper-english.lyx}
+ \item German template:\\
+ \url{https://github.com/jspitz/univie-ling/raw/master/lyx/templates/template-univie-ling-paper-deutsch.lyx}
+\end{itemize}
+
+\section{Release History}
+
+\begin{itemize}
+ \item 2019/01/21 (v.\,1.9) No change to this class.
+ \item 2019/01/15 (v.\,1.8) Fix encoding of German declaration string.
+ \item 2018/11/07 (v.\,1.7) No change to this class.
+ \item 2018/11/04 (v.\,1.6) Remove \jmacro{subexamples} environment as this is now
+ provided by \textsf{covington}.
+ \item 2018/09/03 (v.\,1.5) Introduce \jmacro{subexamples} environment.
+ \item 2018/04/26 (v.\,1.4) Fix full date issue in biblatex bibliography style.
+ \item 2018/03/02 (v.\,1.3) No change to this class.
+ \item 2018/02/13 (v.\,1.2) No change to this class.
+ \item 2018/02/11 (v.\,1.1) No change to this class.
+ \item 2018/02/08 (v.\,1.0)
+ \begin{itemize}
+ \item Switch default bibliography style (from APA to Unified).
+ \item Initial release to CTAN.
+ \end{itemize}
+ \item 2016/09/07 (v.\,0.8)
+ \begin{itemize}
+ \item Improve \jcsmacro{makedeclaration} output.
+ \end{itemize}
+ \item 2016/05/05 (v.\,0.7)
+ \begin{itemize}
+ \item Fix comma after \emph{et al.} with \textsf{biblatex-apa}.
+ \end{itemize}
+ \item 2016/04/30 (v.\,0.6)
+ \begin{itemize}
+ \item Reset the alignment after declaration.
+ \item Set proper citation command for csquotes' integrated environments.
+ \item Improve templates.
+ \end{itemize}
+ \item 2016/03/23 (v.\,0.5)
+ \begin{itemize}
+ \item Fix the output of German multi-name citations (DGPs guidelines).
+ \item Extend documentation of bibliographic features.
+ \end{itemize}
+ \item 2016/01/25 (v.\,0.4): First (documented) release.
+ \begin{itemize}
+ \item Add \jcsmacro{makedeclaration} command.
+ \item Possibility to disable some pre-loaded packages.
+ \item Use key=value option format.
+ \end{itemize}
+\end{itemize}
+
+\begin{thebibliography}{1}
+
+\bibitem{covington} Covington, Michael A. and Spitzmüller, Jürgen:
+\emph{The covington Package. Macros for Linguistics}. September 7, 2018.
+\url{http://www.ctan.org/pkg/covington}.
+
+\bibitem{apabibltx} Kime, Philip:
+\emph{APA Bib\LaTeX\ style. Citation and References macros for Bib\LaTeX}. March 3, 2016.
+\url{http://www.ctan.org/pkg/biblatex-apa}.
+
+\bibitem{biber} Kime, Philip and Charette, Fran\c{c}ois:
+\emph{Biber. A backend bibliography processor for biblatex}. March 6, 2016.
+\url{http://www.ctan.org/pkg/biber}.
+
+\bibitem{koma} Kohm, Markus (2015): KOMA-Script. The Guide. URL: \url{http://www.ctan.org/pkg/koma-script}.
+
+\bibitem{bibltx} Lehman, Philipp (with Audrey Boruvka, Philip Kime and Joseph Wright):
+\emph{The biblatex Package. Programmable Bibliographies and Citations}. March 3, 2016.
+\url{http://www.ctan.org/pkg/biblatex}.
+
+\end{thebibliography}
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.pdf b/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.pdf
new file mode 100644
index 0000000000..f7cdd4f59e
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex b/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex
new file mode 100644
index 0000000000..1ee24a3dad
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex
@@ -0,0 +1,437 @@
+\documentclass[english]{article}
+
+\usepackage[osf]{libertine}
+\usepackage[scaled=0.7]{beramono}
+\usepackage[T1]{fontenc}
+\usepackage[latin9]{inputenc}
+\usepackage{url}
+\usepackage[pdfusetitle,
+ bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
+ breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]
+ {hyperref}
+
+% Tweak the TOC (make it more compact)
+\usepackage{tocloft}
+\setlength{\cftaftertoctitleskip}{6pt}
+\setlength{\cftbeforesecskip}{3pt}
+\setlength{\cftbeforesubsecskip}{-1.5pt}
+\renewcommand{\cfttoctitlefont}{\normalsize\bfseries}
+\renewcommand{\cftsecfont}{\small\bfseries}
+\renewcommand{\cftsecpagefont}{\small\bfseries}
+\renewcommand{\cftsubsecfont}{\small}
+\renewcommand{\cftsubsecpagefont}{\small}
+
+% markup
+\newcommand*\jmacro[1]{\textbf{\texttt{#1}}}
+\newcommand*\jcsmacro[1]{\jmacro{\textbackslash{#1}}}
+\newcommand*\joption[1]{\textbf{\texttt{#1}}}
+\newcommand*\jfmacro[1]{\texttt{#1}}
+\newcommand*\jfcsmacro[1]{\jfmacro{\textbackslash{#1}}}
+
+% macros
+\newcommand*\uvlt{\textsf{univie-ling-thesis}}
+\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
+
+% improve layout
+\tolerance 1414
+\hbadness 1414
+\emergencystretch 1.5em
+\hfuzz 0.3pt
+\widowpenalty = 10000
+\vfuzz \hfuzz
+\raggedbottom
+
+\usepackage{microtype}
+
+\usepackage{babel}
+
+\usepackage{listings}
+\lstset{language={[LaTeX]TeX},
+ basicstyle={\small\ttfamily},
+ frame=single}
+
+\setcounter{tocdepth}{2}
+
+\begin{document}
+
+\title{The \uvlt\ class}
+
+\author{\texorpdfstring{Jürgen Spitzmüller%
+ \thanks{Please report issues via \protect\url{https://github.com/jspitz/univie-ling}.}}{Jürgen Spitzmüller}}
+
+\date{Version 1.9, 2019/01/21}
+
+\maketitle
+
+\begin{abstract}
+\noindent The \uvlt\ class provides a \LaTeXe\ class suitable for Bachelor's, Master's, Diploma and Doctoral theses in
+(Applied) Linguistics at the Department of Linguistics, University of Vienna.
+The class implements some standards required for those theses (such as a suitable title page) and pre-loads some packages
+that are considered useful in the context of Applied Linguistics. The class might also be used for General and Historical
+Linguistics as well as for other fields of study at Vienna University. In this case, however, some settings might have to
+be adjusted. This manual documents the class as well as the configuration possibilities.
+\end{abstract}
+
+\tableofcontents
+
+\clearpage
+
+\section{Aims and scope}
+
+The \uvlt\ class has been written mainly with my own field in mind: Applied Linguistics. Therefore, the defaults are closely tied to
+the requirements in this field. This particularly concerns the preloaded bibliography style, which conforms to the standards that are proposed by the Viennese Applied Linguistics staff (see sec.~\ref{bibliography}). Furthermore, some frequently used
+packages (such as \textsf{covington}) are pre-loaded. As documented later, however, you can disable this (and other) default(s), use
+a bibliography style of your choice and load alternative packages.
+
+The design matches as closely as necessary the standards set up by the university. This particularly concerns the
+title page, which follows the recommendations specified by the \emph{StudienServiceCenter}.\footnote{%
+See \url{http://ssc-philkultur.univie.ac.at/studium/masterstudien/abgabe-der-masterarbeit} for master's theses,
+\url{http://ssc-philkultur.univie.ac.at/studium/doktoratsstudium-neu-792-xxx/dissertation} for doctoral theses <25.\,01.\,2017>.}
+
+\section{Requirements of \uvlt}\label{sec:req-jslp}
+
+The following class and packages are required and loaded by \uvlt:
+\begin{itemize}
+ \setlength\itemsep{0pt}
+ \item \textsf{scrreprt}: KOMA-Script report class (base class).
+ \item \textsf{array}: Tabular extensions.
+ \item \textsf{csquotes}: Context sensitive quotations.
+ \item \textsf{geometry}: Page layout settings.
+ \item \textsf{graphicx}: Graphic support.
+ \item \textsf{scrlayer-scrpage}: Page header settings.
+ \item \textsf{setspace}: Line spacing adjustments.
+ \item \textsf{translations}: Localization machinery.
+ \item \textsf{url}: Support for typesetting URLs.
+ \item \textsf{xkeyval}: Key-value interface for class options.
+\end{itemize}
+The following packages are required for specific features and loaded by default. However, the loading can be individually and generally omitted (see sec.~\ref{coptions}):
+\begin{itemize}
+ \setlength\itemsep{0pt}
+ \item \textsf{mathpazo}: Default serif font (\emph{Palatino}).
+ \item \textsf{urw-arial} or \textsf{helvet}: Default sans serif font (\emph{Arial} or \emph{Helvetica}).
+ \item \textsf{biblatex}: Contemporary bibliography support.
+ \item \textsf{caption}: Caption layout adjustments.
+ \item \textsf{covington}: Support for linguistic examples\slash glosses.
+ \item \textsf{fontenc}: Set the font encoding for PostScript fonts. Loaded with option \joption{T1}.
+ \item \textsf{inputenc}: Set the input encoding of the document. The encoding used is \joption{utf8}.
+ \item \textsf{microtype}: Micro-typographic adjustments.
+ \item \textsf{prettyref}: Verbose cross-references.
+ \item \textsf{varioref}: Context-sensitive cross references.
+\end{itemize}
+The following package is required for an optional feature (not used by default):
+\begin{itemize}
+ \setlength\itemsep{0pt}
+ \item \textsf{biblatex-apa}: APA style for \textsf{biblatex}.
+ \item \textsf{fontspec}: Load OpenType fonts (with LuaTeX or XeTeX)
+\end{itemize}
+
+\section{Fonts}\label{fonts}
+
+The class uses, by default, PostScript (a.\,k.\,a. Type\,1) fonts and thus requires classic (PDF)LaTeX. Optionally, however, you can also use OpenType fonts via the \textsf{fontspec}
+package and the XeTeX or LuaTeX engine instead. In order to do this, use the class option \joption{fonts=otf} (see sec.~\ref{coptions} for details).
+
+In both cases, the class uses by default \emph{Palatino} as a serif font and \emph{Arial} (or, alternatively, \emph{Helvetica}) as a sans serif font. Note that \emph{Arial} (PostScript) font support is not
+included in most \LaTeX\ distributions by default, due to license reasons. You can install it easily via the \textsf{getnonfreefonts} script.\footnote{\url{https://www.tug.org/fonts/getnonfreefonts}
+<25.\,01.\,2017>.}
+If \emph{Arial} is not installed, however, \emph{Helvetica} (which is part of the \LaTeX\ core packages) is used as a fallback. This is usually a suitable alternative, since \emph{Arial} and
+\emph{Helvetica} only differ in subtle details. If you use \joption{fonts=otf}, you just have to make sure that you have the fonts \emph{Arial} and \emph{Palatino}
+installed on your operating system (with exactly these names, i.\,e., fonts named \emph{Arial Unicode MS} or \emph{Linotype Palatino} will not be recognized!).
+
+I have prefered \emph{Palatino} over the serif font specified by the corporate design of Vienna University (viz.\ \emph{Georgia}) for the following reasons. Firstly, \emph{Georgia} support is
+not included in every \LaTeX\ distribution; it is provided by the packages \textsf{winfonts} and \textsf{mathgifg}, respectively, but it requires some effort to set up these packages properly.
+Secondly, the style guide for theses does not urge you to use a specific serif font (only the use of \emph{Arial} for title pages is strongly advised), so there is no need to use \emph{Georgia}.
+And finally, \emph{Georgia} has been designed particularly for screen reading, not for print, so it is not really a good choice.
+If you want to use it anyway, please consult the aforementioned package's documentation for details.
+
+If you (or your instructor) prefer(s) \emph{Times New Roman} over \emph{Palatino}, write to your preamble
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single]
+\usepackage{mathptmx}
+\end{lstlisting}
+if you use PostScriptFonts, or
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={setmainfont}]
+\setmainfont{Times New Roman}
+\end{lstlisting}
+if you use \joption{fonts=otf}, respectively. Note that \emph{Times New Roman}, as the name implies, has been designed for newspapers and thus narrow columns. It is not really
+a suitable font for books and articles on A4 paper. This is why it is not used by default.
+
+A recommendable serif font (and actually the `professional' house font of Vienna university) is \emph{MinionPro}, supported by the excellent \textsf{FontPro} package.%
+\footnote{\url{https://github.com/sebschub/FontPro} <25.\,01.\,2017>.} However, some effort is needed to install the package and fonts.
+Please refer to the package's documentation in case you are interested.
+
+If you want (or need) to load all fonts manually, you can switch off all automatic font loading by the class option \joption{fonts=none} (see sec.~\ref{coptions}).
+
+
+\section{Class Options}\label{coptions}
+
+The \uvlt\ class provides a range of key=value type options to control the font handling, package loading and some specific behavior.
+These are documented in this section.
+
+\subsection{Font selection}
+
+As elaborated above, the package supports PostScript fonts (via LaTeX and PDFLaTeX) as well as OpenType fonts (via XeTeX and LuaTeX).
+PostScript is the traditional LaTeX font format. Specific LaTeX packages and metrics files are needed to use the fonts (but all fonts
+needed to use this class should be included in your LaTeX distribution and thus ready to use). OpenType fonts, by contrast, are
+taken directly from the operating system. They usually provide a wider range of glyphs, which might be a crucial factor for a linguistic
+thesis. However, they can only be used by newer, partly still experimental TeX engines such as XeTeX and LuaTeX.
+
+The class provides the following option to set the font handling:
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{fonts=ps|otf|none}}: if \joption{ps} is selected, PostScript fonts are used (this is the default and
+ the correct choice if you use LaTeX or PDFLaTeX); if \joption{otf} is selected, OpenType fonts are used, the class
+ loads the \textsf{fontspec} package, sets \emph{Palatino} as main font and \emph{Arial} as sans serif font (this is
+ the correct choice if you use XeTeX or LuaTeX; make sure you have the respective fonts installed on your system);
+ if \joption{none} is selected, finally, the class will not load any font package at all, and neither \textsf{inputenc}
+ nor \textsf{fontenc} (this choice is useful if you want to control the font handling completely yourself).
+\end{description}
+
+\subsection{Package loading}\label{packageloading}
+
+Most of the extra features provided by the class can be switched off. This might be useful if you do not need the respective feature anyway,
+and crucial if you need an alternative package that conflicts with one of the preloaded package.
+
+All following options are \joption{true} by default. They can be switched off one-by-one via the value \joption{false}, or altogether, by means of the special option \joption{all=false}. You can also switch selected packages on\slash off again after this
+option (e.\,g., \joption{all=false,microtype=true} will switch off all packages except \textsf{microtype}).
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{apa=true|false}}: If \joption{true}, the \textsf{biblatex-apa} style is used when \textsf{biblatex} is loaded.
+ By default, the included \textsf{univie-ling} style is loaded, instead. See sec.~\ref{bibliography} for details.
+ \item{\joption{biblatex=true|false}}: If \joption{false}, \textsf{biblatex} is not loaded. This is useful if you prefer Bib\TeX\
+ over \textsf{biblatex}, but also if you neither want to use the preloaded \textsf{univie-ling} style nor the
+ alternative \textsf{biblatex-apa} style (i.\,e., if you want to load \textsf{biblatex} manually with different options).
+ See sec.~\ref{bibliography} for details.
+ \item{\joption{caption=true|false}}: If \joption{false}, the \textsf{caption} package is not loaded. This affects the caption layout.
+ \item{\joption{covington=true|false}}: If \joption{false}, \textsf{covington} is not loaded. Covington is used for numbered examples.
+ \item{\joption{microtype=true|false}}: If \joption{false}, \textsf{microtype} is not loaded.
+ \item{\joption{ref=true|false}}: If \joption{false}, both \textsf{prettyref} and \textsf{varioref} are not loaded and the string (re)definitons
+ of the class (concerning verbose cross references) are omitted.
+\end{description}
+
+\subsection{Further options}
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{fdegree=true|false}}: Prefer feminine forms for the targeted degree on the title page (such as \emph{Magistra}, \emph{Doktorin}). Default: \joption{false}.
+\end{description}
+The class builds on \textsf{scrreprt} (KOMA report), which provides many more options to tweak the appearance of your document. You can use
+all these options via the \jfcsmacro{KOMAoptions} macro. Please refer to the \textsf{KOMA-Script} manual \cite{koma} for details.
+
+\section{General settings}
+
+In this section, it is explained how you can enter some general settings, particular the information that must be given on the title page.
+The title page, following the university guidelines, is automatically set up by the \jcsmacro{maketitle} command, given that you have specified
+the following data in the preamble.
+
+\subsection{Author-related data}
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{author\{<name>\}}}: Name of the thesis author. Separate multiple authors by \jcsmacro{and}.
+ \item{\jcsmacro{studienkennzahl\{<code>\}}}: The degree programme code (\emph{Studienkennzahl}) as it appears on
+ the student record sheet, e.\,g. \emph{A\,792\,327}.
+ \item{\jcsmacro{studienrichtung\{<field of study>\}}}: Your degree programme (\emph{Studienrichtung}) or field of study (\emph{Dissertationsgebiet}) as it appears on
+ the student record sheet, e.\,g. \emph{Sprachwissenschaft}.
+\end{description}
+
+
+\subsection{Thesis-related data}
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{thesistype\{<type>\}}}: The type of your thesis. Possible values include \joption{magister} (Magisterarbeit), \joption{diplom} (Diploma Thesis),
+ \joption{bachelor} (Bachelor's Thesis), \joption{master} (Master's Thesis) and \joption{diss} (Doctoral Thesis).
+ \item{\jcsmacro{title\{<title>\}}}: Title of the thesis.
+ \item{\jcsmacro{subtitle\{<subtitle>\}}}: Subtitle of the thesis.
+ \item{\jcsmacro{volume\{<current>\}\{<total>\}}}: If your thesis consists of multiple volumes, specifiy the current volume as well as the total number of volumes.
+ \item{\jcsmacro{supervisor\{<name>\}}}: Title and name of your (main) supervisor.
+ \item{\jcsmacro{cosupervisor\{<name>\}}}: Title and name of your co-supervisor.
+\end{description}
+The suitable degree (\emph{Angestrebter akademischer Grad}) is automatically set by the \jcsmacro{thesistype} command, but you can override it with the optional command \jcsmacro{degree\{<custom degree>\}}.
+Note that female forms of degrees, where appropriate, are used if you use the class option \joption{fdegree=true} (see sec.~\ref{coptions}).
+
+\section{Semantic markup}\label{markup}
+
+The class defines some basic semantic markup common in linguistics:
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{Expression\{<text>\}}}: To mark expressions (object language). Typeset in \emph{italics}.
+ \item{\jcsmacro{Concept\{<text>\}}}: To mark concepts. Typeset in \textsc{small capitals}.
+ \item{\jcsmacro{Meaning\{<text>\}}}: To mark meaning. Typeset in `single quotation marks'.
+\end{description}
+You can redefine each of these commands, if needed, like this:
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={enquote}]
+\renewcommand*\Expression[1]{\textit{#1}}
+\renewcommand*\Concept[1]{\textsc{#1}}
+\renewcommand*\Meaning[1]{\enquote*{#1}}
+\end{lstlisting}
+
+\section{Linguistic examples and glosses}
+
+The class automatically loads the \textsf{covington} package which provides macros for examples and glosses.
+Please refer to the \textsf{covington} manual \cite{covington} for details.
+
+\section{Bibliography}\label{bibliography}
+
+\subsection{Default bibliography style (\emph{Unified Style for Linguistics})}
+
+By default, the \uvlt\ class loads a bibliography style which matches the conventions that are recommended by the Applied Linguistics staff of the department.\footnote{See \url{http://www.spitzmueller.org/docs/Zitierkonventionen.pdf}} These conventions draw on the
+\emph{Unified Style Sheet for Linguistics} of the LSA (\emph{Linguistic Society of America}), a style that is also quite common in General Linguistics nowadays.
+In order to conform to this style, the \uvlt\ class uses the \textsf{biblatex} package with the \textsf{univie-ling} style that is included in the \uvlt\ package.
+
+If you are in Applied Linguistics, using the default style is highly recommended. The style recommended until 2017, namely APA/DGPs, is also still supported, but its use is no longer encouraged; see sec.~\ref{sec:apa-usage} for details. If you want/need to use a different style, please refer to section~\ref{sec:bib-different} for instructions.
+
+\subsection{Using APA/DGPs style}\label{sec:apa-usage}
+
+Until 2017, rather than the Unified Style, the Applied Linguistics staff recommended conventions that drew on the citation style guide of the APA
+(\emph{American Psychological Association}) and its adaptation for German by the DGPs (\emph{Deutsche Gesellschaft für Psychologie}).
+
+For backwards compatibility reasons, this style is still supported (though not recommended). You can enable it with the package option \joption{apa=true}.
+
+If you want to use APA/DGPs style, consider the following caveats.
+
+\begin{itemize}
+ \item For full conformance with the APA/DGPs conventions (particularly with regard to the rather tricky handling of ``and'' vs. ``\&'' in- and outside of parentheses), it is mandatory that you adequately use the respective \textsf{biblatex}(\textsf{-apa}) citation commands: Use \jfcsmacro{textcite} for all inline citations and \jfcsmacro{parencite} for all parenthesized citations (instead of manually wrapping \jfcsmacro{cite} in parentheses). If you cannot avoid manually set parentheses that contain citations, use \jfcsmacro{nptextcite} (a \textsf{biblatex-apa}-specific command) inside them.\footnote{ Please refer to \cite{bibltx} and \cite{apabibltx} for detailed instructions.} For quotations, it is recommended to use the quotation macros\slash environments provided by the \textsf{csquotes} package (which is preloaded by \uvlt\ anyway);
+ the \uvlt\ class assures that citations are correct if you use the optional arguments of
+ those commands\slash macros in order to insert references.
+
+ \item The \textsf{biblatex-apa} style automatically lowercases English titles. This conforms to the APA (and DGPs) conventions, which favour ``sentence casing'' over ``title casing''. English titles, from \textsf{biblatex}'s point of view, are titles of bibliographic entries that are either coded as \joption{english} via the \joption{LangID} entry field or that have no \joption{LangID} coding but appear in an English document (i.\,e., a document with main language English). Consequently, if the document's main language is English, all non-English entries need to be linguistically coded (via \joption{LangID}) in order to prevent erroneous lowercasing, since \textsf{biblatex} assumes that non-identified entries use the main language (hence, such a classification is also important for correct hyphenation of the entries).\\
+ Note that up to \textsf{biblatex} 3.3, the document language was not taken into account by the lowercasing automatism and all non-classified entries were treated like English entries (and thus lowercased), notwithstanding the main language; therefore, any entry needed to be coded. Even if this misbehaviour is fixed as of \textsf{biblatex} 3.4, it is still advisable to systematically set the proper \joption{LangID}, since this is a prerequisite for a correct multilingual bibliography.
+
+ \item The lowercasing automatism described above cannot deal properly with manual punctuation inside titles. Hence, a title such as \texttt{Maintitle.~A subtitle} will come out as \emph{Main title. a subtitle}. There are several ways to avoid that. The most proper one is to use the \textsf{title} and \textsf{subtitle} fields rather than adding everything to \textsf{title}. Alternatively, everything that is nested inside braces will not get lowercased, i.\,e. \texttt{Maintitle.~\{A\} subtitle} will produce the correct result. This trick is also needed for names and other elements that should not get lowercased (\texttt{Introduction to \{Germanic\} linguistics}). However, please do not configure your BibTeX editor to generally embrace titles (this is a feature provided by many editors) since this will prevent \textsf{biblatex-apa} from lowercasing at places where it should be done.
+
+ \item The \textsf{biblatex-apa} style requires that you use \textsf{biber} as a
+ bibliography processor instead of \textsf{bibtex} (the program). See \cite{biber}
+ for details.
+\end{itemize}
+
+\subsection{Using a different style}\label{sec:bib-different}
+
+If you do not want or are not supposed to use neither the default Unified nor the APA/DGPs style, you can disable automatic \textsf{biblatex} loading via the class option \joption{biblatex=false} (see sec.~\ref{packageloading}). In this case, you will need to load
+your own style manually, by entering the respective \textsf{biblatex} or Bib\TeX\ commands.
+
+One case where you need to do that is if you prefer classic Bib\TeX\ over \textsf{biblatex}.
+If you want to follow the Applied Linguistics conventions, but prefer classic Bib\TeX\ over \textsf{biblatex}, a Bib\TeX\ style file \textsf{unified.bst} that implements the \emph{Unified Style Sheet for Linguistics} is available on the Internet.\footnote{\url{http://celxj.org/downloads/unified.bst}} Note, though, that this package does not have specific support for German, so it is only really suitable if you write in English. Thus, if you want to follow the Applied Linguistics conventions, it is strongly recommended that you use \textsf{biblatex} with the preloaded \textsf{univie-ling} style.
+
+\section{Further instructions}
+
+\subsection{Commands and environments}
+
+Since the class draws on \textsf{scrreprt}, you can use all commands and environments provided by \textsf{KOMA report} in order to structure and typeset your document.
+Please refer to the comprehensive KOMA-Script manual \cite{koma} for information.
+
+Please also refer to the template files included in the package for some further usage instructions and hints.
+
+\subsection{Generating PDF/A}
+
+In order to submit your thesis to the \emph{Hochschulschriften-Server}, it must follow the PDF/A-1 or PDF/A-2 standard (a specific form of PDF aimed at long-time archiving).\footnote{\url{http://e-theses.univie.ac.at/pdf-erstellung.html}}
+With PDFLaTeX or LuaTeX, you can achieve PDF/A-1b or PDF/A-2b compliant files by means of the \textsf{pdfx} package. If you do not use specific color profiles in
+your document and provided that all your graphics follow the requirements of
+the PDF/A standard (all fonts embedded, no transparency groups etc.), producing
+a PDF/A-1b compliant file is straightforward. Firstly, put the following to the preamble:
+
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={hypersetup}]
+\usepackage[a-1b]{pdfx}
+\hypersetup{pdfborder={0 0 0}}
+\end{lstlisting}
+The second line is not strictly necessary, but it prevents that colored borders
+are drawn around the hyperlinks in your document.
+
+Secondly, create a text file called \texttt{<name>.xmpdata} (where <name> is to be replaced by the name of your [master] TeX file or the produced PDF file, respectively), which contains some metadata of your document (author's name, title, keywords, etc.). This file needs to be stored next to your TeX file(s). Example \texttt{*.xmpdata} files are included in the \uvlt\ bundle (and used
+in the accompanying templates); you can use them as a model and adapt them to your needs.
+
+Note that \textsf{pdfx} does not verify whether the produced output really conforms to the standard. You need to use a PDF/A verification tool to ensure
+that. If you own Adobe Acrobat Pro, you can use its \emph{preflight} tool for this task. Alternatively, a number of free validation programs and online services are available
+on the Internet.
+
+For detailed instructions, please refer to the \textsf{pdfx} package manual \cite{pdfx}.
+Furthermore, a step-by-step guide to PDF/A generation with PDFLaTeX and \textsf{pdfx} is available at \url{http://www.mathstat.dal.ca/~selinger/pdfa/}.
+
+\subsection{\LyX\ layouts and templates}
+
+A layout for \LyX\footnote{See \url{https://www.lyx.org}.}\ can be retrieved from \url{https://github.com/jspitz/univie-ling/raw/master/lyx/layouts/univie-ling-thesis.layout}.
+
+Templates are provided as well:
+\begin{itemize}
+ \item English template:\\
+ \url{https://github.com/jspitz/univie-ling/raw/master/lyx/templates/template-univie-ling-thesis-english.lyx}
+ \item German template:\\
+ \url{https://github.com/jspitz/univie-ling/raw/master/lyx/templates/template-univie-ling-thesis-deutsch.lyx}
+\end{itemize}
+
+\section{Release History}
+
+\begin{itemize}
+ \item 2019/01/21 (v.\,1.9) No change to this class.
+ \item 2019/01/15 (v.\,1.8) Fix title abbreviations (MA, BA).
+ \item 2018/11/07 (v.\,1.7) No change to this class.
+ \item 2018/11/04 (v.\,1.6) Remove \jmacro{subexamples} environment as this is now
+ provided by \textsf{covington}.
+ \item 2018/09/03 (v.\,1.5) Introduce \jmacro{subexamples} environment.
+ \item 2018/04/26 (v.\,1.4) Fix full date issue in biblatex bibliography style.
+ \item 2018/03/02 (v.\,1.3) No change to this class.
+ \item 2018/02/13 (v.\,1.2) No change to this class.
+ \item 2018/02/11 (v.\,1.1) No change to this class.
+ \item 2018/02/08 (v.\,1.0)
+ \begin{itemize}
+ \item Switch default bibliography style (from APA to Unified).
+ \item Initial release to CTAN.
+ \end{itemize}
+ \item 2016/05/05 (v.\,0.9)
+ \begin{itemize}
+ \item Fix comma after \emph{et al.} with \textsf{biblatex-apa}.
+ \end{itemize}
+ \item 2016/04/30 (v.\,0.8)
+ \begin{itemize}
+ \item Set proper citation command for csquotes' integrated environments.
+ \item Improve templates.
+ \end{itemize}
+ \item 2016/04/28 (v.\,0.7)
+ \begin{itemize}
+ \item Fix leading of thesis type on title page.
+ \end{itemize}
+ \item 2016/03/23 (v.\,0.6)
+ \begin{itemize}
+ \item Fix the output of German multi-name citations (DGPs guidelines).
+ \item Extend documentation of bibliographic features.
+ \end{itemize}
+ \item 2016/02/08 (v.\,0.5)
+ \begin{itemize}
+ \item Fix the PDF logo for PDF/A output.
+ \item Extend documentation of PDF/A production.
+ \end{itemize}
+ \item 2016/01/25 (v.\,0.4) First (documented) release.
+ \begin{itemize}
+ \item Title page layout has been adapted to the new (bilingual) standards.
+ \item add \joption{bachelor} thesis type.
+ \item Possibility to disable some pre-loaded packages.
+ \item Use key=value option format.
+ \end{itemize}
+\end{itemize}
+
+\begin{thebibliography}{1}
+
+\bibitem{covington} Covington, Michael A. and Spitzmüller, Jürgen:
+\emph{The covington Package. Macros for Linguistics}. September 7, 2018.
+\url{http://www.ctan.org/pkg/covington}.
+
+\bibitem{apabibltx} Kime, Philip:
+\emph{APA Bib\LaTeX\ style. Citation and References macros for Bib\LaTeX}. March 3, 2016.
+\url{http://www.ctan.org/pkg/biblatex-apa}.
+
+\bibitem{biber} Kime, Philip and Charette, Fran\c{c}ois:
+\emph{Biber. A backend bibliography processor for biblatex}. March 6, 2016.
+\url{http://www.ctan.org/pkg/biber}.
+
+\bibitem{koma} Kohm, Markus (2015): KOMA-Script. The Guide. URL: \url{http://www.ctan.org/pkg/koma-script}.
+
+\bibitem{bibltx} Lehman, Philipp (with Audrey Boruvka, Philip Kime and Joseph Wright):
+\emph{The biblatex Package. Programmable Bibliographies and Citations}. March 3, 2016.
+\url{http://www.ctan.org/pkg/biblatex}.
+
+\bibitem{pdfx} Radhakrishnan, C.\,V. et al. (2016): Generation of PDF/X and PDF/A compliant PDF's with pdf\TeX -- pdfx.sty. \url{http://www.ctan.org/pkg/pdfx}.
+
+\end{thebibliography}
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/doc/univie-ling-wlg.pdf b/macros/latex/contrib/univie-ling/doc/univie-ling-wlg.pdf
new file mode 100644
index 0000000000..57659d94f6
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/univie-ling-wlg.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/doc/univie-ling-wlg.tex b/macros/latex/contrib/univie-ling/doc/univie-ling-wlg.tex
new file mode 100644
index 0000000000..6c491d7d2d
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/doc/univie-ling-wlg.tex
@@ -0,0 +1,238 @@
+\documentclass[english]{article}
+
+\usepackage[osf]{libertine}
+\usepackage[scaled=0.7]{beramono}
+\usepackage[T1]{fontenc}
+\usepackage[latin9]{inputenc}
+\usepackage{url}
+\usepackage[pdfusetitle,
+ bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
+ breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false]
+ {hyperref}
+
+% Tweak the TOC (make it more compact)
+\usepackage{tocloft}
+\setlength{\cftaftertoctitleskip}{6pt}
+\setlength{\cftbeforesecskip}{3pt}
+\setlength{\cftbeforesubsecskip}{0pt}
+\renewcommand{\cfttoctitlefont}{\normalsize\bfseries}
+\renewcommand{\cftsecfont}{\small\bfseries}
+\renewcommand{\cftsecpagefont}{\small\bfseries}
+\renewcommand{\cftsubsecfont}{\small}
+\renewcommand{\cftsubsecpagefont}{\small}
+
+% markup
+\newcommand*\jmacro[1]{\textbf{\texttt{#1}}}
+\newcommand*\jcsmacro[1]{\jmacro{\textbackslash{#1}}}
+\newcommand*\joption[1]{\textbf{\texttt{#1}}}
+\newcommand*\jfmacro[1]{\texttt{#1}}
+\newcommand*\jfcsmacro[1]{\jfmacro{\textbackslash{#1}}}
+
+% macros
+\newcommand*\uvlt{\textsf{univie-ling-wlg}}
+\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
+
+% improve layout
+\tolerance 1414
+\hbadness 1414
+\emergencystretch 1.5em
+\hfuzz 0.3pt
+\widowpenalty = 10000
+\vfuzz \hfuzz
+\raggedbottom
+
+\usepackage{microtype}
+
+\usepackage{babel}
+
+\usepackage{listings}
+\lstset{language={[LaTeX]TeX},
+ basicstyle={\small\ttfamily},
+ frame=single}
+
+\setcounter{tocdepth}{2}
+
+\begin{document}
+
+\title{The \uvlt\ class}
+
+\author{\texorpdfstring{Jürgen Spitzmüller%
+ \thanks{Please report issues via \protect\url{https://github.com/jspitz/univie-ling}.}}{Jürgen Spitzmüller}}
+
+\date{Version 1.9, 2019/01/21}
+
+\maketitle
+
+\begin{abstract}
+\noindent The \uvlt\ class provides a \LaTeXe\ class suitable for articles in the journal \emph{Wiener Linguistische Gazette} (WLG),
+the house journal of the Department of Linguistics at the University of Vienna.\footnote{See \url{https://wlg.univie.ac.at}.}
+\end{abstract}
+
+\tableofcontents
+
+\clearpage
+
+\section{Aims and scope}
+
+The \uvlt\ class provides a \LaTeXe\ class suitable for articles in the journal \emph{Wiener Linguistische Gazette} (WLG) and should
+be used for contributions to this journal. It comes with suitable \textsf{biblatex} style files that follow the style sheet of the journal.
+
+\section{Fonts}\label{fonts}
+
+The class uses PostScript (a.\,k.\,a. Type\,1) fonts and thus requires classic (PDF)LaTeX.
+
+By default, the class uses by default \emph{Crimson} as a serif font (via the \textsf{cochineal} package).
+Alternatively, the quite similar shaped \emph{MinionPro} can also be used.
+It covers more glyphs and is probably a bit more polished than \emph{Cochineal}, but due to license reasons it is not included in the common
+\LaTeX\ distributions. \emph{MinionPro} is provided by the excellent \textsf{FontPro} package.%
+\footnote{\url{https://github.com/sebschub/FontPro} <25.\,01.\,2017>.} However, some effort is needed to install the package and fonts.
+Please refer to the package's documentation in case you are interested.
+
+If you want to use \emph{MinionPro}, use the class option \joption{expertfonts=true} (see sec.~\ref{coptions}).
+
+
+\section{Class Options}\label{coptions}
+
+The \uvlt\ class provides a range of key=value type options to control the font handling, package loading and some specific behavior.
+These are documented in this section.
+
+\subsection{Font selection}
+
+As elaborated above, the package supports only PostScript fonts (via LaTeX and PDFLaTeX).
+PostScript is the traditional LaTeX font format. Specific LaTeX packages and metrics files are needed to use the fonts (but the default font
+needed to use this class should be included in your LaTeX distribution and thus ready to use).
+
+The class provides the following option to set the font handling:
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{expertfonts=true|false}}: if this option is set to true, \emph{MinionPro} is used instead of \emph{Crimson}.
+ See sec.~\ref{fonts} for details.
+\end{description}
+
+\subsection{Package loading}\label{packageloading}
+
+Some extra features provided by the class can toggled. This might be useful if you do not need the respective feature anyway,
+and crucial if you need an alternative package that conflicts with one of the preloaded package.
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{biblatex=true|false}}: If \joption{true}, \textsf{biblatex} is loaded with a suitable style. This is actually encouraged.
+ See sec.~\ref{bibliography} for details.
+ \item{\joption{covington=true|false}}: If \joption{false}, \textsf{covington} is not loaded. Covington is used for numbered examples.
+\end{description}
+
+\subsection{Titlepage settings}\label{titlepage}
+
+The class can generate a titlepage in two different forms.
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\joption{titlepage=none|specialprint|issue}}: If \joption{none} (default), no titlepage is generated.
+ With \joption{issue}, a title page for a whole journal issue is output.
+ With \joption{specialprint}, a special print (``Sonderdruck'') title page suitable for single articles
+ is generated.
+\end{description}
+
+\section{General settings}
+
+\subsection{Editorial data}
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{startpage\{<page>\}}} Set start pagination (default: 1).
+ \item{\jcsmacro{issue\{<number>\}\{<year>\}}} Set journal issue (number and year)
+ \item{\jcsmacro{issuetitle\{<title>\}}} Set title of special issue
+ \item{\jcsmacro{issuesubtitle\{<subtitle>\}}} Set subtitle of special issue
+ \item{\jcsmacro{issueeditors\{<names>\}}} Set editors of special issue.
+\end{description}
+
+\subsection{Titling}
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{author\{<name>\}}}: Article author(s); multiple authors separated by \jfcsmacro{and}.
+ Author affiliations should be specified via the macro \jcsmacro{aff\{Affilitation\}} immediately behind the author name,
+ using \jcsmacro{aff*[m|f]\{Affilitation\}} for the corresponding author (the optional argument, \joption{f} or \joption{m},
+ specifies the gender)
+ \item{\jcsmacro{title\{<title>\}}}: Title of the paper.
+ \item{\jcsmacro{subtitle\{<subtitle>\}}}: Subtitle.
+\end{description}
+Use \jfcsmacro{maketitle} to set the title after the above settings have been made.
+
+\subsection{Abstract and keywords}
+The abstract is set with the \jmacro{abstract} environment.
+Keywords (following the abstract) are set with the \jcsmacro{keywords\{<comma-separated keywords>\}} macro.
+
+\subsection{Structuring}
+
+The usual sectioning commands are used. For quotations, it is advised to use the display quote environments provided by the \textsf{csquotes}
+package (which is automatically loaded). If you want to start your paper with a smart quote, use
+
+\jcsmacro{motto{[<source>]}\{Motto\}}
+
+\section{Semantic markup}\label{markup}
+
+The class defines some basic semantic markup common in linguistics:
+
+\begin{description}
+ \setlength\itemsep{0pt}
+ \item{\jcsmacro{Expression\{<text>\}}}: To mark expressions (object language). Typeset in \emph{italics}.
+ \item{\jcsmacro{Concept\{<text>\}}}: To mark concepts. Typeset in \textsc{small capitals}.
+ \item{\jcsmacro{Meaning\{<text>\}}}: To mark meaning. Typeset in `single quotation marks'.
+\end{description}
+You can redefine each of these commands, if needed, like this:
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={enquote}]
+\renewcommand*\Expression[1]{\textit{#1}}
+\renewcommand*\Concept[1]{\textsc{#1}}
+\renewcommand*\Meaning[1]{\enquote*{#1}}
+\end{lstlisting}
+
+Furthermore, the class features a \jcsmacro{versal\{<text>\}} macro to typeset capital text and acronyms (slightly scaled and tracked).
+
+
+\section{Linguistic examples and glosses}
+
+The class automatically loads the \textsf{covington} package which provides macros for examples and glosses.
+Please refer to the \textsf{covington} manual \cite{covington} for details.
+
+\section{Bibliography}\label{bibliography}
+
+If the class option \joption{biblatex=true} is set, the \uvlt\ class loads a bibliography style which matches journal style sheet. These conventions draw on the
+\emph{Unified Style Sheet for Linguistics} of the LSA (\emph{Linguistic Society of America}).
+In order to conform to this style, the \uvlt\ class uses the \textsf{biblatex} package with the \textsf{univie-ling} style that is included in the \textsf{univie-ling} bundle.
+
+\section{\LyX\ layouts and templates}
+
+A layout for \LyX\footnote{See \url{https://www.lyx.org}.}\ can be retrieved from \url{https://github.com/jspitz/univie-ling/raw/master/lyx/layouts/univie-ling-wlg.layout}.
+
+A template is provided as well: \url{https://github.com/jspitz/univie-ling/raw/master/lyx/templates/template-wlg-article.lyx}.
+
+\clearpage
+
+\section{Release History}
+
+\begin{itemize}
+ \item 2019/01/21 (v.\,1.9) No change to this class.
+ \item 2019/01/15 (v.\,1.8) No change to this class.
+ \item 2018/11/07 (v.\,1.7) No change to this class.
+ \item 2018/11/04 (v.\,1.6) Remove \jmacro{subexamples} environment as this is now provided by \textsf{covington}.
+ \item 2018/09/03 (v.\,1.5)
+ \begin{itemize}
+ \item Introduce \jmacro{subexamples} environment.
+ \item Fix \joption{expertfonts} option.
+ \end{itemize}
+ \item 2018/04/26 (v.\,1.4) Fix full date issue in biblatex bibliography style.
+ \item 2018/03/02 (v.\,1.3) Add (CC BY-NC-ND-4.0) license statement to copyright page (via \textsf{doclicense} package).
+ \item 2018/02/13 (v.\,1.2) Rename \texttt{wlg.cls} to \texttt{univie-ling-wlg.cls} as per TeXLive request.
+ \item 2018/02/11 (v.\,1.1) Initial release to CTAN.
+\end{itemize}
+
+\begin{thebibliography}{1}
+
+ \bibitem{covington} Covington, Michael A. and Spitzmüller, Jürgen:
+ \emph{The covington Package. Macros for Linguistics}. September 7, 2018.
+ \url{http://www.ctan.org/pkg/covington}.
+
+\end{thebibliography}
+
+\end{document}
diff --git a/macros/latex/contrib/univie-ling/tex/univie-ling-expose.cls b/macros/latex/contrib/univie-ling/tex/univie-ling-expose.cls
new file mode 100644
index 0000000000..c065ef81b7
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/tex/univie-ling-expose.cls
@@ -0,0 +1,689 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% File univie-ling-expose
+%%
+%% PhD Research Proposals in (Applied) Linguistics at the University of Vienna
+%%
+%% This file is part of the univie-ling LaTeX bundle, consisting of:
+%% -- univie-ling-expose.cls: Class for PhD Research Proposals (this file)
+%% -- univie-ling-paper.cls: Class for student papers
+%% -- univie-ling-thesis.cls: Class for BA, MA or PhD theses
+%% -- univie-ling-wlg.cls: Class for the journal Wiener Linguistische Gazette
+%% -- univie-logo-sw.pdf: University of Vienna logo
+%% -- univie-ling-wlg-logo.pdf: Logo of the journal Wiener Linguistische Gazette
+%% -- univie-ling.bbx: Biblatex bibliography style
+%% -- univie-ling.cbx: Biblatex citation style
+%%
+%% Author: Juergen Spitzmueller
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Juergen Spitzmueller.
+%% Please report issues to https://github.com/jspitz/univie-ling/issues
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{univie-ling-expose}[2019/01/21 v1.9 Univie Linguistic Exposes (JSp)]
+
+\RequirePackage{xkeyval}
+
+\newif\ifbiblatex\biblatextrue
+\newif\ifapa\apafalse
+\newif\ifcaptionp\captionptrue
+\newif\ifrefsp\refsptrue
+\newif\ifcovington\covingtontrue
+\newif\ifmicrotype\microtypetrue
+
+% all=<true|false>
+% Load all packages
+\define@boolkey+{uvt}{all}[true]{%
+ \ifKV@uvt@all
+ \biblatextrue
+ \captionptrue
+ \refsptrue
+ \covingtontrue
+ \microtypetrue
+ \else
+ \biblatexfalse
+ \captionpfalse
+ \refspfalse
+ \covingtonfalse
+ \microtypefalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-expose}{unknown 'all' value}%
+}
+\DeclareOptionX{all}{\setkeys{uvt}{all=#1}}
+
+% biblatex=<true|false>
+% Load biblatex
+\define@boolkey+{uvt}{biblatex}[true]{%
+ \ifKV@uvt@biblatex
+ \biblatextrue
+ \else
+ \biblatexfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-expose}{unknown biblatex value}%
+}
+\DeclareOptionX{biblatex}{\setkeys{uvt}{biblatex=#1}}
+
+% apa=<true|false>
+% Load APA style
+\define@boolkey+{uvt}{apa}[true]{%
+ \ifKV@uvt@biblatex
+ \apatrue
+ \else
+ \apafalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown apa value}%
+}
+\DeclareOptionX{apa}{\setkeys{uvt}{apa=#1}}
+
+% caption=<true|false>
+% Load caption
+\define@boolkey+{uvt}{caption}[true]{%
+ \ifKV@uvt@caption
+ \captionptrue
+ \else
+ \captionpfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-expose}{unknown caption value}%
+}
+\DeclareOptionX{caption}{\setkeys{uvt}{caption=#1}}
+
+% ref=<true|false>
+% Load varioref and prettyref
+\define@boolkey+{uvt}{ref}[true]{%
+ \ifKV@uvt@ref
+ \refsptrue
+ \else
+ \refspfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-expose}{unknown ref value}%
+}
+\DeclareOptionX{ref}{\setkeys{uvt}{ref=#1}}
+
+% covington=<true|false>
+% Load covington
+\define@boolkey+{uvt}{covington}[true]{%
+ \ifKV@uvt@covington
+ \covingtontrue
+ \else
+ \covingtonfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-expose}{unknown covington value}%
+}
+\DeclareOptionX{covington}{\setkeys{uvt}{covington=#1}}
+
+% microtype=<true|false>
+% Load microtype
+\define@boolkey+{uvt}{microtype}[true]{%
+ \ifKV@uvt@microtype
+ \microtypetrue
+ \else
+ \microtypefalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-expose}{unknown microtype value}%
+}
+\DeclareOptionX{microtype}{\setkeys{uvt}{microtype=#1}}
+
+\newif\ifpsfonts\psfontstrue
+\newif\ifotffonts\otffontsfalse
+\newif\ifnofonts\nofontsfalse
+% fonts=<ps|otf|none>
+\define@choicekey*+{uvt}{fonts}[\val\nr]{ps,otf,none}{%
+ \ifcase\nr\relax% ps: use PostScript fonts (classic LaTeX)
+ \psfontstrue
+ \otffontsfalse
+ \nofontsfalse
+ \or% otf: use OpenType fonts (fontspec)
+ \psfontsfalse
+ \otffontstrue
+ \nofontsfalse
+ \or% none: Use no font package
+ \psfontsfalse
+ \otffontsfalse
+ \nofontstrue
+ \fi
+}{%
+ \PackageWarning{jsdossier}{unknown fonts value '#1'}%
+}
+\DeclareOptionX{fonts}{\setkeys{uvt}{fonts=#1}}
+
+\ProcessOptionsX
+
+\LoadClass[%
+ a4paper,
+ fontsize=12pt,
+ captions=tableheading,
+ listof=totoc,
+ numbers=noenddot,
+ titlepage=true,
+ sectionentrydots=true
+]{scrartcl}[2003/04/22]
+
+\RequirePackage{array}
+
+%% ============================================================
+%% LOCALIZATION:
+%% ============================================================
+
+\RequirePackage{translations}
+\DeclareTranslation{German}{section}{Abschnitt}
+\DeclareTranslation{English}{section}{section}
+\DeclareTranslation{German}{footnote}{Anm.}
+\DeclareTranslation{English}{footnote}{fn.}
+\DeclareTranslation{German}{example}{Beispiel}
+\DeclareTranslation{English}{footnote}{example}
+\DeclareTranslation{German}{stkz}{Studienkennzahl lt. Studienblatt}
+\DeclareTranslation{English}{stkz}{Degree programme code as it appears on the student record sheet}
+\DeclareTranslation{German}{strt}{Studienrichtung lt. Studienblatt}
+\DeclareTranslation{English}{strt}{Degree programme as it appears on the student record sheet}
+\DeclareTranslation{German}{expo}{Expos\'e zum Dissertationsprojekt}
+\DeclareTranslation{English}{expo}{Research Proposal}
+\DeclareTranslation{German}{tpcaption}{Titel des Dissertationsprojekts}
+\DeclareTranslation{English}{tpcaption}{Title of the Dissertation Project}
+\DeclareTranslation{German}{author}{Verfasst von}
+\DeclareTranslation{English}{author}{Submitted by}
+\DeclareTranslation{German}{vienna}{Wien}
+\DeclareTranslation{English}{vienna}{Vienna}
+\DeclareTranslation{German}{supervisor}{Betreut von}
+\DeclareTranslation{English}{supervisor}{Supervisor}
+\DeclareTranslation{German}{cosupervisor}{Mitbetreut von}
+\DeclareTranslation{English}{cosupervisor}{Co-Supervisor}
+\DeclareTranslation{German}{beirat}{Beirat}
+\DeclareTranslation{English}{beirat}{Advisory board}
+
+
+%% ============================================================
+%% FONTS AND EMPHASIZING:
+%% ============================================================
+
+\ifpsfonts
+
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+
+% Times
+\usepackage{mathptmx}
+
+% Arial or Helvetica
+\IfFileExists{uarial.sty}{%
+\RequirePackage{uarial}
+}{%
+\RequirePackage{helvet}
+}
+\fi
+
+\ifotffonts
+\RequirePackage{fontspec}
+\setmainfont{Times New Roman}
+\setsansfont{Arial}
+\fi
+
+% Hyperlinks
+\RequirePackage{url}
+\newcommand{\urlprefix}{}
+% URLs italic
+\@ifundefined{selectfont}{%
+\def\UrlFont{\it}}
+{\def\UrlFont{\rmfamily\itshape}
+}
+
+% Fix for \slash-Makro, by Donald Arsenau
+\def\slash{/\penalty\exhyphenpenalty\hskip\z@skip}
+
+% Font settings
+\newkomafont{thesistype}{\fontsize{18}{20pt}\bfseries\sffamily}
+\setkomafont{title}{\fontsize{18}{20pt}\sffamily}
+\setkomafont{author}{\fontsize{18}{20pt}\large\sffamily}
+\setkomafont{date}{\normalfont\fontsize{11}{13pt}\mdseries\sffamily}
+\newkomafont{tpcaption}{\fontsize{11}{13pt}\sffamily}
+\newkomafont{codes}{\fontsize{10}{12pt}\sffamily}
+\setkomafont{sectionentry}{\normalsize}
+
+
+%% ============================================================
+%% MACROS:
+%% ============================================================
+
+\def\@dirtype{}
+\def\@dirtype@en{}
+
+\define@key{lec}{lecsem}{%
+ \AtEndPreamble{%
+ \ifcsundef{lecsemshort@#1}{%
+ \ClassError{univie-ling-expose}{Semester type '#1' is not defined!}{%
+ Please consult the package manual for instructions how to define it}{}
+ }{}
+ \def\lecsemshort{\csuse{lecsemshort@#1}}%
+ \def\lecsemverb{\csuse{lecsemverb@#1}}%
+ }%
+}
+
+\def\@course{}
+\def\@supervisor{}
+\def\@cosupervisor{}
+\def\@beirat{}
+\newcommand\supervisor[1]{\def\@supervisor{#1}}
+\newcommand\cosupervisor[1]{\def\@cosupervisor{#1}}
+\newcommand\advisor[1]{\def\@beirat{#1}}
+\def\@studienrichtung{}
+\newcommand\studienrichtung[1]{\def\@studienrichtung{#1}}
+\def\@studienkennzahl{}
+\newcommand\studienkennzahl[1]{\def\@studienkennzahl{#1}}
+
+% Semantic markup
+\newcommand\Expression[1]{\textit{#1}}
+\newcommand\Concept[1]{\textsc{#1}}
+\newcommand\Meaning[1]{\enquote*{#1}}
+
+
+%% ============================================================
+%% STRINGS:
+%% ============================================================
+
+% 2.) Term types
+%
+% ss
+\def\lecsemverb@ss{Sommersemester}
+\def\lecsemshort@ss{SoSe}
+% ws
+\def\lecsemverb@ws{Wintersemester}
+\def\lecsemshort@ws{WS}
+
+
+%% ============================================================
+%% LAYOUT
+%% ============================================================
+
+\RequirePackage{geometry}
+
+\usepackage{setspace}
+\onehalfspacing
+
+% Header and pagination:
+% (scrlayer-scrpage)
+\RequirePackage{scrlayer-scrpage}
+\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
+\RequirePackage{scrlayer-scrpage}
+\renewcommand{\headfont}{\small\rmfamily}
+\clearscrheadings
+\ihead{\headmark}
+\ohead{\pagemark}
+\automark{section}
+\KOMAoptions{headsepline=true}
+\pagestyle{scrheadings}
+
+% No widows and orphans
+% No overfull lines
+\tolerance 1414
+\hbadness 1414
+\emergencystretch 1.5em
+\hfuzz 0.3pt
+\widowpenalty = 10000
+\vfuzz \hfuzz
+\raggedbottom
+
+% Micro-typographic polishment
+\ifmicrotype
+\usepackage{microtype}
+\fi
+
+% Smart quotes
+\RequirePackage[autostyle=tryonce,german=guillemets,maxlevel=3]{csquotes}
+
+
+%% ============================================================
+%% TITLING
+%% ============================================================
+
+% We need graphicx for the logo
+\RequirePackage{graphicx}
+
+% Month name
+\RequirePackage[ngerman,english]{datetime2}
+\DeclareTranslation{German}{monthyear}{\DTMgermanmonthname{\@dtm@month} \@dtm@year}
+\DeclareTranslation{English}{monthyear}{\DTMenglishmonthname{\@dtm@month} \@dtm@year}
+
+\renewcommand*\maketitle[1][1]{%
+ \newgeometry{top=2cm,bottom=2.5cm,left=2.5cm,right=2cm}
+ \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
+ \else
+ \def\and{%
+ \end{tabular}%
+ \hskip 1em \@plus.17fil%
+ \begin{tabular}[t]{c}%
+ }%
+ \fi
+ \begin{titlepage}
+ \sffamily%
+ \setcounter{page}{%
+ #1%
+ }%
+ \if@titlepageiscoverpage
+ \edef\titlepage@restore{%
+ \noexpand\endgroup
+ \noexpand\global\noexpand\@colht\the\@colht
+ \noexpand\global\noexpand\@colroom\the\@colroom
+ \noexpand\global\vsize\the\vsize
+ \noexpand\global\noexpand\@titlepageiscoverpagefalse
+ \noexpand\let\noexpand\titlepage@restore\noexpand\relax
+ }%
+ \begingroup
+ \topmargin=\dimexpr \coverpagetopmargin-1in\relax
+ \oddsidemargin=\dimexpr \coverpageleftmargin-1in\relax
+ \evensidemargin=\dimexpr \coverpageleftmargin-1in\relax
+ \textwidth=\dimexpr
+ \paperwidth-\coverpageleftmargin-\coverpagerightmargin\relax
+ \textheight=\dimexpr
+ \paperheight-\coverpagetopmargin-\coverpagebottommargin\relax
+ \headheight=0pt
+ \headsep=0pt
+ \footskip=\baselineskip
+ \@colht=\textheight
+ \@colroom=\textheight
+ \vsize=\textheight
+ \columnwidth=\textwidth
+ \hsize=\columnwidth
+ \linewidth=\hsize
+ \else
+ \let\titlepage@restore\relax
+ \fi
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let\footnote\thanks
+ \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
+ \let\@oldmakefnmark\@makefnmark
+ \renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}%
+ \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
+ \begin{flushright}
+ \includegraphics[width=6cm]{univielogo-sw}
+ \end{flushright}
+ \vspace{2\baselineskip}
+ \begin{center}
+ \bgroup\usekomafont{thesistype}{\GetTranslation{expo}}\egroup
+ \end{center}
+ \vspace{2\baselineskip}
+ \begin{center}
+ {\usekomafont{tpcaption}\GetTranslation{tpcaption}\par}
+ {\usekomafont{title}{\enquote{\@title%
+ \ifx\@subtitle\@empty\else\\\@subtitle\fi}\par}}%
+ \vskip 2em
+ {%
+ {\usekomafont{tpcaption}\GetTranslation{author}\par}
+ \usekomafont{author}{%
+ \lineskip 0.75em%
+ \begin{tabular}[t]{c}
+ \@author
+ \end{tabular}\par
+ }%
+ }%
+ \end{center}\par
+ \vfill
+ {\usekomafont{date}{\GetTranslation{vienna}, \GetTranslation{monthyear}\par}}%
+ \vskip 2em
+ \usekomafont{codes}{%
+ \begin{tabular}[t]{@{}>{\raggedright}p{0.4\columnwidth}>{\raggedright}p{0.1\columnwidth}>{\raggedright}p{0.4\columnwidth}}
+ \GetTranslation{stkz}: & & \@studienkennzahl\tabularnewline
+ \noalign{\vskip6pt}
+ \GetTranslation{strt}: & & \@studienrichtung\tabularnewline
+ \noalign{\vskip6pt}
+ \GetTranslation{supervisor}: & & \@supervisor\tabularnewline%
+ \noalign{\vskip6pt}
+ \ifx\@cosupervisor\@empty\else\GetTranslation{cosupervisor}: & & \@cosupervisor\tabularnewline\fi
+ \noalign{\vskip6pt}
+ \ifx\@beirat\@empty\else\GetTranslation{beirat}: & & \@beirat\fi
+ \end{tabular}\par
+ }
+ \par
+ \@thanks\let\@thanks\@empty
+ \null
+ \if@twoside
+ \@tempswafalse
+ \expandafter\ifnum \@nameuse{scr@v@3.12}>\scr@compatibility\relax
+ \else
+ \fi
+ \fi
+ \ifx\@dedication\@empty
+ \else
+ \next@tdpage\null\vfill
+ {\centering\usekomafont{dedication}{\@dedication \par}}%
+ \vskip \z@ \@plus3fill
+ \@thanks\let\@thanks\@empty
+ \cleardoubleemptypage
+ \fi
+ \ifx\titlepage@restore\relax\else\clearpage\titlepage@restore\fi
+ \end{titlepage}
+ \setcounter{footnote}{0}%
+ \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
+ \let\thanks\relax
+ \let\maketitle\relax
+ \let\@maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\@subtitle\@empty
+ \global\let\@extratitle\@empty
+ \global\let\@titlehead\@empty
+ \global\let\@subject\@empty
+ \global\let\@publishers\@empty
+ \global\let\@uppertitleback\@empty
+ \global\let\@lowertitleback\@empty
+ \global\let\@dedication\@empty
+ \global\let\author\relax
+ \global\let\title\relax
+ \global\let\extratitle\relax
+ \global\let\titlehead\relax
+ \global\let\subject\relax
+ \global\let\publishers\relax
+ \global\let\uppertitleback\relax
+ \global\let\lowertitleback\relax
+ \global\let\dedication\relax
+ \global\let\date\relax
+ \fi
+ \global\let\and\relax
+ \restoregeometry
+}%
+
+
+%% =============================================================
+%% FOOTNOTES:
+%% =============================================================
+
+% Increase spacing between text and footnotes
+\renewcommand\footnoterule{%
+ \kern-3\p@\hrule\@width.4\columnwidth%
+ \kern2.6\p@%
+ \vspace{0.2em}%
+}%
+
+% Non-superscripted footnote sign
+\newlength{\footnumwidth}
+\newcommand*\maxfn{199}
+\AtBeginDocument{%
+ \settowidth{\footnumwidth}{{\normalfont\footnotesize\maxfn\space\space}}
+ \deffootnote[\footnumwidth]{\footnumwidth}{1em}{\thefootnotemark\space\space}
+}
+
+
+%% =============================================================
+%% ADJUST ENVIRONMENTS:
+%% =============================================================
+
+% Headings
+% (Serifs)
+\setkomafont{sectioning}{\normalfont\normalcolor\bfseries}
+
+% Itemize
+\def\labelitemi{--}
+
+% Quote (smaller)
+\newcommand*{\OriginalQuote}{}
+\let\OriginalQuote\quote
+\renewcommand*{\quote}{\OriginalQuote\small}
+
+% Quotation (smaller)
+\newcommand*{\OriginalQuotation}{}
+\let\OriginalQuotation\quotation
+\renewcommand*{\quotation}{\OriginalQuotation\small}
+
+% Description (normal italic)
+\setkomafont{descriptionlabel}{\normalfont\itshape}
+
+\ifcovington
+\RequirePackage{covington}
+\renewcommand{\p@equation}[1]{(#1)}
+\fi
+
+%% =============================================================
+%% TABLES AND FIGURES:
+%% =============================================================
+
+%% captionlabel bold
+\setkomafont{captionlabel}{\bfseries}
+
+\ifcaptionp
+\RequirePackage[format=plain,
+ justification=RaggedRight,
+ singlelinecheck=false
+ ]{caption}
+\fi
+
+%% =============================================================
+%% BIBLIOGRAPHY:
+%% =============================================================
+
+% Biblatex
+\ifbiblatex
+
+\ifapa
+% Load biblatex with apa style
+\RequirePackage[%
+ style=apa,
+ natbib=true,
+ sorting=nyvt,
+ sortcites=true,
+ backend=biber]
+{biblatex}
+
+% Map localization files to the apa variants
+\DeclareLanguageMapping{english}{english-apa}
+\DeclareLanguageMapping{german}{german-apa}
+\DeclareLanguageMapping{ngerman}{ngerman-apa}
+\DeclareLanguageMapping{austrian}{austrian-apa}
+\DeclareLanguageMapping{naustrian}{naustrian-apa}
+
+% Adapt to the DGPs guidelines:
+% 1. Use "et al." (rather than "u.a.") in German
+% 2. No comma before final and/& in German
+% 3. "forthcoming a" rather than "forthcoming-a"
+\DefineBibliographyStrings{german}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{german}{%
+ \def\finalandcomma{}%
+}
+\DefineBibliographyStrings{ngerman}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{ngerman}{%
+ \def\finalandcomma{}%
+}
+\DefineBibliographyStrings{austrian}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{austrian}{%
+ \def\finalandcomma{}%
+}
+\DefineBibliographyStrings{naustrian}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{naustrian}{%
+ \def\finalandcomma{}%
+}
+\renewcommand{\apashortdash}{~}
+
+% Change cite command for integrated csquotes env.
+\SetCiteCommand{\parencite}
+% Map \citealp to \nptextcite
+\let\citealp\nptextcite
+%
+\else% Unified Style for Linguistics
+\RequirePackage[%
+ style=univie-ling,
+ sorting=nyvt,
+ sortcites=true,
+ backend=biber]
+{biblatex}
+
+% Change cite command for integrated csquotes env.
+\SetCiteCommand{\parencite}
+
+% End of apa condition
+\fi
+
+% End of biblatex condition
+\fi
+
+%% =============================================================
+%% TOC:
+%% =============================================================
+
+\let\origtableofcontents\tableofcontents
+\renewcommand*\tableofcontents{%
+\thispagestyle{plain}
+\origtableofcontents
+\clearpage
+}
+
+
+%% =============================================================
+%% X-REFS:
+%% =============================================================
+
+\ifrefsp
+
+% Varioref:
+\RequirePackage{varioref}
+\AtBeginDocument{%
+ \vref@addto\extrasnaustrian{%
+ \def\reftextafter{auf der \reftextvario{folgenden}{n\"achsten} Seite}%
+ \def\reftextfaceafter{auf der gegen\"uberliegenden Seite}%
+ \def\reftextbefore{auf der \reftextvario{vorhergehenden}{vorangegangenen} Seite}%
+ \def\reftextfacebefore{auf der gegen\"uberliegenden Seite}%
+ \def\reftextfaraway[1]{auf S.~\pageref{##1}}%
+ \def\reftextpagerange[2]{auf S.~\pageref{##1}--\pageref{##2}}%
+ }%
+}
+
+% Prettyref:
+% (varioref-Befehle mit eingebunden)
+\RequirePackage{prettyref}
+\newrefformat{cha}{\chaptername~\ref{#1}}
+\newrefformat{sec}{\GetTranslation{section}~\ref{#1}}
+\newrefformat{sub}{\GetTranslation{section}~\ref{#1}}
+\newrefformat{anm}{\GetTranslation{footnote}~\ref{#1}}
+\newrefformat{app}{\appendixname~\vref{#1}}
+\newrefformat{tab}{\tablename~\vref{#1}}
+\newrefformat{fig}{\figurename~\vref{#1}}
+\newrefformat{exa}{\GetTranslation{example}~\vref{#1}}
+
+\fi
+
+%% Finis.
diff --git a/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls b/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
new file mode 100644
index 0000000000..fd63517941
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
@@ -0,0 +1,791 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% File univie-ling-paper
+%%
+%% Student Papers in (Applied) Linguistics at the University of Vienna
+%%
+%% This file is part of the univie-ling LaTeX bundle, consisting of:
+%% -- univie-ling-expose.cls: Class for PhD Research Proposals (this file)
+%% -- univie-ling-paper.cls: Class for student papers
+%% -- univie-ling-thesis.cls: Class for BA, MA or PhD theses
+%% -- univie-ling-wlg.cls: Class for the journal Wiener Linguistische Gazette
+%% -- univie-logo-sw.pdf: University of Vienna logo
+%% -- univie-ling-wlg-logo.pdf: Logo of the journal Wiener Linguistische Gazette
+%% -- univie-ling.bbx: Biblatex bibliography style
+%% -- univie-ling.cbx: Biblatex citation style
+%%
+%% Author: Juergen Spitzmueller
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Juergen Spitzmueller.
+%% Please report issues to https://github.com/jspitz/univie-ling/issues
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{univie-ling-paper}[2019/01/21 v1.9 Univie Linguistic Papers (JSp)]
+
+\RequirePackage{xkeyval}
+
+\newif\ifbiblatex\biblatextrue
+\newif\ifapa\apafalse
+\newif\ifcaptionp\captionptrue
+\newif\ifrefsp\refsptrue
+\newif\ifcovington\covingtontrue
+\newif\ifmicrotype\microtypetrue
+\newif\ifmultiauthors\multiauthorsfalse
+
+% all=<true|false>
+% Load all packages
+\define@boolkey+{uvt}{all}[true]{%
+ \ifKV@uvt@all
+ \biblatextrue
+ \captionptrue
+ \refsptrue
+ \covingtontrue
+ \microtypetrue
+ \else
+ \biblatexfalse
+ \captionpfalse
+ \refspfalse
+ \covingtonfalse
+ \microtypefalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown 'all' value}%
+}
+\DeclareOptionX{all}{\setkeys{uvt}{all=#1}}
+
+% biblatex=<true|false>
+% Load biblatex
+\define@boolkey+{uvt}{biblatex}[true]{%
+ \ifKV@uvt@biblatex
+ \biblatextrue
+ \else
+ \biblatexfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown biblatex value}%
+}
+\DeclareOptionX{biblatex}{\setkeys{uvt}{biblatex=#1}}
+
+% apa=<true|false>
+% Load APA style
+\define@boolkey+{uvt}{apa}[true]{%
+ \ifKV@uvt@biblatex
+ \apatrue
+ \else
+ \apafalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown apa value}%
+}
+\DeclareOptionX{apa}{\setkeys{uvt}{apa=#1}}
+
+% caption=<true|false>
+% Load caption
+\define@boolkey+{uvt}{caption}[true]{%
+ \ifKV@uvt@caption
+ \captionptrue
+ \else
+ \captionpfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown caption value}%
+}
+\DeclareOptionX{caption}{\setkeys{uvt}{caption=#1}}
+
+% ref=<true|false>
+% Load varioref and prettyref
+\define@boolkey+{uvt}{ref}[true]{%
+ \ifKV@uvt@ref
+ \refsptrue
+ \else
+ \refspfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown ref value}%
+}
+\DeclareOptionX{ref}{\setkeys{uvt}{ref=#1}}
+
+% covington=<true|false>
+% Load covington
+\define@boolkey+{uvt}{covington}[true]{%
+ \ifKV@uvt@covington
+ \covingtontrue
+ \else
+ \covingtonfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown covington value}%
+}
+\DeclareOptionX{covington}{\setkeys{uvt}{covington=#1}}
+
+% microtype=<true|false>
+% Load microtype
+\define@boolkey+{uvt}{microtype}[true]{%
+ \ifKV@uvt@microtype
+ \microtypetrue
+ \else
+ \microtypefalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-thesis}{unknown microtype value}%
+}
+\DeclareOptionX{microtype}{\setkeys{uvt}{microtype=#1}}
+
+\newif\ifpsfonts\psfontstrue
+\newif\ifotffonts\otffontsfalse
+\newif\ifnofonts\nofontsfalse
+% fonts=<ps|otf|none>
+\define@choicekey*+{uvt}{fonts}[\val\nr]{ps,otf,none}{%
+ \ifcase\nr\relax% ps: use PostScript fonts (classic LaTeX)
+ \psfontstrue
+ \otffontsfalse
+ \nofontsfalse
+ \or% otf: use OpenType fonts (fontspec)
+ \psfontsfalse
+ \otffontstrue
+ \nofontsfalse
+ \or% none: Use no font package
+ \psfontsfalse
+ \otffontsfalse
+ \nofontstrue
+ \fi
+}{%
+ \PackageWarning{jsdossier}{unknown fonts value '#1'}%
+}
+\DeclareOptionX{fonts}{\setkeys{uvt}{fonts=#1}}
+
+\ProcessOptionsX
+
+\LoadClass[%
+ a4paper,
+ captions=tableheading,
+ listof=totoc,
+ numbers=noenddot,
+ titlepage=true,
+ sectionentrydots=true
+]{scrartcl}[2003/04/22]
+
+
+%% ============================================================
+%% LOCALIZATION:
+%% ============================================================
+
+\RequirePackage{translations}
+\DeclareTranslation{German}{subm}{Abgegeben am}
+\DeclareTranslation{English}{subm}{Submission date:}
+\DeclareTranslation{German}{submto}{bei}
+\DeclareTranslation{English}{submto}{Instructor:}
+\DeclareTranslation{German}{author}{Verfasst von}
+\DeclareTranslation{English}{author}{Author}
+\DeclareTranslation{German}{section}{Abschnitt}
+\DeclareTranslation{English}{section}{section}
+\DeclareTranslation{German}{footnote}{Anm.}
+\DeclareTranslation{English}{footnote}{fn.}
+\DeclareTranslation{German}{example}{Beispiel}
+\DeclareTranslation{English}{footnote}{example}
+\DeclareTranslation{German}{matnr}{Matrikelnummer}
+\DeclareTranslation{English}{matnr}{Matrikelnummer}
+\DeclareTranslation{German}{stkz}{Studienkennzahl}
+\DeclareTranslation{English}{stkz}{Studienkennzahl}
+\DeclareTranslation{German}{erkl}{Erkl\"arung}
+\DeclareTranslation{English}{erkl}{Declaration}
+\DeclareTranslation{German}{selbst1s}{Hiermit versichere ich, dass ich die vorliegende Arbeit selbst\"andig verfasst
+und keine anderen als die angegebenen Hilfsmittel benutzt habe.}
+\DeclareTranslation{German}{selbst1p}{Hiermit versichern wir, dass wir die vorliegende Arbeit selbst\"andig verfasst
+und keine anderen als die angegebenen Hilfsmittel benutzt haben.}
+\DeclareTranslation{German}{selbst2}{Die Stellen der Arbeit, die anderen Quellen im Wortlaut oder dem Sinn nach entnommen wurden, sind durch Herkunftsangaben kenntlich gemacht.
+Dies gilt auch f\"ur Zeichnungen, Skizzen, bildliche Darstellungen sowie f\"ur Quellen aus dem Internet.}
+\DeclareTranslation{German}{selbst3s}{Ich versichere ferner, dass ich die vorliegende Arbeit weder ganz noch in Teilen bereits als
+Pr\"ufungsleistung vorgelegt habe.}
+\DeclareTranslation{German}{selbst3p}{Wir versichern ferner, dass wir die vorliegende Arbeit weder ganz noch in Teilen bereits als
+Pr\"ufungsleistung vorgelegt haben.}
+\DeclareTranslation{English}{selbst1s}{I hereby declare that this paper is entirely my own work and that I used no source material or aids other than those stipulated.}
+\DeclareTranslation{English}{selbst1p}{We hereby declare that this paper is entirely our own work and that we used no source material or aids other than those stipulated.}
+\DeclareTranslation{English}{selbst2}{No part of it has been copied from any work produced by any other person or copied from any other source without reference to the source.
+This includes all drawings, sketches, graphics and internet sources.}
+\DeclareTranslation{English}{selbst3s}{Furthermore, I declare that this paper has not been submitted as an examination already, neither as a whole nor in parts.}
+\DeclareTranslation{English}{selbst3p}{Furthermore, we declare that this paper has not been submitted as an examination already, neither as a whole nor in parts.}
+\DeclareTranslation{German}{wien}{Wien}
+\DeclareTranslation{English}{wien}{Vienna}
+
+
+%% ============================================================
+%% FONTS AND EMPHASIZING:
+%% ============================================================
+
+\ifpsfonts
+
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+
+% Palatino
+\usepackage[osf]{mathpazo}
+
+% Arial or Helvetica
+\IfFileExists{uarial.sty}{%
+\RequirePackage{uarial}
+}{%
+\RequirePackage{helvet}
+}
+\fi
+
+\ifotffonts
+\RequirePackage{fontspec}
+\setmainfont{Palatino}
+\setsansfont{Arial}
+\fi
+
+% Hyperlinks
+\RequirePackage{url}
+\newcommand{\urlprefix}{}
+% URLs italic
+\@ifundefined{selectfont}{%
+\def\UrlFont{\it}}
+{\def\UrlFont{\rmfamily\itshape}
+}
+
+% Fix for \slash-Makro, by Donald Arsenau
+\def\slash{/\penalty\exhyphenpenalty\hskip\z@skip}
+
+% Font settings
+\newkomafont{texttype}{\fontsize{24}{26pt}\bfseries\sffamily}
+\setkomafont{title}{\fontsize{18}{20pt}\sffamily}
+\setkomafont{author}{\fontsize{18}{20pt}\sffamily}
+\setkomafont{subtitle}{\normalfont\fontsize{12}{14pt}\sffamily}
+\setkomafont{date}{\normalfont\fontsize{10}{12pt}\mdseries\sffamily}
+\newkomafont{course}{\normalfont\mdseries\sffamily}
+
+
+%% ============================================================
+%% MACROS:
+%% ============================================================
+
+\def\lectype{}
+\def\lectypeverb{}
+\def\@texttype{}
+
+\define@key{lec}{lectype}{%
+ \AtEndPreamble{%
+ \ifcsundef{lectype@#1}{%
+ \ClassError{univie-ling-paper}{Lecture type '#1' is not defined!}{%
+ Please consult the package manual for instructions how to define it}{}
+ }{}
+ \def\lectype{\csuse{lectype@#1}}%
+ \def\lectypeverb{\csuse{lectypeverb@#1}}%
+ \def\@texttype{\csuse{texttype@#1}}
+ }%
+}
+
+\define@key{lec}{lecsem}{%
+ \AtEndPreamble{%
+ \ifcsundef{lecsemshort@#1}{%
+ \ClassError{univie-ling-paper}{Semester type '#1' is not defined!}{%
+ Please consult the package manual for instructions how to define it}{}
+ }{}
+ \def\lecsemshort{\csuse{lecsemshort@#1}}%
+ \def\lecsemverb{\csuse{lecsemverb@#1}}%
+ }%
+}
+
+\def\@texttype{Seminararbeit}
+\newcommand\texttype[1]{\def\@texttype{#1}}
+\def\@course{}
+\newcommand\course[2]{\setkeys{lec}{lectype=#1}\def\@course{#2}}
+\def\@instructor{}
+\newcommand\instructor[1]{\def\@instructor{#1}}
+\def\@matrikelnr{}
+\newcommand\matrikelnr[1]{\def\@matrikelnr{#1}}
+\def\@studienkennzahl{}
+\newcommand\studienkennzahl[1]{\def\@studienkennzahl{#1}}
+\def\@semester{}
+\newcommand\semester[2]{\setkeys{lec}{lecsem=#1}\def\@semester{#2}}
+
+% Semantic markup
+\newcommand\Expression[1]{\textit{#1}}
+\newcommand\Concept[1]{\textsc{#1}}
+\newcommand\Meaning[1]{\enquote*{#1}}
+
+
+%% ============================================================
+%% STRINGS:
+%% ============================================================
+
+% 1) Course types
+%
+% vo
+\def\lectypeverb@vo{Vorlesung}
+\def\lectype@vo{VO}
+\def\texttype@vo{}
+% ps
+\def\lectypeverb@ps{Proseminar}
+\def\lectype@ps{PS}
+\def\texttype@ps{Proseminararbeit}
+% se
+\def\lectypeverb@se{Seminar}
+\def\lectype@se{SE}
+\def\texttype@ps{Seminararbeit}
+% ue
+\def\lectypeverb@ue{\"Ubung}
+\def\lectype@ue{UE}
+\def\texttype@ue{}
+% ko
+\def\lectypeverb@ko{Kolloquium}
+\def\lectype@ko{KO}
+\def\texttype@ko{}
+% pv
+\def\lectypeverb@pv{Privatissimum}
+\def\lectype@pv{PV}
+\def\texttype@pv{}
+
+% 2.) Term types
+%
+% ss
+\def\lecsemverb@ss{Sommersemester}
+\def\lecsemshort@ss{SoSe}
+% ws
+\def\lecsemverb@ws{Wintersemester}
+\def\lecsemshort@ws{WS}
+
+
+%% ============================================================
+%% LAYOUT
+%% ============================================================
+
+\usepackage{setspace}
+\onehalfspacing
+
+% Header and pagination:
+% (scrlayer-scrpage)
+\RequirePackage{scrlayer-scrpage}
+\pagestyle{scrplain}
+
+% No widows and orphans
+% No overfull lines
+\tolerance 1414
+\hbadness 1414
+\emergencystretch 1.5em
+\hfuzz 0.3pt
+\widowpenalty = 10000
+\vfuzz \hfuzz
+\raggedbottom
+
+% Micro-typographic polishment
+\ifmicrotype
+\usepackage{microtype}
+\fi
+
+% Smart quotes
+\RequirePackage[autostyle=tryonce,german=guillemets,maxlevel=3]{csquotes}
+
+
+%% ============================================================
+%% TITLING
+%% ============================================================
+
+% We need graphicx for the logo
+\RequirePackage{graphicx}
+
+\renewcommand*\maketitle[1][1]{%
+ \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
+ \else
+ \def\and{%
+ \end{tabular}%
+ \global\multiauthorstrue%
+ \hskip 1em \@plus.17fil%
+ \begin{tabular}[t]{c}%
+ }%
+ \fi
+ \begin{titlepage}
+ \sffamily%
+ \setcounter{page}{%
+ #1%
+ }%
+ \if@titlepageiscoverpage
+ \edef\titlepage@restore{%
+ \noexpand\endgroup
+ \noexpand\global\noexpand\@colht\the\@colht
+ \noexpand\global\noexpand\@colroom\the\@colroom
+ \noexpand\global\vsize\the\vsize
+ \noexpand\global\noexpand\@titlepageiscoverpagefalse
+ \noexpand\let\noexpand\titlepage@restore\noexpand\relax
+ }%
+ \begingroup
+ \topmargin=\dimexpr \coverpagetopmargin-1in\relax
+ \oddsidemargin=\dimexpr \coverpageleftmargin-1in\relax
+ \evensidemargin=\dimexpr \coverpageleftmargin-1in\relax
+ \textwidth=\dimexpr
+ \paperwidth-\coverpageleftmargin-\coverpagerightmargin\relax
+ \textheight=\dimexpr
+ \paperheight-\coverpagetopmargin-\coverpagebottommargin\relax
+ \headheight=0pt
+ \headsep=0pt
+ \footskip=\baselineskip
+ \@colht=\textheight
+ \@colroom=\textheight
+ \vsize=\textheight
+ \columnwidth=\textwidth
+ \hsize=\columnwidth
+ \linewidth=\hsize
+ \else
+ \let\titlepage@restore\relax
+ \fi
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let\footnote\thanks
+ \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
+ \let\@oldmakefnmark\@makefnmark
+ \renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}%
+ \ifx\@extratitle\@empty \else
+ \noindent\@extratitle\next@tdpage
+ \fi
+ \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
+ \begin{flushright}
+ \includegraphics[width=6cm]{univielogo-sw}
+ \end{flushright}
+ \vspace{2\baselineskip}
+ \begin{center}
+ \bgroup\usekomafont{texttype}{\MakeUppercase{\@texttype}\par}\egroup
+ \end{center}
+ \vspace{2\baselineskip}
+ \begin{center}
+ \ifx\@subject\@empty \else
+ {\usekomafont{subject}{\@subject\par}}%
+ \vskip 3em
+ \fi
+ {\usekomafont{title}{\enquote{\@title%
+ \ifx\@subtitle\@empty\else\\\@subtitle\fi}\par}}%
+ {\ifx\@course\@empty\else\vskip 2em\usekomafont{course}{\lectypeverb\par\emph{\@course}\par(\lecsemshort~\@semester)\par}\fi}%
+ \vskip 2em
+ {%
+ \GetTranslation{author}\par
+ \usekomafont{author}{%
+ \lineskip 0.75em%
+ \begin{tabular}[t]{c}
+ \@author
+ \end{tabular}\par
+ }%
+ \def\and{%
+ \end{tabular}%
+ \hskip 1em \@plus.17fil%
+ \begin{tabular}[t]{c}%
+ \GetTranslation{matnr}:~
+ }%
+ \usekomafont{date}{%
+ \begin{tabular}[t]{c}
+ Matrikelnummer: \@matrikelnr
+ \end{tabular}\par
+ \def\and{%
+ \end{tabular}%
+ \hskip 1em \@plus.17fil%
+ \begin{tabular}[t]{c}%
+ \GetTranslation{stkz}:~
+ }%
+ \lineskip 0.75em%
+ \begin{tabular}[t]{c}
+ Studienkennzahl: \@studienkennzahl
+ \end{tabular}\par
+ }%
+ }%
+ \vfill
+ {\usekomafont{date}{\GetTranslation{subm} \@date \par}}%
+ {\ifx\@instructor\@empty\else\usekomafont{date}{\GetTranslation{submto} \@instructor\par}\fi}%
+ \end{center}\par
+ \@thanks\let\@thanks\@empty
+ \null
+ \if@twoside
+ \@tempswatrue
+ \expandafter\ifnum \@nameuse{scr@v@3.12}>\scr@compatibility\relax
+ \else
+ \ifx\@uppertitleback\@empty\ifx\@lowertitleback\@empty
+ \@tempswafalse
+ \fi\fi
+ \fi
+ \if@tempswa
+ \next@tpage
+ \begin{minipage}[t]{\textwidth}
+ \@uppertitleback
+ \end{minipage}\par
+ \vfill
+ \begin{minipage}[b]{\textwidth}
+ \@lowertitleback
+ \end{minipage}\par
+ \@thanks\let\@thanks\@empty
+ \fi
+ \fi
+ \ifx\@dedication\@empty
+ \else
+ \next@tdpage\null\vfill
+ {\centering\usekomafont{dedication}{\@dedication \par}}%
+ \vskip \z@ \@plus3fill
+ \@thanks\let\@thanks\@empty
+ \cleardoubleemptypage
+ \fi
+ \ifx\titlepage@restore\relax\else\clearpage\titlepage@restore\fi
+ \end{titlepage}
+ \setcounter{footnote}{0}%
+ \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
+ \let\thanks\relax
+ \let\maketitle\relax
+ \let\@maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\@subtitle\@empty
+ \global\let\@extratitle\@empty
+ \global\let\@titlehead\@empty
+ \global\let\@subject\@empty
+ \global\let\@publishers\@empty
+ \global\let\@uppertitleback\@empty
+ \global\let\@lowertitleback\@empty
+ \global\let\@dedication\@empty
+ \global\let\author\relax
+ \global\let\title\relax
+ \global\let\extratitle\relax
+ \global\let\titlehead\relax
+ \global\let\subject\relax
+ \global\let\publishers\relax
+ \global\let\uppertitleback\relax
+ \global\let\lowertitleback\relax
+ \global\let\dedication\relax
+ \global\let\date\relax
+ \fi
+ \global\let\and\relax
+}%
+
+\newcommand\makedeclaration{%
+\def\and{%
+ \end{tabular}%
+ \hskip 1em \@plus.17fil%
+ \begin{tabular}[t]{c}%
+ \hline
+ }%
+\clearpage
+\section*{\GetTranslation{erkl}}
+
+\ifmultiauthors
+\GetTranslation{selbst1p}
+\else
+\GetTranslation{selbst1s}
+\fi
+
+\GetTranslation{selbst2}
+
+\ifmultiauthors
+\GetTranslation{selbst3p}
+\else
+\GetTranslation{selbst3s}
+\fi
+
+\bigskip
+\bgroup
+\raggedleft
+\GetTranslation{wien}, \today
+
+\vspace{15mm}
+
+\begin{tabular}[t]{c}
+ \hline
+ \@author
+\end{tabular}\par
+\egroup
+\clearpage
+\global\let\and\relax
+}
+
+
+%% =============================================================
+%% FOOTNOTES:
+%% =============================================================
+
+% Increase spacing between text and footnotes
+\renewcommand\footnoterule{%
+ \kern-3\p@\hrule\@width.4\columnwidth%
+ \kern2.6\p@%
+ \vspace{0.2em}%
+}%
+
+% Non-superscripted footnote sign
+\newlength{\footnumwidth}
+\newcommand*\maxfn{199}
+\AtBeginDocument{%
+ \settowidth{\footnumwidth}{{\normalfont\footnotesize\maxfn\space\space}}
+ \deffootnote[\footnumwidth]{\footnumwidth}{1em}{\thefootnotemark\space\space}
+}
+
+
+%% =============================================================
+%% ADJUST ENVIRONMENTS:
+%% =============================================================
+
+% Headings
+% (Serifs)
+\setkomafont{sectioning}{\normalfont\normalcolor\bfseries}
+
+% Itemize
+\def\labelitemi{--}
+
+% Quote (smaller)
+\newcommand*{\OriginalQuote}{}
+\let\OriginalQuote\quote
+\renewcommand*{\quote}{\OriginalQuote\small}
+
+% Quotation (smaller)
+\newcommand*{\OriginalQuotation}{}
+\let\OriginalQuotation\quotation
+\renewcommand*{\quotation}{\OriginalQuotation\small}
+
+% Description (normal italic)
+\setkomafont{descriptionlabel}{\normalfont\itshape}
+
+\ifcovington
+\RequirePackage{covington}
+\renewcommand{\p@equation}[1]{(#1)}
+\fi
+
+%% =============================================================
+%% TABLES AND FIGURES:
+%% =============================================================
+
+%% captionlabel bold
+\setkomafont{captionlabel}{\bfseries}
+
+\ifcaptionp
+\RequirePackage[format=plain,
+ justification=RaggedRight,
+ singlelinecheck=false
+ ]{caption}
+\fi
+
+%% =============================================================
+%% BIBLIOGRAPHY:
+%% =============================================================
+
+% Biblatex
+\ifbiblatex
+
+\ifapa
+% Load biblatex with apa style
+\RequirePackage[%
+ style=apa,
+ natbib=true,
+ sorting=nyvt,
+ sortcites=true,
+ backend=biber]
+{biblatex}
+
+% Map localization files to the apa variants
+\DeclareLanguageMapping{english}{english-apa}
+\DeclareLanguageMapping{german}{german-apa}
+\DeclareLanguageMapping{ngerman}{ngerman-apa}
+\DeclareLanguageMapping{austrian}{austrian-apa}
+\DeclareLanguageMapping{naustrian}{naustrian-apa}
+
+% Adapt to the DGPs guidelines:
+% 1. Use "et al." (rather than "u.a.") in German
+% 2. No comma before final and/& in German
+% 3. "forthcoming a" rather than "forthcoming-a"
+\DefineBibliographyStrings{german}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{german}{%
+ \def\finalandcomma{}%
+}
+\DefineBibliographyStrings{ngerman}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{ngerman}{%
+ \def\finalandcomma{}%
+}
+\DefineBibliographyStrings{austrian}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{austrian}{%
+ \def\finalandcomma{}%
+}
+\DefineBibliographyStrings{naustrian}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{naustrian}{%
+ \def\finalandcomma{}%
+}
+\renewcommand{\apashortdash}{~}
+
+% Change cite command for integrated csquotes env.
+\SetCiteCommand{\parencite}
+% Map \citealp to \nptextcite
+\let\citealp\nptextcite
+%
+\else% Unified Style for Linguistics
+\RequirePackage[%
+ style=univie-ling,
+ sorting=nyvt,
+ sortcites=true,
+ backend=biber]
+{biblatex}
+
+% Change cite command for integrated csquotes env.
+\SetCiteCommand{\parencite}
+
+% End of apa condition
+\fi
+
+% End of biblatex condition
+\fi
+
+%% =============================================================
+%% TOC:
+%% =============================================================
+
+\let\origtableofcontents\tableofcontents
+\renewcommand*\tableofcontents{%
+\thispagestyle{plain}
+\origtableofcontents
+\clearpage
+}
+
+
+%% =============================================================
+%% X-REFS:
+%% =============================================================
+
+\ifrefsp
+
+% Varioref:
+\RequirePackage{varioref}
+\AtBeginDocument{%
+ \vref@addto\extrasnaustrian{%
+ \def\reftextafter{auf der \reftextvario{folgenden}{n\"achsten} Seite}%
+ \def\reftextfaceafter{auf der gegen\"uberliegenden Seite}%
+ \def\reftextbefore{auf der \reftextvario{vorhergehenden}{vorangegangenen} Seite}%
+ \def\reftextfacebefore{auf der gegen\"uberliegenden Seite}%
+ \def\reftextfaraway[1]{auf S.~\pageref{##1}}%
+ \def\reftextpagerange[2]{auf S.~\pageref{##1}--\pageref{##2}}%
+ }%
+}
+
+% Prettyref:
+% (varioref-Befehle mit eingebunden)
+\RequirePackage{prettyref}
+\newrefformat{sec}{\GetTranslation{section}~\ref{#1}}
+\newrefformat{sub}{\GetTranslation{section}~\ref{#1}}
+\newrefformat{anm}{\GetTranslation{footnote}~\ref{#1}}
+\newrefformat{app}{\appendixname~\vref{#1}}
+\newrefformat{tab}{\tablename~\vref{#1}}
+\newrefformat{fig}{\figurename~\vref{#1}}
+\newrefformat{exa}{\GetTranslation{example}~\vref{#1}}
+
+\fi
+
+%% Finis.
diff --git a/macros/latex/contrib/univie-ling/tex/univie-ling-thesis.cls b/macros/latex/contrib/univie-ling/tex/univie-ling-thesis.cls
new file mode 100644
index 0000000000..c0e25d7e53
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/tex/univie-ling-thesis.cls
@@ -0,0 +1,746 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% File univie-ling-thesis
+%%
+%% BA, MA and PhD Theses in (Applied) Linguistics at the University of Vienna
+%%
+%% This file is part of the univie-ling LaTeX bundle, consisting of:
+%% -- univie-ling-expose.cls: Class for PhD Research Proposals (this file)
+%% -- univie-ling-paper.cls: Class for student papers
+%% -- univie-ling-thesis.cls: Class for BA, MA or PhD theses
+%% -- univie-ling-wlg.cls: Class for the journal Wiener Linguistische Gazette
+%% -- univie-logo-sw.pdf: University of Vienna logo
+%% -- univie-ling-wlg-logo.pdf: Logo of the journal Wiener Linguistische Gazette
+%% -- univie-ling.bbx: Biblatex bibliography style
+%% -- univie-ling.cbx: Biblatex citation style
+%%
+%% Author: Juergen Spitzmueller
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Juergen Spitzmueller.
+%% Please report issues to https://github.com/jspitz/univie-ling/issues
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{univie-ling-thesis}[2019/01/21 v1.9 Univie Linguistic Theses (JSp)]
+
+\RequirePackage{xkeyval}
+
+\newif\ifbiblatex\biblatextrue
+\newif\ifapa\apafalse
+\newif\ifcaptionp\captionptrue
+\newif\ifrefsp\refsptrue
+\newif\ifcovington\covingtontrue
+\newif\ifmicrotype\microtypetrue
+
+% all=<true|false>
+% Load all packages
+\define@boolkey+{uvt}{all}[true]{%
+ \ifKV@uvt@all
+ \biblatextrue
+ \captionptrue
+ \refsptrue
+ \covingtontrue
+ \microtypetrue
+ \else
+ \biblatexfalse
+ \captionpfalse
+ \refspfalse
+ \covingtonfalse
+ \microtypefalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-thesis}{unknown 'all' value}%
+}
+\DeclareOptionX{all}{\setkeys{uvt}{all=#1}}
+
+% biblatex=<true|false>
+% Load biblatex
+\define@boolkey+{uvt}{biblatex}[true]{%
+ \ifKV@uvt@biblatex
+ \biblatextrue
+ \else
+ \biblatexfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-thesis}{unknown biblatex value}%
+}
+\DeclareOptionX{biblatex}{\setkeys{uvt}{biblatex=#1}}
+
+% apa=<true|false>
+% Load APA style
+\define@boolkey+{uvt}{apa}[true]{%
+ \ifKV@uvt@biblatex
+ \apatrue
+ \else
+ \apafalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown apa value}%
+}
+\DeclareOptionX{apa}{\setkeys{uvt}{apa=#1}}
+
+% caption=<true|false>
+% Load caption
+\define@boolkey+{uvt}{caption}[true]{%
+ \ifKV@uvt@caption
+ \captionptrue
+ \else
+ \captionpfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-thesis}{unknown caption value}%
+}
+\DeclareOptionX{caption}{\setkeys{uvt}{caption=#1}}
+
+% ref=<true|false>
+% Load varioref and prettyref
+\define@boolkey+{uvt}{ref}[true]{%
+ \ifKV@uvt@ref
+ \refsptrue
+ \else
+ \refspfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-thesis}{unknown ref value}%
+}
+\DeclareOptionX{ref}{\setkeys{uvt}{ref=#1}}
+
+% covington=<true|false>
+% Load covington
+\define@boolkey+{uvt}{covington}[true]{%
+ \ifKV@uvt@covington
+ \covingtontrue
+ \else
+ \covingtonfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-thesis}{unknown covington value}%
+}
+\DeclareOptionX{covington}{\setkeys{uvt}{covington=#1}}
+
+% microtype=<true|false>
+% Load microtype
+\define@boolkey+{uvt}{microtype}[true]{%
+ \ifKV@uvt@microtype
+ \microtypetrue
+ \else
+ \microtypefalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-thesis}{unknown microtype value}%
+}
+\DeclareOptionX{microtype}{\setkeys{uvt}{microtype=#1}}
+
+\newif\iffdegree\fdegreefalse
+% fdegree=<true|false>
+% Female degree forms
+\define@boolkey+{uvt}{fdegree}[true]{%
+ \ifKV@uvt@fdegree
+ \fdegreetrue
+ \else
+ \fdegreefalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-thesis}{unknown fdegree value}%
+}
+\DeclareOptionX{fdegree}{\setkeys{uvt}{fdegree=#1}}
+
+\newif\ifpsfonts\psfontstrue
+\newif\ifotffonts\otffontsfalse
+\newif\ifnofonts\nofontsfalse
+% fonts=<ps|otf|none>
+\define@choicekey*+{uvt}{fonts}[\val\nr]{ps,otf,none}{%
+ \ifcase\nr\relax% ps: use PostScript fonts (classic LaTeX)
+ \psfontstrue
+ \otffontsfalse
+ \nofontsfalse
+ \or% otf: use OpenType fonts (fontspec)
+ \psfontsfalse
+ \otffontstrue
+ \nofontsfalse
+ \or% none: Use no font package
+ \psfontsfalse
+ \otffontsfalse
+ \nofontstrue
+ \fi
+}{%
+ \PackageWarning{jsdossier}{unknown fonts value '#1'}%
+}
+\DeclareOptionX{fonts}{\setkeys{uvt}{fonts=#1}}
+
+\ProcessOptionsX
+
+\LoadClass[%
+ a4paper,
+ captions=tableheading,
+ listof=totoc,
+ numbers=noenddot,
+ titlepage=true,
+ chapterentrydots=true
+]{scrreprt}[2003/04/22]
+
+\RequirePackage{array}
+
+%% ============================================================
+%% LOCALIZATION:
+%% ============================================================
+
+\RequirePackage{translations}
+\DeclareTranslation{German}{section}{Abschnitt}
+\DeclareTranslation{English}{section}{section}
+\DeclareTranslation{German}{footnote}{Anm.}
+\DeclareTranslation{English}{footnote}{fn.}
+\DeclareTranslation{German}{example}{Beispiel}
+\DeclareTranslation{English}{footnote}{example}
+\DeclareTranslation{German}{stkz}{Studienkennzahl}
+\DeclareTranslation{English}{stkz}{Studienkennzahl}
+
+
+%% ============================================================
+%% FONTS AND EMPHASIZING:
+%% ============================================================
+
+\ifpsfonts
+
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+
+% Palatino
+\usepackage[osf]{mathpazo}
+
+% Arial or Helvetica
+\IfFileExists{uarial.sty}{%
+\RequirePackage{uarial}
+}{%
+\RequirePackage{helvet}
+}
+\fi
+
+\ifotffonts
+\RequirePackage{fontspec}
+\setmainfont{Palatino}
+\setsansfont{Arial}
+\fi
+
+% Hyperlinks
+\RequirePackage{url}
+\newcommand{\urlprefix}{}
+% URLs italic
+\@ifundefined{selectfont}{%
+\def\UrlFont{\it}}
+{\def\UrlFont{\rmfamily\itshape}
+}
+
+% Fix for \slash-Makro, by Donald Arsenau
+\def\slash{/\penalty\exhyphenpenalty\hskip\z@skip}
+
+% Font settings
+\newkomafont{thesistype}{\fontsize{24}{26pt}\bfseries\sffamily}
+\setkomafont{title}{\fontsize{18}{20pt}\sffamily}
+\setkomafont{author}{\fontsize{18}{20pt}\large\sffamily}
+\setkomafont{date}{\normalfont\fontsize{11}{13pt}\mdseries\sffamily}
+\newkomafont{degree}{\fontsize{12}{14pt}\sffamily}
+\newkomafont{baende}{\normalfont\fontsize{12}{14pt}\mdseries\sffamily}
+\newkomafont{tpcaption}{\fontsize{11}{13pt}\sffamily}
+\newkomafont{codes}{\fontsize{10}{12pt}\sffamily}
+
+
+%% ============================================================
+%% MACROS:
+%% ============================================================
+
+\def\@thesistype{}
+\def\@thesistype@en{}
+\def\@dirtype{}
+\def\@dirtype@en{}
+
+\define@key{lec}{thesistype}{%
+ \AtEndPreamble{%
+ \ifcsundef{thesistype@#1}{%
+ \ClassError{univie-ling-thesis}{Thesis type '#1' is not defined!}{%
+ Please consult the package manual for instructions how to define it}{}
+ }{}
+ \def\@thesistype{\csuse{thesistype@#1}}
+ \def\@thesistype@en{\csuse{thesistype@#1@en}}
+ \def\@dirtype{\csuse{dirtype@#1}}
+ \def\@dirtype@en{\csuse{dirtype@#1@en}}
+ \iffdegree
+ \def\@degree{\csuse{degree@#1@f}}
+ \else
+ \def\@degree{\csuse{degree@#1}}
+ \fi
+ }%
+}
+
+\define@key{lec}{lecsem}{%
+ \AtEndPreamble{%
+ \ifcsundef{lecsemshort@#1}{%
+ \ClassError{univie-ling-thesis}{Semester type '#1' is not defined!}{%
+ Please consult the package manual for instructions how to define it}{}
+ }{}
+ \def\lecsemshort{\csuse{lecsemshort@#1}}%
+ \def\lecsemverb{\csuse{lecsemverb@#1}}%
+ }%
+}
+
+\newcommand\thesistype[1]{\setkeys{lec}{thesistype=#1}}
+\def\@course{}
+\def\@supervisor{}
+\def\@cosupervisor{}
+\newcommand\supervisor[1]{\def\@supervisor{#1}}
+\newcommand\cosupervisor[1]{\def\@cosupervisor{#1}}
+\def\@studienrichtung{}
+\newcommand\studienrichtung[1]{\def\@studienrichtung{#1}}
+\def\@studienkennzahl{}
+\newcommand\studienkennzahl[1]{\def\@studienkennzahl{#1}}
+\def\@volume{}
+\def\@volumes{}
+\newcommand\volume[2]{\def\@volume{#1}\def\@volumes{#2}}
+\def\@degree{}
+\newcommand\degree[1]{\AtBeginDocument{\def\@degree{#1}}}
+
+% Semantic markup
+\newcommand\Expression[1]{\textit{#1}}
+\newcommand\Concept[1]{\textsc{#1}}
+\newcommand\Meaning[1]{\enquote*{#1}}
+
+
+%% ============================================================
+%% STRINGS:
+%% ============================================================
+
+% 1) Thesis types
+%
+% bachelor
+\def\thesistype@bachelor{Bachelorarbeit}
+\def\thesistype@bachelor@en{Bachelor's Thesis}
+\def\dirtype@bachelor{Studienrichtung}
+\def\dirtype@bachelor@en{degree programme}
+\def\degree@bachelor{Bachelor of Arts (BA)}
+\def\degree@bachelor@f{\degree@bachelor}
+% master
+\def\thesistype@master{Masterarbeit}
+\def\thesistype@master@en{Master's Thesis}
+\def\dirtype@master{Studienrichtung}
+\def\dirtype@master@en{degree programme}
+\def\degree@master{Master of Arts (MA)}
+\def\degree@master@f{\degree@master}
+% magister
+\def\thesistype@magister{Magisterarbeit}
+\def\thesistype@magister@en{Magister Thesis}
+\def\dirtype@magister{Studienrichtung}
+\def\dirtype@magister@en{degree programme}
+\def\degree@magister{Magister der Philosophie (Mag.\,Phil.)}
+\def\degree@magister@f{Magistra der Philosophie (Mag.\,Phil.)}
+% diplom
+\def\thesistype@diplom{Diplomarbeit}
+\def\thesistype@diplom@en{Diploma Thesis}
+\def\dirtype@diplom{Studienrichtung}
+\def\dirtype@diplom@en{degree programme}
+\def\degree@diplom{Magister der Philosophie (Mag.\,Phil.)}
+\def\degree@diplom@f{Magistra der Philosophie (Mag.\,Phil.)}
+% diss
+\def\thesistype@diss{Dissertation}
+\def\thesistype@diss@en{Doctoral Thesis}
+\def\dirtype@diss{Dissertationsgebiet}
+\def\dirtype@diss@en{field of study}
+\def\degree@diss{Doktor der Philosophie (Dr.\,phil.)}
+\def\degree@diss@f{Doktorin der Philosophie (Dr.\,phil.)}
+
+% 2.) Term types
+%
+% ss
+\def\lecsemverb@ss{Sommersemester}
+\def\lecsemshort@ss{SoSe}
+% ws
+\def\lecsemverb@ws{Wintersemester}
+\def\lecsemshort@ws{WS}
+
+
+%% ============================================================
+%% LAYOUT
+%% ============================================================
+
+\RequirePackage{geometry}
+
+\usepackage{setspace}
+\onehalfspacing
+
+% Header and pagination:
+% (scrlayer-scrpage)
+\RequirePackage{scrlayer-scrpage}
+\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
+\RequirePackage{scrlayer-scrpage}
+\renewcommand{\headfont}{\small\rmfamily}
+\clearscrheadings
+\ihead{\headmark}
+\ohead{\pagemark}
+\automark{chapter}
+\KOMAoptions{headsepline=true}
+\pagestyle{scrheadings}
+
+% No widows and orphans
+% No overfull lines
+\tolerance 1414
+\hbadness 1414
+\emergencystretch 1.5em
+\hfuzz 0.3pt
+\widowpenalty = 10000
+\vfuzz \hfuzz
+\raggedbottom
+
+% Micro-typographic polishment
+\ifmicrotype
+\usepackage{microtype}
+\fi
+
+% Smart quotes
+\RequirePackage[autostyle=tryonce,german=guillemets,maxlevel=3]{csquotes}
+
+
+%% ============================================================
+%% TITLING
+%% ============================================================
+
+% We need graphicx for the logo
+\RequirePackage{graphicx}
+
+\renewcommand*\maketitle[1][1]{%
+ \newgeometry{top=2cm,bottom=2.5cm,left=2.5cm,right=2cm}
+ \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
+ \else
+ \def\and{%
+ \end{tabular}%
+ \hskip 1em \@plus.17fil%
+ \begin{tabular}[t]{c}%
+ }%
+ \fi
+ \begin{titlepage}
+ \sffamily%
+ \setcounter{page}{%
+ #1%
+ }%
+ \if@titlepageiscoverpage
+ \edef\titlepage@restore{%
+ \noexpand\endgroup
+ \noexpand\global\noexpand\@colht\the\@colht
+ \noexpand\global\noexpand\@colroom\the\@colroom
+ \noexpand\global\vsize\the\vsize
+ \noexpand\global\noexpand\@titlepageiscoverpagefalse
+ \noexpand\let\noexpand\titlepage@restore\noexpand\relax
+ }%
+ \begingroup
+ \topmargin=\dimexpr \coverpagetopmargin-1in\relax
+ \oddsidemargin=\dimexpr \coverpageleftmargin-1in\relax
+ \evensidemargin=\dimexpr \coverpageleftmargin-1in\relax
+ \textwidth=\dimexpr
+ \paperwidth-\coverpageleftmargin-\coverpagerightmargin\relax
+ \textheight=\dimexpr
+ \paperheight-\coverpagetopmargin-\coverpagebottommargin\relax
+ \headheight=0pt
+ \headsep=0pt
+ \footskip=\baselineskip
+ \@colht=\textheight
+ \@colroom=\textheight
+ \vsize=\textheight
+ \columnwidth=\textwidth
+ \hsize=\columnwidth
+ \linewidth=\hsize
+ \else
+ \let\titlepage@restore\relax
+ \fi
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let\footnote\thanks
+ \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
+ \let\@oldmakefnmark\@makefnmark
+ \renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}%
+ \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
+ \begin{flushright}
+ \includegraphics[width=6cm]{univielogo-sw}
+ \end{flushright}
+ \vspace{2\baselineskip}
+ \begin{center}
+ \bgroup\usekomafont{thesistype}{\MakeUppercase{\@thesistype\,/\,\hskip\z@skip\mbox{\@thesistype@en}}\par}\egroup
+ \end{center}
+ \vspace{2\baselineskip}
+ \begin{center}
+ {\usekomafont{tpcaption}Titel der \@thesistype\,/\,Title of the \@thesistype@en\par}
+ {\usekomafont{title}{\enquote{\@title%
+ \ifx\@subtitle\@empty\else\\\@subtitle\fi}\par}}%
+ {\ifx\@volume\@empty\else\vskip 1em\usekomafont{baende}{Band \@volume\ von \@volumes\ Bänden\,/\,volume \@volume\ of \@volumes\ volumes}\fi}%
+ \vskip 2em
+ {%
+ {\usekomafont{tpcaption}verfasst von\,/\,submitted by\par}
+ \usekomafont{author}{%
+ \lineskip 0.75em%
+ \begin{tabular}[t]{c}
+ \@author
+ \end{tabular}\par
+ }%
+ }%
+ \vskip 2em
+ {\usekomafont{tpcaption}angestrebter akademischer Grad\,/\,in partial fulfilment of the requirements for the degree of\par}
+ \usekomafont{degree}{\@degree}
+ \end{center}\par
+ \vfill
+ {\usekomafont{date}{Wien, \the\year\,/\,Vienna, \the\year\par}}%
+ \vskip 2em
+ \usekomafont{codes}{%
+ \begin{tabular}[t]{@{}>{\raggedright}p{0.4\columnwidth}>{\raggedright}p{0.1\columnwidth}>{\raggedright}p{0.4\columnwidth}}
+ Studienkennzahl lt. Studienblatt/\newline degree programme code as it appears on the student record sheet: & & \@studienkennzahl\tabularnewline
+ \noalign{\vskip6pt}
+ \@dirtype\ lt. Studienblatt\slash\newline \@dirtype@en\ as it appears on the student record sheet: & & \@studienrichtung\tabularnewline
+ \noalign{\vskip6pt}
+ Betreut von\,/\,Supervisor: & & \@supervisor\tabularnewline%
+ \noalign{\vskip6pt}
+ \ifx\@cosupervisor\@empty\else Mitbetreut von\,/\,Co-Supervisor: & & \@cosupervisor\fi
+ \end{tabular}\par
+ }
+ \par
+ \@thanks\let\@thanks\@empty
+ \null
+ \if@twoside
+ \@tempswafalse
+ \expandafter\ifnum \@nameuse{scr@v@3.12}>\scr@compatibility\relax
+ \else
+ \fi
+ \fi
+ \ifx\@dedication\@empty
+ \else
+ \next@tdpage\null\vfill
+ {\centering\usekomafont{dedication}{\@dedication \par}}%
+ \vskip \z@ \@plus3fill
+ \@thanks\let\@thanks\@empty
+ \cleardoubleemptypage
+ \fi
+ \ifx\titlepage@restore\relax\else\clearpage\titlepage@restore\fi
+ \end{titlepage}
+ \setcounter{footnote}{0}%
+ \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
+ \let\thanks\relax
+ \let\maketitle\relax
+ \let\@maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\@subtitle\@empty
+ \global\let\@extratitle\@empty
+ \global\let\@titlehead\@empty
+ \global\let\@subject\@empty
+ \global\let\@publishers\@empty
+ \global\let\@uppertitleback\@empty
+ \global\let\@lowertitleback\@empty
+ \global\let\@dedication\@empty
+ \global\let\author\relax
+ \global\let\title\relax
+ \global\let\extratitle\relax
+ \global\let\titlehead\relax
+ \global\let\subject\relax
+ \global\let\publishers\relax
+ \global\let\uppertitleback\relax
+ \global\let\lowertitleback\relax
+ \global\let\dedication\relax
+ \global\let\date\relax
+ \fi
+ \global\let\and\relax
+ \restoregeometry
+}%
+
+
+%% =============================================================
+%% FOOTNOTES:
+%% =============================================================
+
+% Increase spacing between text and footnotes
+\renewcommand\footnoterule{%
+ \kern-3\p@\hrule\@width.4\columnwidth%
+ \kern2.6\p@%
+ \vspace{0.2em}%
+}%
+
+% Non-superscripted footnote sign
+\newlength{\footnumwidth}
+\newcommand*\maxfn{199}
+\AtBeginDocument{%
+ \settowidth{\footnumwidth}{{\normalfont\footnotesize\maxfn\space\space}}
+ \deffootnote[\footnumwidth]{\footnumwidth}{1em}{\thefootnotemark\space\space}
+}
+
+
+%% =============================================================
+%% ADJUST ENVIRONMENTS:
+%% =============================================================
+
+% Headings
+% (Serifs)
+\setkomafont{sectioning}{\normalfont\normalcolor\bfseries}
+
+% Itemize
+\def\labelitemi{--}
+
+% Quote (smaller)
+\newcommand*{\OriginalQuote}{}
+\let\OriginalQuote\quote
+\renewcommand*{\quote}{\OriginalQuote\small}
+
+% Quotation (smaller)
+\newcommand*{\OriginalQuotation}{}
+\let\OriginalQuotation\quotation
+\renewcommand*{\quotation}{\OriginalQuotation\small}
+
+% Description (normal italic)
+\setkomafont{descriptionlabel}{\normalfont\itshape}
+
+\ifcovington
+\RequirePackage{covington}
+\renewcommand{\p@equation}[1]{(#1)}
+\fi
+
+%% =============================================================
+%% TABLES AND FIGURES:
+%% =============================================================
+
+%% captionlabel bold
+\setkomafont{captionlabel}{\bfseries}
+
+\ifcaptionp
+\RequirePackage[format=plain,
+ justification=RaggedRight,
+ singlelinecheck=false
+ ]{caption}
+\fi
+
+%% =============================================================
+%% BIBLIOGRAPHY:
+%% =============================================================
+
+% Biblatex
+\ifbiblatex
+
+\ifapa
+% Load biblatex with apa style
+\RequirePackage[%
+ style=apa,
+ natbib=true,
+ sorting=nyvt,
+ sortcites=true,
+ backend=biber]
+{biblatex}
+
+% Map localization files to the apa variants
+\DeclareLanguageMapping{english}{english-apa}
+\DeclareLanguageMapping{german}{german-apa}
+\DeclareLanguageMapping{ngerman}{ngerman-apa}
+\DeclareLanguageMapping{austrian}{austrian-apa}
+\DeclareLanguageMapping{naustrian}{naustrian-apa}
+
+% Adapt to the DGPs guidelines:
+% 1. Use "et al." (rather than "u.a.") in German
+% 2. No comma before final and/& in German
+% 3. "forthcoming a" rather than "forthcoming-a"
+\DefineBibliographyStrings{german}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{german}{%
+ \def\finalandcomma{}%
+}
+\DefineBibliographyStrings{ngerman}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{ngerman}{%
+ \def\finalandcomma{}%
+}
+\DefineBibliographyStrings{austrian}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{austrian}{%
+ \def\finalandcomma{}%
+}
+\DefineBibliographyStrings{naustrian}{%
+ andothers = {et al\adddot}%
+}
+\DefineBibliographyExtras{naustrian}{%
+ \def\finalandcomma{}%
+}
+\renewcommand{\apashortdash}{~}
+
+% Change cite command for integrated csquotes env.
+\SetCiteCommand{\parencite}
+% Map \citealp to \nptextcite
+\let\citealp\nptextcite
+%
+\else% Unified Style for Linguistics
+\RequirePackage[%
+ style=univie-ling,
+ sorting=nyvt,
+ sortcites=true,
+ backend=biber]
+{biblatex}
+
+% Change cite command for integrated csquotes env.
+\SetCiteCommand{\parencite}
+
+% End of apa condition
+\fi
+
+% End of biblatex condition
+\fi
+
+%% =============================================================
+%% TOC:
+%% =============================================================
+
+\let\origtableofcontents\tableofcontents
+\renewcommand*\tableofcontents{%
+\thispagestyle{plain}
+\origtableofcontents
+\clearpage
+}
+
+
+%% =============================================================
+%% X-REFS:
+%% =============================================================
+
+\ifrefsp
+
+% Varioref:
+\RequirePackage{varioref}
+\AtBeginDocument{%
+ \vref@addto\extrasnaustrian{%
+ \def\reftextafter{auf der \reftextvario{folgenden}{n\"achsten} Seite}%
+ \def\reftextfaceafter{auf der gegen\"uberliegenden Seite}%
+ \def\reftextbefore{auf der \reftextvario{vorhergehenden}{vorangegangenen} Seite}%
+ \def\reftextfacebefore{auf der gegen\"uberliegenden Seite}%
+ \def\reftextfaraway[1]{auf S.~\pageref{##1}}%
+ \def\reftextpagerange[2]{auf S.~\pageref{##1}--\pageref{##2}}%
+ }%
+}
+
+% Prettyref:
+% (varioref-Befehle mit eingebunden)
+\RequirePackage{prettyref}
+\newrefformat{cha}{\chaptername~\ref{#1}}
+\newrefformat{sec}{\GetTranslation{section}~\ref{#1}}
+\newrefformat{sub}{\GetTranslation{section}~\ref{#1}}
+\newrefformat{anm}{\GetTranslation{footnote}~\ref{#1}}
+\newrefformat{app}{\appendixname~\vref{#1}}
+\newrefformat{tab}{\tablename~\vref{#1}}
+\newrefformat{fig}{\figurename~\vref{#1}}
+\newrefformat{exa}{\GetTranslation{example}~\vref{#1}}
+
+\fi
+
+%% Finis.
diff --git a/macros/latex/contrib/univie-ling/tex/univie-ling-wlg-logo.pdf b/macros/latex/contrib/univie-ling/tex/univie-ling-wlg-logo.pdf
new file mode 100644
index 0000000000..b6c55bdbd7
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/tex/univie-ling-wlg-logo.pdf
Binary files differ
diff --git a/macros/latex/contrib/univie-ling/tex/univie-ling-wlg.cls b/macros/latex/contrib/univie-ling/tex/univie-ling-wlg.cls
new file mode 100644
index 0000000000..ec2a665e22
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/tex/univie-ling-wlg.cls
@@ -0,0 +1,956 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% File univie-ling-wlg
+%%
+%% A layout suitable for the journal Wiener Linguistische Gazette (WLG)
+%% (https://www.wlg.univie.ac.at/).
+%%
+%% This file is part of the univie-ling LaTeX bundle, consisting of:
+%% -- univie-ling-expose.cls: Class for PhD Research Proposals (this file)
+%% -- univie-ling-paper.cls: Class for student papers
+%% -- univie-ling-thesis.cls: Class for BA, MA or PhD theses
+%% -- univie-ling-wlg.cls: Class for the journal Wiener Linguistische Gazette
+%% -- univie-logo-sw.pdf: University of Vienna logo
+%% -- univie-ling-wlg-logo.pdf: Logo of the journal Wiener Linguistische Gazette
+%% -- univie-ling.bbx: Biblatex bibliography style
+%% -- univie-ling.cbx: Biblatex citation style
+%%
+%% Author: Juergen Spitzmueller
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Juergen Spitzmueller.
+%% Please report issues to https://github.com/jspitz/univie-ling/issues
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{univie-ling-wlg}[2019/01/21 v1.9 WLG journal layout (JSp)]
+
+
+%% ============================================================
+%% CLASS OPTIONS:
+%% ============================================================
+
+\RequirePackage{xkeyval}
+
+\newif\ifbiblatex\biblatexfalse
+\newif\ifcovington\covingtontrue
+\newif\ifexpert\expertfalse
+
+% biblatex=<true|false>
+% Load biblatex
+\define@boolkey+{wlg}{biblatex}[true]{%
+ \ifKV@wlg@biblatex
+ \biblatextrue
+ \else
+ \biblatexfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-wlg}{unknown biblatex value}%
+}
+\DeclareOptionX{biblatex}{\setkeys{wlg}{biblatex=#1}}
+
+% covington=<true|false>
+% Load covington
+\define@boolkey+{wlg}{covington}[true]{%
+ \ifKV@wlg@covington
+ \covingtontrue
+ \else
+ \covingtonfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-wlg}{unknown covington value}%
+}
+\DeclareOptionX{covington}{\setkeys{wlg}{covington=#1}}
+
+
+% expertfonts=<true|false>
+% Load MinionPro
+\define@boolkey+{wlg}{expertf}[true]{%
+ \ifKV@wlg@expertf
+ \experttrue
+ \else
+ \expertfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-wlg}{unknown expertfonts value}%
+}
+\DeclareOptionX{expertfonts}{\setkeys{wlg}{expertf=#1}}
+
+% Titlepage?
+\newif\iftitlepage\titlepagefalse
+\newif\ifspecialprint\specialprintfalse
+\define@choicekey*+{wlg}{ttp}[\val\nr]{none,specialprint,issue}{%
+ \ifcase\nr\relax% none
+ \titlepagefalse
+ \or% specialprint:
+ \titlepagetrue
+ \specialprinttrue
+ \or% issue:
+ \titlepagetrue
+ \specialprintfalse
+ \fi
+}{%
+ \ClassWarning{univie-ling-wlg}{unknown titlepage value '#1'}%
+}
+\DeclareOptionX{titlepage}{\setkeys{wlg}{ttp=#1}}
+
+\DeclareOption*{%
+\PassOptionsToClass{\CurrentOption}{scrartcl}%
+}
+
+\ProcessOptionsX
+
+
+\LoadClass{scrartcl}[2003/04/22]
+
+\KOMAoptions{%
+ footlines=2,
+ paper=152mm:229mm,
+ DIV=calc,
+ fontsize=12pt,
+ footlines=2,
+ headings=small,
+ captions=tableheading,
+ listof=totoc,
+ numbers=noenddot,
+ abstract=on,
+ twoside=semi
+}
+\iftitlepage
+\KOMAoptions{titlepage=true}
+\fi
+\recalctypearea
+
+%% ============================================================
+%% FONTS UND MICROTYPOGRAPHY:
+%% ============================================================
+
+% Roman Font:
+\ifexpert
+% Adobe Minion (Expert)
+\RequirePackage[footnotefigures]{MinionPro}
+\else
+% Crimson
+\RequirePackage[osf]{cochineal}
+\fi
+
+% Hyperlinks
+\RequirePackage{url}
+\newcommand{\urlprefix}{}
+% Italic URLs
+\def\UrlFont{\rmfamily\itshape}
+
+% Microtype tweaks
+\RequirePackage{microtype}
+
+% Full capitals (slightly scaled and tracked):
+\RequirePackage{scalefnt}
+\RequirePackage{textcase}
+\DeclareRobustCommand*\versal[1]{%
+ \textls{\MakeTextUppercase{\scalefont{.92}#1}}%
+}
+
+% Fix for \slash macro, courtesy of Donald Arsenau
+\def\slash{/\penalty\exhyphenpenalty\hskip\z@skip}
+
+% Better ragged text
+\RequirePackage{ragged2e}
+
+
+%% ============================================================
+%% l7n
+%% ============================================================
+
+\RequirePackage{translator}
+\languagealias{naustrian}{German}
+\deftranslation[to=German]{issue}{Ausgabe}
+\deftranslation[to=English]{issue}{Issue}
+\deftranslation[to=German]{univie}{Universit\"at Wien}
+\deftranslation[to=English]{univie}{University of Vienna}
+\deftranslation[to=German]{lingdep}{Institut f\"ur Sprachwissenschaft}
+\deftranslation[to=English]{lingdep}{Department of Linguistics}
+\deftranslation[to=German]{published}{Publiziert am}
+\deftranslation[to=English]{published}{Published}
+\deftranslation[to=German]{specialprint}{Sonderdruck aus:}
+\deftranslation[to=English]{specialprint}{Special print from:}
+\deftranslation[to=German]{specialissue}{Themenheft}
+\deftranslation[to=English]{specialissue}{Special Issue}
+\deftranslation[to=German]{keywords}{Schlagw\"orter}
+\deftranslation[to=English]{keywords}{Keywords}
+\deftranslation[to=German]{corrauthor}{Korrespondenzautor}
+\deftranslation[to=English]{corrauthor}{Corresponding author}
+\deftranslation[to=German]{corrauthorf}{Korrespondenzautorin}
+\deftranslation[to=English]{corrauthorf}{Corresponding author}
+\deftranslation[to=German]{corrauthors}{Korrespondenzautoren}
+\deftranslation[to=English]{corrauthors}{Corresponding authors}
+\deftranslation[to=German]{edby}{Hg.\,v.}
+\deftranslation[to=English]{edby}{Ed.\,by}
+\deftranslation[to=German]{imp-editor}{Eigentümer, Herausgeber und Verleger}
+\deftranslation[to=English]{imp-editor}{Owner, editor and publisher}
+\deftranslation[to=German]{univie-address}{Sensengasse 3a\\1090 Wien\\Österreich}
+\deftranslation[to=English]{univie-address}{Sensengasse 3a\\1090 Vienna\\Austria}
+\deftranslation[to=German]{edboard}{Redaktion}
+\deftranslation[to=English]{edboard}{Editorial board}
+\deftranslation[to=German]{techboard}{Technische Redaktion}
+\deftranslation[to=English]{techboard}{Technical editor}
+\deftranslation[to=German]{contact}{Kontakt}
+\deftranslation[to=English]{contact}{Contact}
+\deftranslation[to=German]{appform}{Die \emph{Wiener Linguistische Gazette} erscheint in loser Folge
+ im Open-Access-Format.\\
+ Alle Ausgaben ab Nr. 72 (2005) sind online verfügbar.}
+\deftranslation[to=English]{appform}{The \versal{WLG} journal is published in loose sequence and in
+ open access format.\\
+ All issues as of 72 (2005) are available online.}
+\deftranslation[to=German]{applied}{Angewandte Sprachwissenschaft}
+\deftranslation[to=English]{applied}{Applied Linguistics}
+\deftranslation[to=German]{genhist}{Allgemeine und Historische Sprachwissenschaft}
+\deftranslation[to=English]{genhist}{General and Historical Linguistics}
+\deftranslation[to=German]{license}{Dieses Werk unterliegt der Creative-Commons-Lizenz \doclicenseNameRef\\
+ (Namensnennung -- Nicht kommerziell -- Keine Bearbeitungen)}
+\deftranslation[to=English]{license}{This work is published under a Creative Commons \doclicenseNameRef\ license\\
+ (Attribution-NonCommercial-NoDerivatives)}
+
+
+\AtBeginDocument{%
+\addto\captionsngerman{\renewcommand*\contentsname{Inhalt}}
+\addto\captionsnaustrian{\renewcommand*\contentsname{Inhalt}}
+}
+\AtEndPreamble{
+% License
+\PassOptionsToPackage{%
+ imagewidth=8em,
+ imagedistance=1em,
+ imagemodifier=-eu,
+ hyphenation=RaggedRight,
+ type={CC},
+ modifier={by-nc-nd},
+ version={4.0}}{doclicense}
+\RequirePackage{doclicense}
+}
+
+\newcommand\impressum{%
+\bgroup
+\scriptsize
+\noindent\textbf{\translate{imp-editor}:}\\
+\translate{univie}, \translate{lingdep}\\
+\translate{univie-address}
+\vspace*{-.5em}
+\begin{labeling}{\textbf{\translate{edboard}:}}
+\setlength\itemsep{0pt}
+\setlength\parsep{0pt}
+\setlength{\parskip}{0pt}
+\item[\textbf{\translate{edboard}:}]
+ Christian Bendl,
+ Mi-Cha Flubacher (\translate{applied}),\\
+ Stefan Schumacher (\translate{genhist})
+%\item[\textbf{\translate{techboard}:}] Markus Rheindorf
+\item[\textbf{\translate{contact}:}] \href{mailto:wlg@univie.ac.at}{wlg@univie.ac.at}
+\item[\textbf{Homepage:}] \expandafter\url{\wlgurl}
+\end{labeling}
+\vspace*{-2em}
+\begin{labeling}{\textbf{\textsc{issn}:}}
+\setlength\itemsep{0pt}
+\setlength\parsep{0pt}
+\setlength{\parskip}{0pt}
+\item[\textbf{\textsc{issn}:}] 2224-1876
+\item[\textbf{\textsc{nbn}:}] BI,078,1063
+\end{labeling}
+\vspace*{-.5em}
+\noindent\translate{appform}\par
+\setlength{\doclicense@hsize}{\textwidth-\doclicense@imagewidth-\doclicense@imagedistance}%
+\begin{center}
+ \begin{minipage}{\doclicense@imagewidth}
+ \doclicenseImage%
+ \end{minipage}
+ \hfill
+ \begin{minipage}{\doclicense@hsize}
+ \ifthenelse{\isempty{\doclicense@hyphenation}}{}{%
+ \@nameuse{\doclicense@hyphenation}%
+ }%
+ \translate{license}%
+ \end{minipage}
+ \end{center}
+\par
+\egroup
+}
+
+
+%% ============================================================
+%% TOC
+%% ============================================================
+
+\RequirePackage{etoc}
+\etocstandardlines
+\etocsetstyle{chapter}
+ {}
+ {\normalsize\mdseries\rmfamily}
+ {\etocname{}\dotfill\etocpage\par\vspace{12pt}}
+ {}
+\setcounter{tocdepth}{0}
+
+
+%% ============================================================
+%% LAYOUT
+%% ============================================================
+
+% Headings and pagination:
+% (scrlayer-scrpage)
+\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
+\RequirePackage{scrlayer-scrpage}
+\renewcommand{\headfont}{\small\rmfamily}
+\clearscrheadings
+\ohead{\pagemark}
+\automark{section}
+\KOMAoptions{headsepline=true}
+\pagestyle{scrheadings}
+
+% Macrotypographic sectioning
+\newif\if@mainmatter\@mainmattertrue
+\newif\if@frontmatter\@frontmatterfalse
+\newcommand*\frontmatter{%
+ \if@twoside\cleardoubleoddpage\else\clearpage\fi
+ \@mainmatterfalse\@frontmattertrue\pagenumbering{roman}%
+ \edef\computelastpage{%
+ \romannumeral\numexpr\getpagerefnumber{LastFrontPage}-1\relax}%
+ \edef\startpageref{%
+ \romannumeral\thestartpage\relax}%
+}
+\newcommand*\mainmatter{%
+ \if@twoside\cleardoubleoddpage\else\clearpage\fi%
+ \immediate\write\@auxout{\noexpand\newlabel{LastFrontPage}{{}{\arabic{page}}}}%
+ \@mainmattertrue\@frontmatterfalse%
+ \pagenumbering{arabic}%
+ \def\computelastpage{\pageref{LastPage}}%
+ \def\startpageref{\thestartpage}%
+}
+\newcommand*\backmatter{%
+ \if@openright\cleardoubleoddpage\else\clearpage\fi\@mainmatterfalse\@frontmatterfalse%
+ \def\computelastpage{\pageref{LastPage}}%
+ \def\startpageref{\thestartpage}%
+}
+
+% No widows and orphans
+\tolerance 1414
+\hbadness 1414
+\emergencystretch 1.5em
+\hfuzz 0.3pt
+\widowpenalty = 10000
+\vfuzz \hfuzz
+\raggedbottom
+
+% Quotation marks
+\AfterPackage*{inputenc}{%
+ \RequirePackage{csquotes}
+ \ExecuteQuoteOptions{autostyle=try,german=guillemets,austrian=guillemets,maxlevel=3}
+ \ifbiblatex
+ % Change cite command for integrated csquotes env.
+ \SetCiteCommand{\parencite}
+ \fi
+ \renewcommand{\mktextdel}[1]{[\,]}
+}
+
+% Conditional page break
+\def\condbreak#1{%
+\vskip 0pt plus #1\pagebreak[3]\vskip 0pt plus -#1\relax}
+
+
+%% ============================================================
+%% TITLING
+%% ============================================================
+
+\RequirePackage{lastpage}
+\RequirePackage{refcount}
+\def\computelastpage{\pageref{LastPage}}%
+\def\lastpageref{\computelastpage}%
+\def\startpageref{\thestartpage}%
+\RequirePackage{xcolor}
+\RequirePackage{graphicx}
+
+\RequirePackage{hyperref}
+\hypersetup{%
+bookmarksnumbered=true,
+breaklinks=true,
+colorlinks=false,
+pdfborder={0 0 0}
+}
+
+\def\@author{}
+\def\@@author{}
+\renewcommand*\author[2][]{%
+ \ifx\\#1\\%
+ \def\@@author{#2}
+ \else
+ \def\@@author{#1}
+ \fi
+ \def\@author{#2}
+}
+
+% Author affiliation (starred: corresponding author)
+\DeclareRobustCommand*\aff{%
+ \@ifstar\@@aff\@aff
+}
+
+% Empty (will be redefined in the article title)
+\newcommand*\@@aff[2][]{}
+\newcommand*\@aff[2][]{}
+
+\def\@title{}
+\def\@@title{}
+\renewcommand*\title[2][]{%
+ \ifx\\#1\\%
+ \def\@@title{#2}
+ \else
+ \def\@@title{#1}
+ \fi
+ \def\@title{#2}
+}
+
+\def\@issuetitle{}
+\newcommand*\issuetitle[1]{%
+ \def\@issuetitle{#1}
+}
+\def\@issuesubtitle{}
+\newcommand*\issuesubtitle[1]{%
+ \def\@issuesubtitle{#1}
+}
+\def\@issueeditors{}
+\newcommand*\issueeditors[1]{%
+ \def\@issueeditors{#1}
+}
+
+\def\@issue{}
+\def\@pubyear{}
+\newcommand\issue[2]{\def\@issue{#1}\def\@pubyear{#2}}
+
+\newif\iftitlepageneeded\titlepageneededtrue
+\newif\ifstartpageset\startpagesetfalse
+
+\def\ljobname{\jobname}
+
+\renewcommand*\maketitle[1][1]{%
+ \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
+ \else
+ \def\and{\texorpdfstring{\unskip\slash}{| }}%
+ \fi
+ \iftitlepage
+ \@maketitlepage[#1]%
+ \fi
+ \ifstartpageset\else
+ \setcounter{page}{\thestartpage}
+ \global\startpagesettrue
+ \fi
+ \rehead{\@@author}
+ \lohead{\@@title}
+ \hypersetup{pdfauthor=\@author,
+ pdftitle={\@@title\ -- WLG \@issue\ (\@pubyear)}}
+ \lofoot[\scriptsize\expandafter\url{\wlgurl/fileadmin/user_upload/p_wlg/\@issue\@pubyear/\ljobname.pdf}\\
+ \translate{published} \today]{}
+ \par
+ \@tempcnta=%
+ #1%
+ \relax\ifnum\@tempcnta=1\else
+ \ClassWarning{\KOMAClassName}{%
+ Optional argument of \string\maketitle\space ignored
+ at\MessageBreak
+ notitlepage-mode%
+ }%
+ \fi
+ \begingroup
+ \let\titlepage@restore\relax
+ \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
+ \let\@oldmakefnmark\@makefnmark
+ \renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}
+ \next@tdpage
+ \@makeextratitle
+ \@maketitle
+ \thispagestyle{\titlepagestyle}\@thanks
+ \endgroup
+ \setcounter{footnote}{0}%
+ \global\let\@cauthor\@empty
+ \global\let\@thanks\@empty
+ \gdef\@ccauthor{\translate{corrauthor}}
+ \expandafter\ifnum \csname scr@v@3.12\endcsname>\scr@compatibility\relax
+ \let\thanks\relax
+ \let\maketitle\relax
+ \let\@maketitle\relax
+ \let\@maketitlepage\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\@subtitle\@empty
+ \global\let\@extratitle\@empty
+ \global\let\@titlehead\@empty
+ \global\let\@subject\@empty
+ \global\let\@publishers\@empty
+ \global\let\@uppertitleback\@empty
+ \global\let\@lowertitleback\@empty
+ \global\let\@dedication\@empty
+ \global\let\author\relax
+ \global\let\cauthor\relax
+ \global\let\title\relax
+ \global\let\extratitle\relax
+ \global\let\titlehead\relax
+ \global\let\subject\relax
+ \global\let\publishers\relax
+ \global\let\uppertitleback\relax
+ \global\let\lowertitleback\relax
+ \global\let\dedication\relax
+ \global\let\date\relax
+ \renewcommand*\@@aff[2][]{}
+ \renewcommand*\@aff[2][]{}
+ \fi
+}%
+
+\newcommand{\@maketitlepage}[1][1]{%
+ \iftitlepageneeded
+ \begin{titlepage}
+ \setcounter{page}{%
+ #1%
+ }%
+ \let\titlepage@restore\relax
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let\footnote\thanks
+ \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
+ \let\@oldmakefnmark\@makefnmark
+ \renewcommand*{\@makefnmark}{\rlap\@oldmakefnmark}%
+ \ifx\@extratitle\@empty \else
+ \noindent\@extratitle\next@tdpage
+ \fi
+ \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
+ \begin{minipage}[t]{\textwidth}%
+ \usekomafont{titlehead}{\includegraphics{univie-ling-wlg-logo}}%
+ \end{minipage}\par
+ \null\vfill
+ \begin{flushleft}
+ \ifx\@subject\@empty \else
+ {\usekomafont{subject}{\@subject\par}}%
+ \vskip 3em
+ \fi
+ \ifspecialprint
+ {\usekomafont{title}{\@title\par}}%
+ \vskip 1em
+ {\ifx\@subtitle\@empty\else\usekomafont{subtitle}{\@subtitle\par}\fi}%
+ \vskip 2em
+ {%
+ \usekomafont{author}{%
+ \@author\par
+ }%
+ }%
+ \vfill
+ {\usekomafont{date}{\translate{specialprint} \emph{Wiener Linguistische Gazette} (\versal{WLG})
+ \@issue\ (\@pubyear): \startpageref--\lastpageref\par}}
+ {\ifx\@issuetitle\@empty\else
+ \vskip 1em
+ \usekomafont{date}{\translate{specialissue} \itshape\@issuetitle
+ \ifx\@issuesubtitle\@empty\else.\ \@issuesubtitle\fi\par}%
+ \fi}%
+ \ifx\@issueeditors\@empty\else
+ \usekomafont{date}{%
+ \translate{edby}\ \@issueeditors\par
+ }%
+ \fi
+ \else
+ {\ifx\@issuetitle\@empty
+ \usekomafont{title}{\translate{issue} \@issue\ (\@pubyear)\par}
+ \etocsettocstyle{\subsubsection*{\contentsname}}{}
+ \etocsetstyle{chapter}
+ {}
+ {\scriptsize\mdseries\rmfamily}
+ {\scriptsize\etocname{}\dotfill\etocpage\par\vspace{8pt}}
+ {}
+ \tableofcontents
+ \else
+ \usekomafont{date}{\translate{issue} \@issue\ (\@pubyear)\par}
+ \fi}
+ {\ifx\@issuetitle\@empty\else
+ \vskip 1em
+ \usekomafont{date}{\translate{specialissue}\par}%
+ \usekomafont{title}{\@issuetitle\par}%
+ \vskip 3pt
+ {\ifx\@issuesubtitle\@empty\else\usekomafont{subtitle}{\@issuesubtitle\par}\fi}%
+ \vskip 2em
+ {%
+ \ifx\@issueeditors\@empty\else
+ \usekomafont{date}{%
+ \translate{edby}\ \@issueeditors\par
+ }%
+ \fi
+ }%
+ \fi}%
+ \fi%
+ \vfill
+ {\usekomafont{publishers}{\translate{univie} $\cdot$ \translate{lingdep} $\cdot$ \@pubyear\par}}%
+ \end{flushleft}\par
+ \@thanks\let\@thanks\@empty
+ \null
+ \if@twoside
+ \@tempswatrue
+ \expandafter\ifnum \@nameuse{scr@v@3.12}>\scr@compatibility\relax
+ \else
+ \ifx\@uppertitleback\@empty\ifx\@lowertitleback\@empty
+ \@tempswafalse
+ \fi\fi
+ \fi
+ \if@tempswa
+ \next@tpage
+ \begin{minipage}[t]{\textwidth}
+ \@uppertitleback
+ \end{minipage}\par
+ \vfill
+ \begin{minipage}[b]{\textwidth}
+ \@lowertitleback
+ \end{minipage}\par
+ \@thanks\let\@thanks\@empty
+ \fi
+ \fi
+ \ifx\@dedication\@empty
+ \else
+ \next@tdpage\null\vfill
+ {\centering\usekomafont{dedication}{\@dedication \par}}%
+ \vskip \z@ \@plus3fill
+ \@thanks\let\@thanks\@empty
+ \cleardoubleemptypage
+ \fi
+ \ifx\titlepage@restore\relax\else\clearpage\titlepage@restore\fi
+ \end{titlepage}
+ \clearpage
+ \thispagestyle{empty}
+ ~\vfill
+ \impressum
+ \clearpage
+ \ifspecialprint\else
+ \ifx\@issuetitle\@empty\else
+ \thispagestyle{plain}
+ \tableofcontents
+ \clearpage
+ \fi
+ \fi
+ \global\titlepageneededfalse%
+ \fi%
+}
+
+\renewcommand*{\@maketitle}{%
+ \addcontentsline{toc}{chapter}{\@author\texorpdfstring{\\[5pt]}{: }\@title%
+ \ifx\@subtitle\empty\else\texorpdfstring{\\}{. }\@subtitle\fi}%
+ \next@tdpage
+ \global\@topnum=\z@
+ \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
+ \ifx\@titlehead\@empty \else
+ \begin{minipage}[t]{\textwidth}
+ \usekomafont{titlehead}{\@titlehead\par}%
+ \end{minipage}\par
+ \fi
+ \null
+ \vskip 2em%
+ \renewcommand*\@@aff[2][]{%
+ \def\@ccauthor{\translate{corrauthor}}%
+ \ifx##1f%
+ \def\@ccauthor{\translate{corrauthorf}}%
+ \else\ifx##1p%
+ \def\@ccauthor{\translate{corrauthors}}%
+ \fi\fi%
+ \def\@cauthor{##2}%
+ \thanks{\protect\raggedright ##2 (\@ccauthor).}
+ }
+ \renewcommand*\@aff[2][]{%
+ \thanks{\protect\raggedright ##2.}
+ }
+ \begin{flushleft}%
+ \renewcommand*\thefootnote{\@fnsymbol\c@footnote}%
+ \let\@ooldmakefnmark\@makefnmark
+ \renewcommand*{\@makefnmark}{\rlap\@ooldmakefnmark}%
+ \vskip 1em%
+ \ifx\@subject\@empty \else
+ {\usekomafont{subject}{\@subject \par}}%
+ \vskip 1.5em
+ \fi
+ {\usekomafont{title}{\@title \par}}%
+ \vskip .5em
+ {\ifx\@subtitle\@empty\else\usekomafont{subtitle}\@subtitle\par\fi}%
+ \vskip 1em
+ {\usekomafont{author}{\@author\par}}%
+ {\color{gray}\rule{1\columnwidth}{.7pt}\par}%
+ \end{flushleft}%
+ \begin{flushright}
+ {\footnotesize
+ \emph{Wiener Linguistische Gazette} (\versal{WLG})\par
+ \translate{lingdep}\par
+ \translate{univie}\par
+ \translate{issue} \@issue\ (\@pubyear): \thepage--\lastpageref
+ }%
+ \vskip \z@ \@plus 1em
+ {\usekomafont{publishers}{\@publishers \par}}%
+ \ifx\@dedication\@empty \else
+ \vskip 2em
+ {\usekomafont{dedication}{\@dedication \par}}%
+ \fi
+ \end{flushright}%
+ \par
+ \vskip 2em
+}%
+
+% Rewrite \include for local LastPage counter
+\def\@include#1 {%
+ \def\ljobname{#1}%
+ \def\lastpageref{\pageref{LastPage#1}}%
+ \clearpage
+ \if@filesw
+ \immediate\write\@mainaux{\string\@input{#1.aux}}%
+ \fi
+ \@tempswatrue
+ \if@partsw
+ \@tempswafalse
+ \edef\reserved@b{#1}%
+ \@for\reserved@a:=\@partlist\do
+ {\ifx\reserved@a\reserved@b\@tempswatrue\fi}%
+ \fi
+ \if@tempswa
+ \let\@auxout\@partaux
+ \if@filesw
+ \immediate\openout\@partaux #1.aux
+ \immediate\write\@partaux{\relax}%
+ \fi
+ \ifbiblatex
+ \newrefsection
+ \fi
+ \@input@{#1.tex}%
+ \label{LastPage#1}%
+ \clearpage
+ \@writeckpt{#1}%
+ \if@filesw
+ \immediate\closeout\@partaux
+ \fi
+ \else
+ \deadcycles\z@
+ \@nameuse{cp@#1}%
+ \fi
+ \let\@auxout\@mainaux}
+
+\setkomafont{author}{\normalsize\normalfont\mdseries\itshape}
+\setkomafont{title}{\normalfont\bfseries\Large}
+\setkomafont{subtitle}{\normalsize\normalfont\bfseries}
+\setkomafont{date}{\normalsize\normalfont\mdseries}
+\setkomafont{publishers}{\small\mdseries}
+
+
+%% =============================================================
+%% CONVENIENCE FUNCTION FOR COMPLETE ISSUES:
+%% =============================================================
+
+\RequirePackage{pdfpages}
+\def\@iauthor{}
+\def\@ititle{}
+\def\@isubtitle{}
+\define@key{wlgissue}{author}{\def\@iauthor{#1}}
+\define@key{wlgissue}{title}{\def\@ititle{#1}}
+\define@key{wlgissue}{subtitle}{\def\@isubtitle{#1}}
+\newcommand*\makeissuetitle{\@maketitlepage}
+\newcommand*\includefinalpaper[2][]{%
+ \def\@iauthor{}
+ \def\@ititle{}
+ \def\@isubtitle{}
+ \setkeys{wlgissue}{#1}
+ \def\@ipaper{#2}
+ \cleardoublepage
+ \phantomsection
+ \addcontentsline{toc}{chapter}{\@iauthor\texorpdfstring{\\[5pt]}{: }\@ititle%
+ \ifx\@isubtitle\empty\else\texorpdfstring{\\}{. }\@isubtitle\fi}%
+ \includepdf[pages=3-]{\@ipaper}
+}
+
+
+%% =============================================================
+%% FOOTNOTES:
+%% =============================================================
+
+% Increase distance between text and footnotes
+\renewcommand\footnoterule{%
+% Distance between text and footnote rule (1 line)
+ \kern-3\p@\hrule\@width.4\columnwidth%
+ \kern2.6\p@%
+% Distance between footnote rule and foot notes (0.2em)
+ \vspace{0.2em}}%
+
+% Fotenote mark not superscripted
+\newlength{\footnumwidth}
+% Adapt number width to maximum footnote count (footnotesize)
+\newcommand*\maxfn{199}
+\AtBeginDocument{%
+ \settowidth{\footnumwidth}{{\normalfont\footnotesize\maxfn\space\space}}
+ \deffootnote[\footnumwidth]{\footnumwidth}{1em}{\thefootnotemark\space\space}
+}
+
+% Footnote at botton despite \raggedbottom
+%\RequirePackage[bottom,hang]{footmisc}
+%\setlength{\footnotemargin}{1.2em}
+
+
+%% =============================================================
+%% ADAPT ENVIRONMENTS:
+%% =============================================================
+
+% Headings
+% (serifs)
+\setkomafont{sectioning}{\normalfont\normalcolor\bfseries}
+
+% Abstract
+\renewenvironment{abstract}{%
+ \addsec*{\hspace*{2.4em}Abstract}
+ \quotation\noindent\ignorespaces%
+}{%
+ \if@twocolumn\else\endquotation\fi
+}
+
+% Keywords
+\newcommand\keywords[1]{%
+ \begin{quote}
+ \begin{labeling}{\textbf{\translate{keywords}:}}
+ \RaggedRight\small%
+ \item[\textbf{\translate{keywords}:}]
+ #1%
+ \end{labeling}
+ \end{quote}
+}
+
+% Motto
+\setkomafont{dictum}{\rmfamily}
+\setkomafont{dictumauthor}{\rmfamily}
+\renewcommand\dictumwidth{.7\textwidth}
+\renewcommand\raggeddictumtext{\raggedleft}
+\renewcommand*{\dictumrule}{}
+
+\newcommand\motto[2][]{%
+\dictum[#1]{#2}
+\medskip
+\@afterindentfalse
+\@afterheading
+}
+
+% Lists
+\RequirePackage{enumitem}
+\setlist{itemsep=0pt}
+% Itemize
+\def\labelitemi{--}
+
+% Quote (smaller)
+\newcommand*{\OriginalQuote}{}
+\let\OriginalQuote\quote
+\renewcommand*{\quote}{\OriginalQuote\small}
+
+% Quotation (smaller)
+\newcommand*{\OriginalQuotation}{}
+\let\OriginalQuotation\quotation
+\renewcommand*{\quotation}{\OriginalQuotation\small}
+
+% Description (KOMA) (normal italic)
+\setkomafont{descriptionlabel}{\normalfont\itshape}
+
+% ldots centered
+\let\olddots\ldots
+\renewcommand*{\ldots}{\olddots\unkern}
+
+\ifcovington
+\RequirePackage{covington}
+\renewcommand{\p@equation}[1]{(#1)}
+\fi
+
+
+%% =============================================================
+%% TABLES AND FIGURES:
+%% =============================================================
+
+%% caption label bold
+\setkomafont{captionlabel}{\bfseries}
+% left aligned captions
+\RequirePackage[%
+ format=hang,
+ justification=RaggedRight,
+ singlelinecheck=false
+ ]{caption}
+
+%% Nicer tables with booktabs.sty
+\RequirePackage{booktabs}
+
+%% allow multiple rows
+\RequirePackage{multirow}
+
+
+%% =============================================================
+%% BIBLIOGRAPHY:
+%% =============================================================
+
+% Biblatex
+\ifbiblatex
+\RequirePackage[%
+ style=univie-ling,
+ sorting=nyvt,
+ autolang=hyphen]
+{biblatex}
+\fi
+\AtBeginDocument{%
+\@ifundefined{bibhang}{}{%
+ \setlength{\bibhang}{\parindent}%
+ \renewcommand{\bibfont}{\small}%
+}%
+}
+
+%% =============================================================
+%% REFERENCES:
+%% =============================================================
+
+% Varioref:
+\RequirePackage[ngerman]{varioref}
+\AtBeginDocument{%
+\renewcommand\reftextafter{auf der \reftextvario{folgenden}{nächsten} Seite}%
+\renewcommand\reftextfaceafter{auf der \reftextvario{folgenden}{nächsten} Seite}%
+\renewcommand\reftextbefore{auf der \reftextvario{vorhergehenden}{vorangegangenen} Seite}%
+\renewcommand\reftextfacebefore{auf der \reftextvario{vorhergehenden}{vorangegangenen} Seite}%
+\renewcommand\reftextfaraway[1]{auf S.~\pageref{#1}}%
+\renewcommand\reftextpagerange[2]{auf S.~\pageref{#1}--\pageref{#2}}%
+}
+
+% Prettyref:
+% (varioref included)
+\RequirePackage{prettyref}
+\newrefformat{cha}{Kapitel~\vref{#1}}
+\newrefformat{sec}{Abschnitt~\vref{#1}}
+\newrefformat{sub}{Abschnitt~\vref{#1}}
+\newrefformat{anm}{Anm.~\ref{#1}}
+\newrefformat{app}{Anhang~\vref{#1}}
+\newrefformat{tab}{Tabelle~\vref{#1}}
+\newrefformat{fig}{Abbildung~\vref{#1}}
+\newrefformat{exp}{Argumentation~\vref{#1}}
+
+
+%% =============================================================
+%% SEMANTIC MARKUP:
+%% =============================================================
+
+\newcommand\Expression[1]{\textit{#1}}
+\newcommand\Concept[1]{\textsc{#1}}
+\newcommand\Meaning[1]{\enquote*{#1}}
+
+%% =============================================================
+%% EDITORIAL MACROS:
+%% =============================================================
+
+% Adapt start page number
+\newcounter{startpage}
+\setcounter{startpage}{1}
+\newcommand*\startpage[1]{\setcounter{startpage}{#1}}
+
+% Main url
+\def\wlgurl{http://wlg.univie.ac.at}
+
+%% Finis.
diff --git a/macros/latex/contrib/univie-ling/tex/univielogo-sw.pdf b/macros/latex/contrib/univie-ling/tex/univielogo-sw.pdf
new file mode 100644
index 0000000000..6b6844228b
--- /dev/null
+++ b/macros/latex/contrib/univie-ling/tex/univielogo-sw.pdf
Binary files differ