\documentclass[english]{article}

\usepackage[osf]{libertine}
\usepackage[scaled=0.7]{beramono}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[hyphens]{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}{\texorpdfstring{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}{LyX}}

% improve layout
\tolerance 1414
\hbadness 1414
\emergencystretch 1.5em
\hfuzz 0.3pt
\widowpenalty = 10000
\vfuzz \hfuzz
\raggedbottom

% Conditional 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 2.9, 2024/09/28}

\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

\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{isodate}: Format URL dates.
 \item \textsf{l3keys}: Key-value interface for class options.
 \item \textsf{scrlayer-scrpage}: Page layout settings.
 \item \textsf{setspace}: Line spacing adjustments.
 \item \textsf{translator}: Localization machinery.
 \item \textsf{url}: Support for typesetting URLs.
\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{sourcecodepro}: Default monospaced font (\emph{Source Code Pro}).
 \item \textsf{biblatex}: Contemporary bibliography support.
 \item \textsf{caption}: Caption layout adjustments.
 \item \textsf{covington}: Support for linguistic examples\slash glosses.
 \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 packages are required for optional features (not used by default):
\begin{itemize}
 \setlength\itemsep{0pt}
 \item \textsf{biblatex-apa}: APA style for \textsf{biblatex}.
 \item \textsf{draftwatermark}: Create a draft mark.
 \item \textsf{fontspec}: Load OpenType fonts (with LuaTeX or XeTeX).
 \item \textsf{polyglossia}: Multi-language and script support.
\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, \emph{Arial} (or, alternatively, \emph{Helvetica}) as a sans serif font, and \emph{Source Code Pro}
as a monospaced (typewriter) 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}, \emph{Palatino}
and \emph{Source Code Pro} 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!).

As to font selection: \emph{Arial} is used in the official title page template\footnote{See \url{https://linguistics.univie.ac.at/studium/masterstudium/masterarbeit/}.}, so I used that (with the mentioned fallback, \emph{Helvetica}).
A serif font recommendation is not given. The corporate design manual of the university suggests \emph{Source Serif Pro}, but this font is
too heavy for an academic paper (and we cannot use the suggested sans, \emph{Source Sans Pro}, anyway). A somewhat standard for academic papers
and theses is \emph{Times New Roman}, but I think this runs too small for the text block size we have (as the name suggests, this font
has been developed for the small columns of newspapers), and it is also pretty overused. The selected font, \emph{Palatino}, in contrast,
suits well to wider text lines, it is well supported in \LaTeX, and it fits with \emph{Helvetica}. The monospaced font, \emph{Source Code Pro},
is a good companion to this pair.

If you (or your instructor) prefer(s) \emph{Times New Roman} over \emph{Palatino} nevertheless, 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.

If you do neither like \emph{Palatino} nor \emph{Times}: A recommendable serif font (and actually the former `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. A more accessible alternative, with a similar style than \emph{MinionPro},
is the \emph{CrimsonPro} font, which is available in modern \LaTeX\ distributions via the \textsf{cochineal} package. Another good option is the font
this manual is typeset in, \emph{Linux Libertine} (via the \textsf{libertine} package).

Note that by default, with PostScript fonts, \uvlt\ also loads the \textsf{fontenc} package with T1 font encoding, but this can be customized
(see sec.~\ref{coptions} for details).

If you want (or need) to load all fonts and font encodings manually, you can switch off all automatic loading of fonts and font encodings 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{fontenc} (this choice is useful if you want to control the font handling completely yourself).
\end{description}
%
With PostScript fonts, \uvlt\ also loads the \textsf{fontenc} package with T1 font encoding, which is suitable for
most Western European (and some Eastern European) writing systems. In order to load different, or more, encodings, the class option
\begin{description}
	\setlength\itemsep{0pt}
	\item{\joption{fontenc=<encoding(s)>}} can be used (e.\,g., \joption{fontenc=\{T1,X2\}}).
	With \joption{fontenc=none}, the loading of the \textsf{fontenc} package can be prevented. The package is also not loaded with
	\joption{fonts=none}.
\end{description}

\subsection{Polyglossia}

If you need \textsf{polyglossia} rather than \textsf{babel} for language support, please do not use the package yourself, but
rather use the package option \joption{polyglossia=true}. This assures correct loading order. This also presets \joption{fonts=otf}.

\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{Draft mode}\label{draft}

The option \joption{draftmark=true|false|firstpage} allows you to mark your document as a draft, which is indicated by a watermark (including the current date). This might be useful when sharing preliminary versions with your supervisor.
With \joption{draftmark=true}, this mark is printed on top of each page.  With \joption{draftmark=firstpage}, the draft mark appears on the title page only.

\subsection{Short papers}

Via the option \joption{short=true|false}, \uvlt\ provides a layout setting which is more suitable for short written papers such as home exams
or short concepts. As opposed to the default layout, this uses smaller font sizes and does not insert a title page. Rather than that, the
title is printed on top of the first page, and the main text immediately follows.

Such short papers usually do not have a table of contents or a declaration, but you can use it if you want.

\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}. Note that this is not output with \joption{short=true}.
 \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 (but can be overwritten with this macro).
\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{Hyperlinks}

The stylesheet requires you to always give last access dates to web links (URLs). To make this easier,
\uvlt\ provides a number of convenience macros. To begin with, you can easily enter URLs with the last date you
accessed the site with the function
\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}]
\weblink{<URL>}[<date>]
\end{lstlisting}
%
This will format the date in the preferred way (``[last accessed: <date>]''), localized to English or German.
The argument can be given in the form YYYY-MM-DD, DD/MM/YYYY, or DD.MM.YYYY, e.g.
\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}]
\weblink{https://linguistics.univie.ac.at}[27/06/2024]
\end{lstlisting}
%
will print: \url{https://linguistics.univie.ac.at} [last accessed: 27/06/2024].
If you do not give the optional date argument, no date is printed unless you have specified a general last access date
by means of the function
\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={SetURLDate}]
\SetURLDate{<date>}
\end{lstlisting}
%
which takes the same date format as argument. This function might come in handy if you have the same access date
for all, or many, URLs. And it lets you update all URL access dates with a single change.

For hyperlinks without date, you can also use the legacy command \jcsmacro{url\{<URL>\}}.
To output the date information only, you can use the macro \jcsmacro{urldate\{<date>\}}.

\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 or not using biblatex}\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 (seemingly unmaintained) Bib\TeX\ style file \textsf{unified.bst} that implements the \emph{Unified Style Sheet for Linguistics} is available on the Internet.\footnote{A copy is at \url{https://raw.githubusercontent.com/jspitz/univie-ling/master/3rdparty/unified.bst}.} This style produces English output, a localized version for German,
\textsf{unified-de.bst}, is available as well.\footnote{See \url{https://raw.githubusercontent.com/jspitz/univie-ling/master/3rdparty/unified-de.bst}.}
Both styles require the \textsf{natbib} package to be loaded.
Note, though, that both styles provide only very rudimentary support for the Unified Style Sheet. Thus, if you want to follow the Applied Linguistics conventions
really strictly, it is strongly recommended that you use \textsf{biblatex} with the preloaded \textsf{univie-ling} style.

It is also possible (though not recommended) to use the \texttt{thebibliography} environment if,
for some reason, you do not want to use \textsf{biblatex} nor Bib\TeX. Of course, in this case you are all responsible for the
proper formatting of the entries. If you decide for this, you must load the \textsf{natbib} package and use the
syntax documented in the natbib manual (\cite[sec.~1]{natbib}) for the proper setup of bibitems, e.\,g.,\footnote{%
	Note the missing space before and after the parentheses that mark the year!}

\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={bibitem}]
\bibitem[Jones et al.(1990)Jones, Baker, & Williams]{jon90}
	Jones, Baker, & Williams. 1990. ...
\end{lstlisting}
%
(Only) if \textsf{natbib} is loaded, \uvlt\ will take care that the spacing with the \texttt{thebibliography} environment
is correct.

\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{flushleft}
\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}
\end{flushleft}

\condbreak{2\baselineskip}
\section{Release History}

\begin{itemize}
  \item 2024/09/28 (v.\,2.9)
	\begin{itemize}
		\item No change to this class.
	\end{itemize}
  \item 2024/09/20 (v.\,2.8)
	\begin{itemize}
		\item Add basic support for \texttt{thebibliography} environment.
		\item Update documentation on bibliography beyond \textsf{biblatex}.
	\end{itemize}
  \item 2024/07/23 (v.\,2.7)
	\begin{itemize}
		\item Fix spacing after \jfcsmacro{weblink}.
		\item Fix empty argument check in \jfcsmacro{weblink}.
	\end{itemize}
  \item 2024/06/27 (v.\,2.6)
    \begin{itemize}
	  \item Provide \jcsmacro{weblink}, \jcsmacro{SetURLDate} and \jcsmacro{urldate} macros.
    \end{itemize}
  \item 2024/05/09 (v.\,2.5)
	\begin{itemize}
		\item Implement \joption{short} option.
	\end{itemize}
  \item 2023/03/31 (v.\,2.4)
  \begin{itemize}
  	\item Fix default \joption{ps} and \joption{se} text type.
  \end{itemize}
  \item 2023/01/26 (v.\,2.3)
	\begin{itemize}
		\item No change to this class.
	\end{itemize}
  \item 2022/12/06 (v.\,2.2)
	\begin{itemize}
		\item Fix boolean option parsing.
	\end{itemize}
  \item 2022/10/21 (v.\,2.1)
	\begin{itemize}
		\item Fix \joption{polyglossia} option.
	\end{itemize}
  \item 2022/10/02 (v.\,2.0)
	\begin{itemize}
		\item Use \textsf{l3keys} rather than \textsf{xkeyval} for key-value option handling.
	  	\item Fix some \textsf{varioref} definitions.
	  	\item Use \textsf{translator} instead of \textsf{translations} for localization.
	  	\item Various small class cleanups.
	\end{itemize}
  \item 2022/09/08 (v.\,1.20)
	\begin{itemize}
		\item Load \textsf{varioref} \jfcsmacro{AtBeginDocument}.
	\end{itemize} 
	\item 2022/06/18 (v.\,1.19)
	\begin{itemize}
		\item Add option \joption{fontenc}.
		\item Fix translation of English example string.
		\item Add monospaced font.
	\end{itemize} 
	\item 2022/05/11 (v.\,1.18)
	\begin{itemize}
		\item Fix error with subtitles.
	\end{itemize} 
  \item 2022/02/05 (v.\,1.17)
	\begin{itemize}
		\item Fix option \joption{apa}.
		\item Omit quotation marks when title is empty.
	\end{itemize} 
  \item 2021/11/03 (v.\,1.16)
	\begin{itemize}
		\item Adjust font size and margins to dept. standards.
		\item Add option \joption{draftmark}. See sec.~\ref{draft}.
		\item Fix grouping in \jcsmacro{maketitle}.
	\end{itemize} 
  \item 2021/10/19 (v.\,1.15) No change to this class.
  \item 2021/09/01 (v.\,1.14) Do not overwrite \jmacro{texttype} set by user with default value.
  \item 2020/11/11 (v.\,1.13) No change to this class.
  \item 2020/06/25 (v.\,1.12) No change to this class.
  \item 2020/05/05 (v.\,1.11) New option \joption{polyglossia}.
  \item 2020/05/01 (v.\,1.10) No change to this class.
  \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) Improve \jcsmacro{makedeclaration} output.
  \item 2016/05/05 (v.\,0.7)  Fix comma after \emph{et al.} with \textsf{biblatex-apa}.
  \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{natbib} Daly, Patrick W.:
\emph{Natural Sciences Citations and References}. September 13, 2010.
\url{http://www.ctan.org/pkg/natbib}.

\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}
