summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tuda-ci/tex/tudapub.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudapub.cls')
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudapub.cls16
1 files changed, 8 insertions, 8 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/tudapub.cls b/macros/latex/contrib/tuda-ci/tex/tudapub.cls
index 72f6e21110..de7e72237b 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudapub.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudapub.cls
@@ -1,4 +1,4 @@
-%% This is file `tudapub.cls' version 2.09 (2020/03/09),
+%% This is file `tudapub.cls' version 2.10 (2020/04/25),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{2.09}
-\def\filedate{2020/03/09}
+\def\fileversion{2.10}
+\def\filedate{2020/04/25}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{tudapub}
@@ -417,8 +417,8 @@
\setkomafont{disposition}{\sffamily\bfseries}
\setkomafont{pageheadfoot}{\sffamily\small}
\setkomafont{pagenumber}{}
-\addtokomafont{captionlabel}{\accentfont}
-\addtokomafont{caption}{\accentfont}
+\addtokomafont{captionlabel}{\sffamily}
+\addtokomafont{caption}{\sffamily}
\KOMAoptions{footsepline=.5\c_TUDa_smallrule_dim}
@@ -1164,12 +1164,12 @@ contents={\color{identbarcolor}\rule{\layerwidth}{\layerheight}}
%Anpassungen marginpar
\cs_set_eq:NN\TUDa_orig@marginpar:\marginpar
-\newkomafont{marginpar}{\color{textaccentcolor}\accentfont}
+\newkomafont{marginpar}{\accentfont\color{textaccentcolor}}
\RenewDocumentCommand{\marginpar}{om}{
\IfNoValueTF{#1}{
- \TUDa_orig@marginpar:{\usekomafont{marginpar}#2}
+ \TUDa_orig@marginpar:{\leavevmode\usekomafont{marginpar}#2}
}{
- \TUDa_orig@marginpar:[\usekomafont{marginpar}#1]{\usekomafont{marginpar}#2}
+ \TUDa_orig@marginpar:[\leavevmode\usekomafont{marginpar}#1]{\leavevmode\usekomafont{marginpar}#2}
}
}