diff options
Diffstat (limited to 'macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex')
-rw-r--r-- | macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex | 72 |
1 files changed, 47 insertions, 25 deletions
diff --git a/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex b/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex index 8a14c4aa98..ecb3c6dda9 100644 --- a/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex +++ b/macros/latex/contrib/univie-ling/doc/univie-ling-thesis.tex @@ -4,7 +4,7 @@ \usepackage[scaled=0.7]{beramono} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} -\usepackage{url} +\usepackage[hyphens]{url} \usepackage[pdfusetitle, bookmarks=true,bookmarksnumbered=false,bookmarksopen=false, breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=false] @@ -59,7 +59,7 @@ \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.18, 2022/05/11} +\date{Version 1.19, 2022/06/18} \maketitle @@ -74,8 +74,6 @@ be adjusted. This manual documents the class as well as the configuration possib \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 @@ -107,18 +105,18 @@ The following class and packages are required and loaded by \uvlt: 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{mathptmx}: 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{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): +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}. @@ -133,20 +131,23 @@ The following package is required for an optional feature (not used by default): 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 +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} 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 +\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://ssc-philkultur.univie.ac.at/en/degree-programmes/doctoral-programme/doctoral-thesis/}.}, 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 a thesis (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} nonetheless, write to your preamble \begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single] \usepackage{mathptmx} \end{lstlisting} @@ -154,14 +155,20 @@ 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. +if you use \joption{fonts=otf}, respectively. -A recommendable serif font (and actually the `professional' house font of Vienna university) is \emph{MinionPro}, supported by the excellent \textsf{FontPro} package.% +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. +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). -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}). +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} @@ -184,8 +191,17 @@ The class provides the following option to set the font handling: 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). + 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} @@ -386,6 +402,12 @@ Templates are provided as well: \section{Release History} \begin{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. |