summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/univie-ling
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-03 20:49:54 +0000
committerKarl Berry <karl@freefriends.org>2021-11-03 20:49:54 +0000
commitf2097854c0f23f9e06a98e134824c76a3e33d286 (patch)
treed5e62165b109e6c6e519bdabc8b8d2a50abfdaeb /Master/texmf-dist/tex/latex/univie-ling
parentb2997a70d96cebf6373f204a3c91ef4762bfc1cf (diff)
univie-ling (3nov21)
git-svn-id: svn://tug.org/texlive/trunk@60937 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/univie-ling')
-rw-r--r--Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls50
-rw-r--r--Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls55
-rw-r--r--Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls120
-rw-r--r--Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls2
-rw-r--r--Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx2
-rw-r--r--Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx2
6 files changed, 221 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls
index 83353bfbe3b..da8d92a1bfc 100644
--- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls
+++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls
@@ -31,13 +31,15 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-expose}[2021/10/19 v1.15 Univie Linguistic Exposes (JSp)]
+\ProvidesPackage{univie-ling-expose}[2021/11/03 v1.16 Univie Linguistic Exposes (JSp)]
\RequirePackage{xkeyval}
\newif\ifbiblatex\biblatextrue
\newif\ifapa\apafalse
\newif\ifcaptionp\captionptrue
+\newif\ifdraftmark\draftmarkfalse
+\newif\ifdraftmarkfp\draftmarkfpfalse
\newif\ifrefsp\refsptrue
\newif\ifcovington\covingtontrue
\newif\ifmicrotype\microtypetrue
@@ -132,6 +134,24 @@
}
\DeclareOptionX{covington}[true]{\setkeys{uvt}{covington=#1}}
+% draftmark=<true|false>
+% Print draftmark
+\define@choicekey*+{uvt}{draftmark}[\val\nr]{true,false,firstpage}{%
+ \ifcase\nr\relax% true:
+ \draftmarktrue
+ \draftmarkfpfalse
+ \or% false:
+ \draftmarkfalse
+ \draftmarkfpfalse
+ \or% firstpage:
+ \draftmarktrue
+ \draftmarkfptrue
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown draft value}%
+}
+\DeclareOptionX{draftmark}[true]{\setkeys{uvt}{draftmark=#1}}
+
% microtype=<true|false>
% Load microtype
\define@boolkey+{uvt}{microtype}[true]{%
@@ -200,6 +220,8 @@
%% ============================================================
\RequirePackage{translations}
+\DeclareTranslation{German}{draft}{ENTWURF}
+\DeclareTranslation{English}{draft}{DRAFT}
\DeclareTranslation{German}{section}{Abschnitt}
\DeclareTranslation{English}{section}{section}
\DeclareTranslation{German}{footnote}{Anm.}
@@ -432,7 +454,7 @@
\end{flushright}
\vspace{2\baselineskip}
\begin{center}
- \bgroup\usekomafont{thesistype}{\GetTranslation{expo}}\egroup
+ {\usekomafont{thesistype}\GetTranslation{expo}}
\end{center}
\vspace{2\baselineskip}
\begin{center}
@@ -713,4 +735,28 @@
\fi
+
+%% =============================================================
+%% DRAFT:
+%% =============================================================
+
+\ifdraftmark
+
+\ifdraftmarkfp
+ \RequirePackage[firstpageonly]{draftwatermark}
+\else
+ \RequirePackage{draftwatermark}
+\fi
+
+\DraftwatermarkOptions{%
+ angle=0,
+ vpos=10pt,
+ anchor=ct,
+ fontsize=14pt,
+ text={\GetTranslation{draft} (\today)}
+}
+
+\fi
+
+
%% Finis.
diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls
index 7deb27f7643..3c06667d6e8 100644
--- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls
+++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls
@@ -31,13 +31,15 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-paper}[2021/10/19 v1.15 Univie Linguistic Papers (JSp)]
+\ProvidesPackage{univie-ling-paper}[2021/11/03 v1.16 Univie Linguistic Papers (JSp)]
\RequirePackage{xkeyval}
\newif\ifbiblatex\biblatextrue
\newif\ifapa\apafalse
\newif\ifcaptionp\captionptrue
+\newif\ifdraftmark\draftmarkfalse
+\newif\ifdraftmarkfp\draftmarkfpfalse
\newif\ifrefsp\refsptrue
\newif\ifcovington\covingtontrue
\newif\ifmicrotype\microtypetrue
@@ -107,6 +109,24 @@
}
\DeclareOptionX{caption}[true]{\setkeys{uvt}{caption=#1}}
+% draftmark=<true|false>
+% Print draftmark
+\define@choicekey*+{uvt}{draftmark}[\val\nr]{true,false,firstpage}{%
+ \ifcase\nr\relax% true:
+ \draftmarktrue
+ \draftmarkfpfalse
+ \or% false:
+ \draftmarkfalse
+ \draftmarkfpfalse
+ \or% firstpage:
+ \draftmarktrue
+ \draftmarkfptrue
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown draft value}%
+}
+\DeclareOptionX{draftmark}[true]{\setkeys{uvt}{draftmark=#1}}
+
% ref=<true|false>
% Load varioref and prettyref
\define@boolkey+{uvt}{ref}[true]{%
@@ -186,6 +206,8 @@
\LoadClass[%
a4paper,
+ fontsize=12pt,
+ BCOR=0mm,
captions=tableheading,
listof=totoc,
numbers=noenddot,
@@ -199,6 +221,8 @@
%% ============================================================
\RequirePackage{translations}
+\DeclareTranslation{German}{draft}{ENTWURF}
+\DeclareTranslation{English}{draft}{DRAFT}
\DeclareTranslation{German}{subm}{Abgegeben am}
\DeclareTranslation{English}{subm}{Submission date:}
\DeclareTranslation{German}{submto}{bei}
@@ -387,6 +411,10 @@ This includes all drawings, sketches, graphics and internet sources.}
\RequirePackage{scrlayer-scrpage}
\pagestyle{scrplain}
+% Margins
+\RequirePackage{geometry}
+\geometry{tmargin=3cm, bmargin=3cm, lmargin=3cm, rmargin=3cm, footskip=1.5cm}
+
% No widows and orphans
% No overfull lines
\tolerance 1414
@@ -472,7 +500,7 @@ This includes all drawings, sketches, graphics and internet sources.}
\end{flushright}
\vspace{2\baselineskip}
\begin{center}
- \bgroup\usekomafont{texttype}{\MakeUppercase{\@texttype}\par}\egroup
+ {\usekomafont{texttype}\MakeUppercase{\@texttype}\par}
\end{center}
\vspace{2\baselineskip}
\begin{center}
@@ -816,4 +844,27 @@ This includes all drawings, sketches, graphics and internet sources.}
\fi
+
+%% =============================================================
+%% DRAFT:
+%% =============================================================
+
+\ifdraftmark
+
+\ifdraftmarkfp
+ \RequirePackage[firstpageonly]{draftwatermark}
+\else
+ \RequirePackage{draftwatermark}
+\fi
+
+\DraftwatermarkOptions{%
+ angle=0,
+ vpos=10pt,
+ anchor=ct,
+ fontsize=14pt,
+ text={\GetTranslation{draft} (\today)}
+}
+
+\fi
+
%% Finis.
diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls
index 5449db234a9..ce9906f50d8 100644
--- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls
+++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls
@@ -31,16 +31,19 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-thesis}[2021/10/19 v1.15 Univie Linguistic Theses (JSp)]
+\ProvidesPackage{univie-ling-thesis}[2021/11/03 v1.16 Univie Linguistic Theses (JSp)]
\RequirePackage{xkeyval}
\newif\ifbiblatex\biblatextrue
\newif\ifapa\apafalse
\newif\ifcaptionp\captionptrue
+\newif\ifdraftmark\draftmarkfalse
+\newif\ifdraftmarkfp\draftmarkfpfalse
\newif\ifrefsp\refsptrue
\newif\ifcovington\covingtontrue
\newif\ifmicrotype\microtypetrue
+\newif\ifmultiauthors\multiauthorsfalse
\newif\ifpolyglossia\polyglossiafalse
\newif\ifpsfonts\psfontstrue
\newif\ifotffonts\otffontsfalse
@@ -160,6 +163,24 @@
}
\DeclareOptionX{fdegree}[true]{\setkeys{uvt}{fdegree=#1}}
+% draftmark=<true|false>
+% Print draftmark
+\define@choicekey*+{uvt}{draftmark}[\val\nr]{true,false,firstpage}{%
+ \ifcase\nr\relax% true:
+ \draftmarktrue
+ \draftmarkfpfalse
+ \or% false:
+ \draftmarkfalse
+ \draftmarkfpfalse
+ \or% firstpage:
+ \draftmarktrue
+ \draftmarkfptrue
+ \fi
+}{%
+ \ClassWarning{univie-ling-paper}{unknown draft value}%
+}
+\DeclareOptionX{draftmark}[true]{\setkeys{uvt}{draftmark=#1}}
+
% polyglossia=<true|false>
% Load polyglossia
\define@boolkey+{uvt}{polyglossia}[true]{%
@@ -227,6 +248,8 @@
%% ============================================================
\RequirePackage{translations}
+\DeclareTranslation{German}{draft}{ENTWURF}
+\DeclareTranslation{English}{draft}{DRAFT}
\DeclareTranslation{German}{section}{Abschnitt}
\DeclareTranslation{English}{section}{section}
\DeclareTranslation{German}{footnote}{Anm.}
@@ -235,7 +258,26 @@
\DeclareTranslation{English}{footnote}{example}
\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:
@@ -309,6 +351,11 @@
\else
\def\@degree{\csuse{degree@#1}}
\fi
+ \Ifstr{#1}{bachelor}{%
+ \KOMAoptions{fontsize=12pt}%
+ \RequirePackage{geometry}
+ \geometry{tmargin=3cm, bmargin=3cm, lmargin=3cm, rmargin=3cm, footskip=1.5cm}
+ }
}%
}
@@ -451,6 +498,7 @@
\else
\def\and{%
\end{tabular}%
+ \global\multiauthorstrue%
\hskip 1em \@plus.17fil%
\begin{tabular}[t]{c}%
}%
@@ -501,7 +549,7 @@
\end{flushright}
\vspace{2\baselineskip}
\begin{center}
- \bgroup\usekomafont{thesistype}{\MakeUppercase{\@thesistype\,/\,\hskip\z@skip\mbox{\@thesistype@en}}\par}\egroup
+ {\usekomafont{thesistype}\MakeUppercase{\@thesistype\,/\,\hskip\z@skip\mbox{\@thesistype@en}}\par}
\end{center}
\vspace{2\baselineskip}
\begin{center}
@@ -588,6 +636,48 @@
\restoregeometry
}%
+\newcommand\makedeclaration{%
+\def\and{%
+ \end{tabular}%
+ \hskip 1em \@plus.17fil%
+ \begin{tabular}[t]{c}%
+ \hline
+ }%
+\clearpage
+\thispagestyle{plain}%
+\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:
@@ -794,4 +884,28 @@
\fi
+
+%% =============================================================
+%% DRAFT:
+%% =============================================================
+
+\ifdraftmark
+
+\ifdraftmarkfp
+ \RequirePackage[firstpageonly]{draftwatermark}
+\else
+ \RequirePackage{draftwatermark}
+\fi
+
+\DraftwatermarkOptions{%
+ angle=0,
+ vpos=10pt,
+ anchor=ct,
+ fontsize=14pt,
+ text={\GetTranslation{draft} (\today)}
+}
+
+\fi
+
+
%% Finis.
diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls
index 5b789ac810d..e95c3507f5d 100644
--- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls
+++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls
@@ -32,7 +32,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-wlg}[2021/10/19 v1.15 WLG journal layout (JSp)]
+\ProvidesPackage{univie-ling-wlg}[2021/11/03 v1.16 WLG journal layout (JSp)]
%% ============================================================
diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx b/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx
index 80f31592f59..7b378e5c1ee 100644
--- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx
+++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx
@@ -36,7 +36,7 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesFile{univie-ling.bbx}[2021/10/13 v1.15dev biblatex bibliography style]
+\ProvidesFile{univie-ling.bbx}[2021/11/03 v1.16 biblatex bibliography style]
% Load base style (authoryear)
\RequireBibliographyStyle{authoryear}
diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx b/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx
index 6939d0adaa4..a6c94afa828 100644
--- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx
+++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx
@@ -34,7 +34,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesFile{univie-ling.cbx}[2021/09/01 v1.14 biblatex citation style]
+\ProvidesFile{univie-ling.cbx}[2021/11/03 v1.16 biblatex citation style]
\RequireCitationStyle{authoryear}