| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% TUDa-CI -- Corporate Design for TU Darmstadt |
| 4 |
% ---------------------------------------------------------------------------- |
| 5 |
% |
| 6 |
% Copyright (C) 2018--2025 by Marei Peischl <[email protected]> |
| 7 |
% |
| 8 |
% ============================================================================ |
| 9 |
% This work may be distributed and/or modified under the |
| 10 |
% conditions of the LaTeX Project Public License, either version 1.3c |
| 11 |
% of this license or (at your option) any later version. |
| 12 |
% The latest version of this license is in |
| 13 |
% http://www.latex-project.org/lppl.txt |
| 14 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 15 |
% version 2008/05/04 or later. |
| 16 |
% |
| 17 |
% This work has the LPPL maintenance status `maintained'. |
| 18 |
% |
| 19 |
% The Current Maintainer of this work is |
| 20 |
% Marei Peischl <[email protected]> |
| 21 |
% |
| 22 |
% The development repository can be found at |
| 23 |
% https://github.com/tudace/tuda_latex_templates |
| 24 |
% Please use the issue tracker for feedback! |
| 25 |
% |
| 26 |
% ============================================================================ |
| 27 |
% |
| 28 |
% \fi |
| 29 |
% |
| 30 |
% \iffalse% no documentation on this |
| 31 |
% \iffalse^^A Preparation for real docstrip documentation |
| 32 |
%<*driver> |
| 33 |
\ProvidesFile{tudasize.dtx} |
| 34 |
[2025-11-13 v4.05 Paper and font size configuration for TUDa-CI] |
| 35 |
\typeout{***********************************************************} |
| 36 |
\typeout{No documentation included in this file! Please see tuda-ci.pdf for more the general documentation information.} |
| 37 |
\typeout{***********************************************************} |
| 38 |
\stop |
| 39 |
%</driver> |
| 40 |
% \iffalse %no documentation on this |
| 41 |
%<@@=ptxcd> |
| 42 |
%<*tudasize> |
| 43 |
\ProvidesExplFile{tuda-\@@tudasizepaper@@ paper.clo}{2025-11-13}{4.05}{tuda-ci~size~adjustments~for~\@@tudasizepaper@@ paper} |
| 44 |
\cs_set:Nn \ptxcd_setup_title_sizes: { |
| 45 |
\cs_set:Nn \ptxcd_title_fontsize: { |
| 46 |
%<a0> {125pt}{165pt} |
| 47 |
%<a1> {86pt}{120pt} |
| 48 |
%<a2> {65pt}{82pt} |
| 49 |
%<a3> {47pt}{61pt} |
| 50 |
%<a4> {36pt}{47pt} |
| 51 |
%<a5> {22pt}{28pt} |
| 52 |
} |
| 53 |
\cs_set:Nn \ptxcd_titleinfo_fontsize: { |
| 54 |
%<a0> {28pt}{35pt} |
| 55 |
%<a1> {35pt}{42pt} |
| 56 |
%<a2> {22pt}{28pt} |
| 57 |
%<a3> {16pt}{20pt} |
| 58 |
%<a4> {12pt}{14pt} |
| 59 |
%<a5> {10pt}{11.5pt} |
| 60 |
} |
| 61 |
\cs_set:Nn \ptxcd_titlethanks_fontsize: { |
| 62 |
%<a0> {24pt}{30pt} |
| 63 |
%<a1> {22pt}{26pt} |
| 64 |
%<a2> {14pt}{20pt} |
| 65 |
%<a3> {12pt}{16pt} |
| 66 |
%<a4|a5> {10pt}{11.5pt} |
| 67 |
} |
| 68 |
} |
| 69 |
\cs_set:Nn \ptxcd_setup_base_sizes: { |
| 70 |
\tl_if_empty:NT \g_ptxcd_fontsize_tl { |
| 71 |
\tl_gset:Nn \g_ptxcd_fontsize_tl |
| 72 |
%<a0> {30pt} |
| 73 |
%<a1|a2> {25pt} |
| 74 |
%<a3> {17pt} |
| 75 |
%<a4> {14pt} |
| 76 |
%<a5> {10pt} |
| 77 |
} |
| 78 |
\dim_gset:Nn \g_ptxcd_margin_dim |
| 79 |
%<a0|a1|a2> {30mm} |
| 80 |
%<a3|a4> {15mm} |
| 81 |
%<a5> {12mm} |
| 82 |
} |
| 83 |
%</tudasize> |
| 84 |
% |
| 85 |
% The following part is a modified version of |
| 86 |
% scrkernel-fonts.dtx and scrkernel-paragraphs.dtx |
| 87 |
% Copyright (c) Markus Kohm, 2002-2024 |
| 88 |
% modified by Marei Peischl <[email protected]> |
| 89 |
% \iffalse |
| 90 |
%<*scrsize> |
| 91 |
% \fi |
| 92 |
% \begin{macrocode} |
| 93 |
\ProvidesFile{% |
| 94 |
%<9pt> tudasize9pt.clo% |
| 95 |
%<tudaletter> tudalettersize10pt.clo% |
| 96 |
}[ |
| 97 |
%<9pt> TUDa-CI font size class option (9pt) |
| 98 |
%<tudaletter> tudaletter font size class option (10pt) |
| 99 |
] |
| 100 |
% \end{macrocode} |
| 101 |
% |
| 102 |
% \begin{command}{\normalsize,\datasize,\small,\footnotesize,\scriptsize,\tiny,\large, |
| 103 |
% \Large,\LARGE,\huge,\Huge} |
| 104 |
% \begin{macrocode} |
| 105 |
\let\normalsize\@undefined |
| 106 |
\DeclareRobustCommand\normalsize{% |
| 107 |
%<*9pt> |
| 108 |
\@setfontsize\normalsize\@ixpt\@xipt% |
| 109 |
\abovedisplayskip 8\p@ \@plus4\p@ \@minus4\p@ |
| 110 |
\abovedisplayshortskip \z@ \@plus3\p@ |
| 111 |
\belowdisplayshortskip 5\p@ \@plus3\p@ \@minus3\p@ |
| 112 |
%</9pt> |
| 113 |
%<*tudaletter> |
| 114 |
\@setfontsize\normalsize\@xpt\@xipt |
| 115 |
\abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ |
| 116 |
\abovedisplayshortskip \z@ \@plus3\p@ |
| 117 |
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ |
| 118 |
%</tudaletter> |
| 119 |
\belowdisplayskip \abovedisplayskip |
| 120 |
\let\@listi\@listI |
| 121 |
} |
| 122 |
\def\datasize{% |
| 123 |
\normalsize |
| 124 |
\@setfontsize\normalsize |
| 125 |
%<9pt> \@ixpt\@xipt |
| 126 |
%<tudaletter> \@xpt\@xiiipt |
| 127 |
} |
| 128 |
\let\small\@undefined |
| 129 |
\DeclareRobustCommand\small{% |
| 130 |
%<*9pt> |
| 131 |
\@setfontsize\small\@viiipt\@ixpt% |
| 132 |
\abovedisplayskip 5\p@ \@plus2\p@ \@minus2\p@ |
| 133 |
\abovedisplayshortskip \z@ \@plus1\p@ |
| 134 |
\belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@ |
| 135 |
\def\@listi{\leftmargin\leftmargini |
| 136 |
\topsep 3\p@ \@plus\p@ \@minus\p@ |
| 137 |
%</9pt> |
| 138 |
%<*tudaletter> |
| 139 |
\@setfontsize\small\@ixpt{11}% |
| 140 |
\abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@ |
| 141 |
\abovedisplayshortskip \z@ \@plus2\p@ |
| 142 |
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@ |
| 143 |
\def\@listi{\leftmargin\leftmargini |
| 144 |
\topsep 4\p@ \@plus2\p@ \@minus2\p@ |
| 145 |
%</tudaletter> |
| 146 |
\parsep 2\p@ \@plus\p@ \@minus\p@ |
| 147 |
\itemsep \parsep}% |
| 148 |
\belowdisplayskip \abovedisplayskip |
| 149 |
} |
| 150 |
\let\footnotesize\@undefined |
| 151 |
\DeclareRobustCommand\footnotesize{% |
| 152 |
%<*9pt> |
| 153 |
\@setfontsize\footnotesize\@viipt\@viiipt |
| 154 |
\abovedisplayskip 4\p@ \@plus2\p@ \@minus2\p@ |
| 155 |
\abovedisplayshortskip \z@ \@plus1\p@ |
| 156 |
\belowdisplayshortskip 2.5\p@ \@plus\p@ \@minus\p@ |
| 157 |
%</9pt> |
| 158 |
%<*tudaletter> |
| 159 |
\@setfontsize\footnotesize{7.5pt}\@xpt% |
| 160 |
\abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@ |
| 161 |
\abovedisplayshortskip \z@ \@plus\p@ |
| 162 |
\belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@ |
| 163 |
%</tudaletter> |
| 164 |
\def\@listi{\leftmargin\leftmargini |
| 165 |
\topsep 3\p@ \@plus\p@ \@minus\p@ |
| 166 |
\parsep 2\p@ \@plus\p@ \@minus\p@ |
| 167 |
\itemsep \parsep}% |
| 168 |
\belowdisplayskip \abovedisplayskip |
| 169 |
} |
| 170 |
\let\scriptsize\@undefined |
| 171 |
\let\tiny\@undefined |
| 172 |
\let\large\@undefined |
| 173 |
\let\Large\@undefined |
| 174 |
\let\LARGE\@undefined |
| 175 |
\let\huge\@undefined |
| 176 |
\let\Huge\@undefined |
| 177 |
%<*9pt> |
| 178 |
\DeclareRobustCommand\scriptsize{\@setfontsize\scriptsize\@vipt\@viipt} |
| 179 |
\DeclareRobustCommand\tiny{\@setfontsize\tiny\@vpt\@vipt} |
| 180 |
\DeclareRobustCommand\large{\@setfontsize\large\@xpt\@xiipt} |
| 181 |
\DeclareRobustCommand\Large{\@setfontsize\Large\@xipt{13}} |
| 182 |
\DeclareRobustCommand\LARGE{\@setfontsize\LARGE\@xiipt{14}} |
| 183 |
\DeclareRobustCommand\huge{\@setfontsize\huge\@xivpt{18}} |
| 184 |
\DeclareRobustCommand\Huge{\@setfontsize\Huge\@xviipt{22}} |
| 185 |
%</9pt> |
| 186 |
%<*tudaletter> |
| 187 |
\DeclareRobustCommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt} |
| 188 |
\DeclareRobustCommand\tiny{\@setfontsize\tiny\@vipt\@viipt} |
| 189 |
\DeclareRobustCommand\large{\@setfontsize\large\@xiipt{14}} |
| 190 |
\DeclareRobustCommand\Large{\@setfontsize\Large\@xivpt{18}} |
| 191 |
\DeclareRobustCommand\LARGE{\@setfontsize\LARGE\@xviipt{22}} |
| 192 |
\DeclareRobustCommand\huge{\@setfontsize\huge\@xxpt{25}} |
| 193 |
\DeclareRobustCommand\Huge{\@setfontsize\Huge\@xxvpt{30}} |
| 194 |
%</tudaletter> |
| 195 |
\normalsize |
| 196 |
% \end{macrocode} |
| 197 |
% \end{command} |
| 198 |
% The values are same as with the standard classes. |
| 199 |
% \begin{macrocode} |
| 200 |
%<*9pt> |
| 201 |
\setlength\footnotesep {6.3\p@} |
| 202 |
\setlength{\skip\footins} {8\p@ \@plus 4\p@ \@minus 2\p@} |
| 203 |
\setlength\textfloatsep {18\p@ \@plus 2\p@ \@minus 4\p@} |
| 204 |
\setlength\dbltextfloatsep{18\p@ \@plus 2\p@ \@minus 2\p@} |
| 205 |
%</9pt> |
| 206 |
%<*tudaletter> |
| 207 |
\setlength\footnotesep {6.65\p@} |
| 208 |
\setlength{\skip\footins} {9\p@ \@plus 4\p@ \@minus 2\p@} |
| 209 |
\setlength\textfloatsep {20\p@ \@plus 2\p@ \@minus 4\p@} |
| 210 |
\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@} |
| 211 |
%</tudaletter> |
| 212 |
\setlength\floatsep {12\p@ \@plus 2\p@ \@minus 2\p@} |
| 213 |
\setlength\intextsep {12\p@ \@plus 2\p@ \@minus 2\p@} |
| 214 |
\setlength\dblfloatsep {12\p@ \@plus 2\p@ \@minus 2\p@} |
| 215 |
\setlength\@fptop {0\p@ \@plus 1fil} |
| 216 |
\setlength\@fpsep {8\p@ \@plus 2fil} |
| 217 |
\setlength\@fpbot {0\p@ \@plus 1fil} |
| 218 |
\setlength\@dblfptop {0\p@ \@plus 1fil} |
| 219 |
\setlength\@dblfpsep {8\p@ \@plus 2fil} |
| 220 |
\setlength\@dblfpbot {0\p@ \@plus 1fil} |
| 221 |
\setlength\partopsep {2\p@ \@plus 1\p@ \@minus 1\p@} |
| 222 |
% \end{macrocode} |
| 223 |
% \begin{macro}{\@listi,\@listii,\@listiii,\@listiv,\@listv,\@listvi} |
| 224 |
% The definitions are the same as with the standard classes. |
| 225 |
% \begin{macrocode} |
| 226 |
\def\@listi{\leftmargin\leftmargini |
| 227 |
\parsep 4\p@ \@plus2\p@ \@minus\p@ |
| 228 |
%<9pt> \topsep 8\p@ \@plus2\p@ \@minus3\p@ |
| 229 |
%<tudaletter> \topsep 8\p@ \@plus2\p@ \@minus4\p@ |
| 230 |
\itemsep \parsep} |
| 231 |
\let\@listI\@listi |
| 232 |
\def\@listii {\leftmargin\leftmarginii |
| 233 |
\labelwidth\leftmarginii |
| 234 |
\advance\labelwidth-\labelsep |
| 235 |
\topsep 4\p@ \@plus2\p@ \@minus\p@ |
| 236 |
\parsep 2\p@ \@plus\p@ \@minus\p@ |
| 237 |
\itemsep \parsep} |
| 238 |
\def\@listiii{\leftmargin\leftmarginiii |
| 239 |
\labelwidth\leftmarginiii |
| 240 |
\advance\labelwidth-\labelsep |
| 241 |
\topsep 2\p@ \@plus\p@\@minus\p@ |
| 242 |
\parsep \z@ |
| 243 |
\partopsep \p@ \@plus\z@ \@minus\p@ |
| 244 |
\itemsep \topsep} |
| 245 |
\def\@listiv {\leftmargin\leftmarginiv |
| 246 |
\labelwidth\leftmarginiv |
| 247 |
\advance\labelwidth-\labelsep} |
| 248 |
\def\@listv {\leftmargin\leftmarginv |
| 249 |
\labelwidth\leftmarginv |
| 250 |
\advance\labelwidth-\labelsep} |
| 251 |
\def\@listvi {\leftmargin\leftmarginvi |
| 252 |
\labelwidth\leftmarginvi |
| 253 |
\advance\labelwidth-\labelsep} |
| 254 |
%%% From File: $Id: scrkernel-paragraphs.dtx 3064 2019-02-01 07:40:28Z kohm $ |
| 255 |
\@ifundefined{@list@extra}{}{% |
| 256 |
\expandafter\ifnum\scr@v@is@ge{3.17}\par@updaterelative\fi |
| 257 |
\l@addto@macro{\@listi}{\@list@extra}% |
| 258 |
\let\@listI=\@listi |
| 259 |
\l@addto@macro{\@listii}{\@list@extra}% |
| 260 |
\l@addto@macro{\@listiii}{\@list@extra}% |
| 261 |
\l@addto@macro{\footnotesize}{\protect\add@extra@listi{ftns}}% |
| 262 |
\l@addto@macro{\small}{\protect\add@extra@listi{sml}}% |
| 263 |
} |
| 264 |
\@listi |
| 265 |
% \end{macrocode} |
| 266 |
% \end{macro}^^A \@listi … \@listvi |
| 267 |
% \end{ilength}^^A \@fptop … \@dblfpbot |
| 268 |
% \end{length}^^A \footnotesep … \partopsep |
| 269 |
% |
| 270 |
% \Finale |
| 271 |
% \PrintChanges |
| 272 |
%</scrsize> |
| 273 |
% \Finale |
| 274 |
% \fi^^A No documentation on this |
| 275 |
\endinput |