summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-12-25 03:01:41 +0000
committerNorbert Preining <norbert@preining.info>2021-12-25 03:01:41 +0000
commit41baa3fc38fdb0dfd5f1825d8548a999ab07bf5d (patch)
tree2aa0e84c98e4eff8dcef10ccf1687e0bb396e2fa /macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg
parent71bfbdc975332e32bf47112ec2d32f8491b1df40 (diff)
CTAN sync 202112250301
Diffstat (limited to 'macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg')
-rw-r--r--macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg89
1 files changed, 89 insertions, 0 deletions
diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg
new file mode 100644
index 0000000000..003f94f7e3
--- /dev/null
+++ b/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg
@@ -0,0 +1,89 @@
+%% This is file `bfh-factsheet.cfg' version 2.0.0 (2021/12/23),
+%% it is part of
+%% BFH-CI -- Corporate Design for Bern University of Applied Sciences
+%% ----------------------------------------------------------------------------
+%%
+%% Copyright (C) 2021 by
+%% Marei Peischl <marei@peitex.de>
+%% Andreas Habegger <andreas.habegger@bfh.ch>
+%%
+%% ============================================================================
+%% 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 <bfh-ci@peitex.de>
+%% Andreas Habegger <andreas.habegger@bfh.ch>
+%%
+%% The development respository can be found at
+%% https://gitlab.ti.bfh.ch/bfh-latex/bfh-ci/
+%% Please use the issue tracker for feedback!
+%%
+%% ============================================================================
+%%
+\ProvidesFile{bfh-factsheet.cfg}[2021/12/23 v2.0.0 factsheet configuration for bfhlayout]
+\KOMAoptions{headsepline=false}
+\clearpairofpagestyles
+
+\savegeometry{BFH-base}
+
+\geometry{top=\g_ptxcd_topLogoMargin_dim,headheight=\box_ht:N \g__ptxcd_logo_box}
+
+\savegeometry{BFH-headlineLogo}
+
+\loadgeometry{BFH-base}
+
+\NewDocumentCommand{\enableHeadLineLogo}{s}{
+ \loadgeometry{BFH-headlineLogo}
+ \IfBooleanTF{#1}{
+ \pagestyle{bfh-headlinelogos}
+ }{
+ \pagestyle{bfh-headlinelogo}
+ }
+}
+
+\newcommand*{\disableHeadlineLogo}{
+ \loadgeometry{BFH-base}
+ \pagestyle{scrheadings}
+}
+
+%
+\DeclareNewLayer[
+ clone=title.BFH.logo,
+ contents={\putLL{\box_use:N \g__ptxcd_logo_box}}
+]{BFH.headlinelogo}
+
+\DeclareNewLayer[
+ clone=title.BFH.partnerlogo,
+]{BFH.headlinepartnerlogo}
+
+\DeclarePageStyleByLayers{bfh-headlinelogo}{scrheadings.foot.oneside,scrheadings.foot.odd,scrheadings.foot.even,BFH.headlinelogo}
+
+\DeclarePageStyleByLayers{bfh-headlinelogos}{scrheadings.foot.oneside,scrheadings.foot.odd,scrheadings.foot.even,BFH.headlinelogo,BFH.headlinepartnerlogo}
+
+\setkomafont{pageheadfoot}{\usekomafont{titlefooter}}
+
+\ifoot{\@titlefooterleft}
+\ofoot{\@titlefooterright}
+
+\setcounter{secnumdepth}{-1}
+
+\setkomafont{section}{\usekomafont{title}}
+\setkomafont{subsection}{\Large}
+
+%compact lists
+\renewcommand*{\labelitemi}{–}
+\edef\@list@extra{\@list@extra\topsep\z@\parsep\z@\itemsep\z@}
+\setlength{\leftmarginiv}{\leftmarginiii}
+\setlength{\leftmarginiii}{\leftmarginii}
+\setlength{\leftmarginii}{\leftmargini}
+\setlength{\leftmargini}{\dimexpr.5em+1ex}
+
+\endinput