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.cls22
1 files changed, 15 insertions, 7 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/tudapub.cls b/macros/latex/contrib/tuda-ci/tex/tudapub.cls
index a25e53aad1..51c51186d7 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 3.11 (2021/02/22),
+%% This is file `tudapub.cls' version 3.12 (2021/03/06),
%% it is part of
%% TUDa-CI -- Corporate Design for TU Darmstadt
%% ----------------------------------------------------------------------------
@@ -26,8 +26,8 @@
%%
%% ============================================================================
%%
-\def\fileversion{3.11}
-\def\filedate{2021/02/22}
+\def\fileversion{3.12}
+\def\filedate{2021/03/06}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{tudapub}
@@ -195,6 +195,12 @@
\ProcessKeysOptions{ptxcd/pub}
+
+%Option adjustments required for valid PDF/A
+\bool_if:NT \g_ptxcd_pdfa_bool {
+ \PassOptionsToPackage{RGB}{xcolor}
+}
+
\exp_args:Nx \tl_if_eq:nnT {\prop_item:Nn \g_ptxcd_clsopts_prop {fontsize}} {9pt}
{
\prop_if_in:NnF \g_ptxcd_unknown_clsopts_prop {DIV}
@@ -943,10 +949,12 @@
\def\titlepage@restore{%
\endgroup
\ptxcd_restore_typearea:
- \dim_sub:Nn \evensidemargin {\marginparwidth+\marginparsep}
- \dim_add:Nn \textwidth {\marginparwidth+\marginparsep}
- \columnwidth=\textwidth
- \hsize=\columnwidth
+ \bool_if:nT {! \g_ptxcd_geometry_bool && \g_ptxcd_marginpar_bool} {
+ \dim_sub:Nn \evensidemargin {\marginparwidth+\marginparsep}
+ \dim_add:Nn \textwidth {\marginparwidth+\marginparsep}
+ \columnwidth=\textwidth
+ \hsize=\columnwidth
+ }
\global\@titlepageiscoverpagefalse
\let\titlepage@restore\relax
}%