summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tuda-ci/tex/tudaposter.cls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-29 03:01:31 +0000
committerNorbert Preining <norbert@preining.info>2019-11-29 03:01:31 +0000
commitb4325b27feab3a4183f51bfe598686eb72a8c1e0 (patch)
tree588136f898659a6e62838a59f630d5d37313c9d3 /macros/latex/contrib/tuda-ci/tex/tudaposter.cls
parent747dfc2fd42b7dbdc60bb83a91392d4960b1f48e (diff)
CTAN sync 201911290301
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudaposter.cls')
-rw-r--r--macros/latex/contrib/tuda-ci/tex/tudaposter.cls54
1 files changed, 12 insertions, 42 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/tudaposter.cls b/macros/latex/contrib/tuda-ci/tex/tudaposter.cls
index 49e8165223..ffd870ed25 100644
--- a/macros/latex/contrib/tuda-ci/tex/tudaposter.cls
+++ b/macros/latex/contrib/tuda-ci/tex/tudaposter.cls
@@ -1,33 +1,3 @@
-%% This is file `tudaposter.cls' version 2.02 (2019/11/16),
-%% it is part of
-%% TUDa-CI -- Corporate Design for TU Darmstadt
-%% ----------------------------------------------------------------------------
-%%
-%% Copyright (C) 2018--2019 by Marei Peischl <marei@peitex.de>
-%%
-%% ============================================================================
-%% This work may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3c
-%% of this license or (at your option) any later version.
-%% The latest version of this license is in
-%% http://www.latex-project.org/lppl.txt
-%% and version 1.3c or later is part of all distributions of LaTeX
-%% version 2008/05/04 or later.
-%%
-%% This work has the LPPL maintenance status `maintained'.
-%%
-%% The Current Maintainers of this work are
-%% Marei Peischl <tuda-ci@peitex.de>
-%% Markus Lazanowski <latex@ce.tu-darmstadt.de>
-%%
-%% The development respository can be found at
-%% https://github.com/tudace/tuda_latex_templates
-%% Please use the issue tracker for feedback!
-%%
-%% ============================================================================
-%%
-\def\fileversion{2.02}
-\def\filedate{2019/11/16}
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{tudaposter}{\filedate}{\fileversion}{Poster Layouts for the Corporate Design of TU Darmstadt}
@@ -212,21 +182,21 @@
\bool_if:NT \g_TUDa_poster_foot_bool {
\dim_compare:nT {\g_TUDa_footheight_dim = 0pt} {
- \dim_set:Nn \g_TUDa_footheight_dim
+ \dim_set:Nn \g_TUDa_footheight_dim
{1.5\baselineskip}
}
\geometry{bottom=\dim_eval:n {\g_TUDa_footheight_dim+\footskip+\g_TUDa_margin_dim}}
-}
+}
%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{scrlayer}
-
+
\dim_new:N \g_TUDa_qrcode_dim
-\dim_gset:Nn \g_TUDa_qrcode_dim {.7\c_TUDa_logoheight_dim}
-
+\dim_gset:Nn \g_TUDa_qrcode_dim {.7\c_TUDa_logoheight_dim}
+
\DeclareNewLayer[
background,
align=br,
@@ -364,7 +334,7 @@
\endgroup
\TUDa_Setup_Title_box:
- \dim_gset:Nn \g_TUDa_titleback_dim {
+ \dim_gset:Nn \g_TUDa_titleback_dim {
\bool_if:NT \g_TUDa_colorsubtitle_bool {\box_dp:N \g_TUDa_title_box}+
\box_ht:N \g_TUDa_title_box+.5\c_TUDa_logoheight_dim
}
@@ -372,7 +342,7 @@
\ModifyLayer[
height=\g_TUDa_titleback_dim
]{TUDa.poster.background}
-
+
\bool_if:NF \g_TUDa_logo@inhead_bool {
\ModifyLayer[
addvoffset=\g_TUDa_titleback_dim+\c_TUDa_smallrule_dim
@@ -380,7 +350,7 @@
}
\bool_if:NT \g_TUDa_logo@inhead_bool {
- \dim_compare:nT {\box_ht:N \g_TUDa_title_info_box+ \box_dp:N \g_TUDa_title_info_box > \box_ht:N \g_TUDa_title_box}
+ \dim_compare:nT {\box_ht:N \g_TUDa_title_info_box+ \box_dp:N \g_TUDa_title_info_box > \box_ht:N \g_TUDa_title_box}
{\msg_warning:nn {TUDaPoster} {infobox-too-high}}
}
\leavevmode\box_use:N \g_TUDa_title_box\par
@@ -391,7 +361,7 @@
\par\nointerlineskip
\box_use:N \g_TUDa_titlegraphic_box
}
-
+
\DeclareLayer[
clone=TUDa.poster.marginpar,
height=\bool_if:NF \l_TUDa_marginpar_overlap_bool {-\box_ht:N \g_TUDa_titlegraphic_box-\box_dp:N \g_TUDa_titlegraphic_box}
@@ -399,11 +369,11 @@
addvoffset=\bool_if:NF \l_TUDa_marginpar_overlap_bool {+\box_ht:N\g_TUDa_titlegraphic_box+\box_dp:N \g_TUDa_titlegraphic_box}
+\box_ht:N \g_TUDa_title_box+\box_dp:N \g_TUDa_title_box+.5\c_TUDa_logoheight_dim,
]{TUDa.poster.marginpar.title}
-
+
\tl_if_empty:NF \g_TUDa_poster_qrcode_tl {
\ModifyLayer[addwidth=-\g_TUDa_qrcode_dim-\c_TUDa_rulesep_dim]{TUDa.poster.footer}
}
-
+
\AddLayersToPageStyle{TUDa.poster.title}{TUDa.poster.marginpar.title}
\AddLayersToPageStyle{TUDa.poster.title}{TUDa.poster.logo}
\thispagestyle{TUDa.poster.title}
@@ -424,7 +394,7 @@
}
\box_new:N \g_TUDa_titlegraphic_box
-\seq_new:N \g_TUDa_title_info_seq
+\seq_new:N \g_TUDa_title_info_seq
\seq_gput_right:Nn \g_TUDa_title_info_seq {
\rlap{\includegraphics[height=\c_TUDa_logoheight_dim]{\g_TUDa_logofile_tl}}