summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-17 23:12:19 +0000
committerKarl Berry <karl@freefriends.org>2019-12-17 23:12:19 +0000
commit4e99d073c3d5a980fbaa026808ea2df5d5286dbf (patch)
tree8bf72e802de6218343df4740408752c9d8b34164 /Master/texmf-dist/tex/latex/tuda-ci/tudapub.cls
parente56604d2459702e2c79930745e4510bbb62ceee5 (diff)
tuda-ci (18dec19)
git-svn-id: svn://tug.org/texlive/trunk@53161 c570f23f-e606-0410-a88d-b1316a301751
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} {