summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls')
-rw-r--r--Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls32
1 files changed, 14 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls
index 4edef743339..9e1e2edda72 100644
--- a/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls
+++ b/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls
@@ -1,4 +1,4 @@
-%% This is file `tudapub.cls' version 2.03a (2019/11/29),
+%% This is file `tudapub.cls' version 2.04 (2019/12/17),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{2.03a}
-\def\filedate{2019/11/29}
+\def\fileversion{2.04}
+\def\filedate{2019/12/17}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{tudapub}
@@ -189,8 +189,8 @@
\prop_map_inline:Nn \g_TUDa_unknown_clsopts_prop {
\cs_if_exist:cT {KV@KOMA.\g_TUDa_pub_class_tl.cls@#1} {
\tl_if_empty:nTF {#2}
- {\KOMAoptions{#1} }
- {\clist_map_inline:nn {#2} {\KOMAoptions{#1=##1}}}
+ {\KOMAoptions{#1}}
+ {\KOMAoption{#1}{#2}}
}
}
@@ -373,21 +373,14 @@
\cs_set:Nn \TUDa_restore_typearea: {\loadgeometry{\c_TUDa_default_geometry_tl}}
}{
-\bool_if:NTF \g_TUDa_geometry_bool {
- \RequirePackage[top=\g_TUDa_topMargin_dim, inner=\g_TUDa_innerMargin_dim, outer=\dim_eval:n {\g_TUDa_outerMargin_dim}, bottom=\g_TUDa_bottomMargin_dim, columnsep= \g_TUDa_columnSep_dim, includehead, includefoot,includemp, nomarginpar, headheight=\g_TUDa_headheight_dim
- ]{geometry}
-
-
- \savegeometry{TUDa@nomarginpar}
- \cs_set:Nn \TUDa_disable_marginpar: {\loadgeometry{TUDa@nomarginpar}}
-}{
- \KOMAoptions{headinclude, footinclude, headwidth=text,footwidth=text}
\let\TUDa_disable_marginpar:\relax
\def\TUDa_restore_typearea:{
- \KOMAoptions{headinclude, footinclude, headwidth=text,footwidth=text}\recalctypearea
+ \KOMAoptions{headinclude, footinclude}
+ \bool_if:NTF \g_TUDa_marginpar_bool {\KOMAoptions{headwidth=textwithmarginpar,footwidth=textwithmarginpar}}
+ {\KOMAoptions{headwidth=text,footwidth=text}}
+ \recalctypearea
}
-}
-%maybe enforce marginar?=false in that case
+ \TUDa_restore_typearea:
}
@@ -564,7 +557,10 @@
}
\renewcommand*{\@author}{
- \seq_use:Nnnn \g_TUDa_author_seq {~\authorandname{}~} {,~} {~\&~}
+ \begingroup
+ \hyphenpenalty=100000
+ \seq_use:Nnnn \g_TUDa_author_seq {~\authorandname{}~} {,~} {~\&~}
+ \endgroup
}
\msg_new:nnn {TUDaPub} {infobox-too-high} {