summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls')
-rw-r--r--macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls7
1 files changed, 4 insertions, 3 deletions
diff --git a/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls b/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
index a9ad7ed788..a342dd5c4b 100644
--- a/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
+++ b/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
@@ -31,7 +31,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-paper}[2020/11/11 v1.13 Univie Linguistic Papers (JSp)]
+\ProvidesPackage{univie-ling-paper}[2021/09/01 v1.14 Univie Linguistic Papers (JSp)]
\RequirePackage{xkeyval}
@@ -299,7 +299,7 @@ This includes all drawings, sketches, graphics and internet sources.}
}{}
\def\lectype{\csuse{lectype@#1}}%
\def\lectypeverb{\csuse{lectypeverb@#1}}%
- \def\@texttype{\csuse{texttype@#1}}
+ \iftoggle{customtexttype}{}{\def\@texttype{\csuse{texttype@#1}}}
}%
}
@@ -315,7 +315,8 @@ This includes all drawings, sketches, graphics and internet sources.}
}
\def\@texttype{Seminararbeit}
-\newcommand\texttype[1]{\def\@texttype{#1}}
+\newtoggle{customtexttype}
+\newcommand\texttype[1]{\def\@texttype{#1}\toggletrue{customtexttype}}
\def\@course{}
\newcommand\course[2]{\setkeys{lec}{lectype=#1}\def\@course{#2}}
\def\@instructor{}