| 1 |
% \iffalse |
| 2 |
%<*base> |
| 3 |
% \fi\file{style/mu/fithesis-base.sty}\label{sec:fithesis-mu-base} |
| 4 |
% \changes{v1.0.0}{2021/03/19}{Files were renamed after |
| 5 |
% breaking changes in package loading after PR 438 in \LaTeXe. [VN]} |
| 6 |
% This is the base style file for theses written at the Masaryk |
| 7 |
% University in Brno. When inheritance is enabled for style files, |
| 8 |
% this file is always the second style file to be loaded right |
| 9 |
% after \texttt{style/fithesis-base.sty}, regardless of the value |
| 10 |
% of the |\thesis@style| macro. |
| 11 |
% \begin{macrocode} |
| 12 |
\ProvidesPackage{fithesis/style/mu/fithesis-mu-base}[2024/03/06] |
| 13 |
\NeedsTeXFormat{LaTeX2e} |
| 14 |
% \end{macrocode} |
| 15 |
% The file recognizes the following options: \begin{itemize} |
| 16 |
% \item\texttt{10pt}, \texttt{11pt}, \texttt{12pt} -- Sets the |
| 17 |
% type size to 10, 11 or 12 points respectively. |
| 18 |
% \begin{macrocode} |
| 19 |
\DeclareOption{10pt}{\def\thesis@ptsize{0}} |
| 20 |
\DeclareOption{11pt}{\def\thesis@ptsize{1}} |
| 21 |
\DeclareOption{12pt}{\def\thesis@ptsize{2}} |
| 22 |
% \end{macrocode} |
| 23 |
% \item\texttt{oneside}, \texttt{twoside} -- The document is |
| 24 |
% going to be either single- or double-sided, respectively. In |
| 25 |
% a double-sided document, headers, page numbering, margin |
| 26 |
% notes and several other elements will be arranged based on |
| 27 |
% the parity of the page. Blank pages will also be inserted |
| 28 |
% prior the beginning of each chapter to ensure that it starts |
| 29 |
% on a right-hand (odd-numbered) page. The |
| 30 |
% \DescribeMacro{\ifthesis@twoside@}|\ifthesis@twoside@| |
| 31 |
% conditional is set to either \texttt{false} or \texttt{true}, |
| 32 |
% respectively. |
| 33 |
% \begin{macrocode} |
| 34 |
\newif\ifthesis@twoside@ |
| 35 |
\DeclareOption{oneside}{% |
| 36 |
\thesis@twoside@false\@twosidefalse\@mparswitchfalse} |
| 37 |
\DeclareOption{twoside}{% |
| 38 |
\thesis@twoside@true \@twosidetrue \@mparswitchtrue} |
| 39 |
% \end{macrocode} |
| 40 |
% \item\texttt{onecolumn}, \texttt{twocolumn} -- The document |
| 41 |
% is going to be set in either a single column or in two |
| 42 |
% columns, respectively. |
| 43 |
% \begin{macrocode} |
| 44 |
\DeclareOption{onecolumn}{\@twocolumnfalse} |
| 45 |
\DeclareOption{twocolumn}{\@twocolumntrue} |
| 46 |
% \end{macrocode} |
| 47 |
% \item\texttt{draft}, \texttt{final} -- Overful lines either are |
| 48 |
% or aren't marked within the document, respectively, and |
| 49 |
% graphics either aren't or are inserted into the document, |
| 50 |
% respectively. |
| 51 |
% \begin{macrocode} |
| 52 |
\DeclareOption{draft}{\setlength\overfullrule{5pt}} |
| 53 |
\DeclareOption{final}{\setlength\overfullrule{0pt}} |
| 54 |
% \end{macrocode} |
| 55 |
% \item\texttt{palatino}, \texttt{nopalatino} -- The roman |
| 56 |
% text font family and the math font family is going to be |
| 57 |
% either set to Palatino or left untouched, respectively. The |
| 58 |
% \DescribeMacro{\ifthesis@palatino@}|\ifthesis@|^^A |
| 59 |
% \discretionary{}{}{}|palatino@| conditional is set to either |
| 60 |
% \texttt{true} or \texttt{false}, respectively. The |
| 61 |
% Palatino font is a part of the visual identity of the Faculty |
| 62 |
% of Informatics at which the document class was created. |
| 63 |
% \begin{macrocode} |
| 64 |
\newif\ifthesis@palatino@ |
| 65 |
\DeclareOption{palatino}{\thesis@palatino@true} |
| 66 |
\DeclareOption{nopalatino}{\thesis@palatino@false} |
| 67 |
% \end{macrocode} |
| 68 |
% \item\texttt{neuehaas}, \texttt{noneuehaas} -- The sans serif |
| 69 |
% text font family is going to be either set to Neue Haas |
| 70 |
% (TeX Gyre Heros) or left untouched, respectively. The |
| 71 |
% \DescribeMacro{\ifthesis@neuehaas@}|\ifthesis@|^^A |
| 72 |
% \discretionary{}{}{}|neuehaas@| conditional is set to either |
| 73 |
% \texttt{true} or \texttt{false}, respectively. The Neue Haas |
| 74 |
% font is a sans serif font chosen to represent the Masaryk |
| 75 |
% University in Brno as per its Graphic manual. |
| 76 |
% \changes{v1.1.0}{2022/08/15}{^^A |
| 77 |
% Added the \texttt{neuehas} and \texttt{noneuehaas} package options |
| 78 |
% for the Masaryk University in Brno. [TV]} |
| 79 |
% \begin{macrocode} |
| 80 |
\newif\ifthesis@neuehaas@ |
| 81 |
\DeclareOption{neuehaas}{\thesis@neuehaas@true} |
| 82 |
\DeclareOption{noneuehaas}{\thesis@neuehaas@false} |
| 83 |
% \end{macrocode} |
| 84 |
% \item\texttt{color}, \texttt{monochrome} -- Certain |
| 85 |
% typographical elements either are or aren't going to be |
| 86 |
% typeset in color, respectively. The |
| 87 |
% \DescribeMacro{\ifthesis@color@}|\ifthesis@color@| |
| 88 |
% conditional is set to either \texttt{true} or \texttt{false}, |
| 89 |
% respectively. |
| 90 |
% \begin{macrocode} |
| 91 |
\newif\ifthesis@color@ |
| 92 |
\DeclareOption{monochrome}{\thesis@color@false} |
| 93 |
\DeclareOption{color}{\thesis@color@true} |
| 94 |
% \end{macrocode} |
| 95 |
% \item\texttt{colorbold}, \texttt{nocolorbold} -- The bold text either |
| 96 |
% is or isn't colored (black is used instead). The |
| 97 |
% \DescribeMacro{\ifthesis@colorbold}|\ifthesis@colorbold@| conditional |
| 98 |
% is set to either \texttt{true} or \texttt{false}, respectively. |
| 99 |
% \changes{v1.1.0}{2022/08/15}{^^A |
| 100 |
% Added the \texttt{colorbold} and \texttt{nocolorbold} package |
| 101 |
% options for the Masaryk University in Brno. [TV]} |
| 102 |
% \begin{macrocode} |
| 103 |
\newif\ifthesis@colorbold@ |
| 104 |
\DeclareOption{colorbold}{\thesis@colorbold@true} |
| 105 |
\DeclareOption{nocolorbold}{\thesis@colorbold@false} |
| 106 |
% \end{macrocode} |
| 107 |
% \item\texttt{microtype}, \texttt{nomicrotype} -- The |
| 108 |
% microtypographic extension of modern \TeX\ engines -- such as |
| 109 |
% \hologo{pdfTeX}, \Hologo{XeTeX}, or \Hologo{LuaTeX} -- is or isn't |
| 110 |
% going to be enabled, respectively. The |
| 111 |
% \DescribeMacro{\ifthesis@microtype@}|\ifthesis@microtype@| |
| 112 |
% conditional is set to either \texttt{true} or \texttt{false}, |
| 113 |
% respectively. |
| 114 |
% \begin{macrocode} |
| 115 |
\newif\ifthesis@microtype@ |
| 116 |
\DeclareOption{microtype}{\thesis@microtype@true} |
| 117 |
\DeclareOption{nomicrotype}{\thesis@microtype@false} |
| 118 |
% \end{macrocode} |
| 119 |
% \item\texttt{sansbold}, \texttt{nosansbold} -- The \cs{bfseries} |
| 120 |
% command for switching to the bold typeface is or isn't going to use |
| 121 |
% the sans-serif type face, respectively. The |
| 122 |
% \DescribeMacro{\ifthesis@sansbold@}|\ifthesis@sansbold@| conditional |
| 123 |
% is set to either \texttt{true} or \texttt{false}, respectively. |
| 124 |
% \changes{v1.1.0}{2022/08/02}{^^A |
| 125 |
% Added the \texttt{sansbold} and \texttt{nosansbold} package options |
| 126 |
% for the Masaryk University in Brno. [VN]} |
| 127 |
% \begin{macrocode} |
| 128 |
\newif\ifthesis@sansbold@ |
| 129 |
\DeclareOption{sansbold}{\thesis@sansbold@true} |
| 130 |
\DeclareOption{nosansbold}{\thesis@sansbold@false} |
| 131 |
% \end{macrocode} |
| 132 |
% \item\texttt{table}, \texttt{oldtable} -- If the |
| 133 |
% |\ifthesis@color@| conditional is \texttt{true}, then the |
| 134 |
% definitions of the \texttt{tabular}, \texttt{tabularx}, and |
| 135 |
% \texttt{tabu} commands either are or aren't going to be |
| 136 |
% altered to better match the style, respectively. The |
| 137 |
% \DescribeMacro{\ifthesis@newtable@}|\ifthesis@newtable@| |
| 138 |
% conditional is set to either \texttt{true} or \texttt{false}, |
| 139 |
% respectively. |
| 140 |
% |
| 141 |
% \begin{macrocode} |
| 142 |
\newif\ifthesis@newtable@ |
| 143 |
\DeclareOption{table}{\thesis@newtable@true} |
| 144 |
\DeclareOption{oldtable}{\thesis@newtable@false} |
| 145 |
% \end{macrocode} |
| 146 |
% |
| 147 |
% The choice of the option name is deliberate -- the |
| 148 |
% redefinition of the table environments depends on the |
| 149 |
% \textsf{xcolor} package, which needs to be loaded with the |
| 150 |
% \texttt{table} option. Since so many other packages depend on |
| 151 |
% the \textsf{xcolor} package and this style file is loaded at |
| 152 |
% the very end of the preamble, there would either be a great |
| 153 |
% chance of an option clash, or the option would have to be |
| 154 |
% passed to the \textsf{xcolor} package before the preamble |
| 155 |
% from the body of the \textsf{fithesis4} class thus breaking |
| 156 |
% the encapsulation. Naming the option \texttt{table} forces |
| 157 |
% the option to be processed by the \textsf{xcolor} package as |
| 158 |
% well and it is therefore an elegant solution to the problem |
| 159 |
% at hand. |
| 160 |
% \item\texttt{lot}, \texttt{nolot} -- The \DescribeMacro{^^A |
| 161 |
% \thesis@blocks@lot}|\thesis@blocks@lot| macro will be defined |
| 162 |
% as either |\listoftables| or |\relax|, respectively. As a |
| 163 |
% side effect, the |\listoftables| either is or isn't going to |
| 164 |
% be included in the \DescribeMacro{\thesis@blocks@tables}^^A |
| 165 |
% |\thesis@|\discretionary{}{}{}|blocks@tables| block, |
| 166 |
% respectively. |
| 167 |
% \begin{macrocode} |
| 168 |
\DeclareOption{nolot}{\let\thesis@blocks@lot\relax} |
| 169 |
\DeclareOption{lot}{\let\thesis@blocks@lot\listoftables} |
| 170 |
% \end{macrocode} |
| 171 |
% \item\texttt{lof}, \texttt{nolof} -- The \DescribeMacro{^^A |
| 172 |
% \thesis@blocks@lof}|\thesis@blocks@lof| macro will be defined |
| 173 |
% as either |\listoffigures| or |\relax|, respectively. As a |
| 174 |
% side effect, the |\listoffigures| either is or isn't going to |
| 175 |
% be included in the \DescribeMacro{\thesis@blocks@tables}^^A |
| 176 |
% |\thesis@|\discretionary{}{}{}|blocks@tables| block, |
| 177 |
% respectively. |
| 178 |
% \begin{macrocode} |
| 179 |
\DeclareOption{nolof}{\let\thesis@blocks@lof\relax} |
| 180 |
\DeclareOption{lof}{\let\thesis@blocks@lof\listoffigures} |
| 181 |
% \end{macrocode} |
| 182 |
% \item\texttt{cover}, \texttt{nocover} -- The |
| 183 |
% \DescribeMacro{\thesis@blocks@cover}|\thesis@blocks@cover| |
| 184 |
% either is going to expand to either the thesis cover or |
| 185 |
% produces no output, respectively. The |
| 186 |
% \DescribeMacro{\ifthesis@cover@}|\ifthesis@cover@| |
| 187 |
% conditional is set to \texttt{false} or \texttt{true}, |
| 188 |
% respectively. |
| 189 |
% \begin{macrocode} |
| 190 |
\newif\ifthesis@cover@ |
| 191 |
\DeclareOption{nocover}{\thesis@cover@false} |
| 192 |
\DeclareOption{cover}{\thesis@cover@true} |
| 193 |
% \end{macrocode} |
| 194 |
% \item\texttt{digital}, \texttt{printed} -- These macrooptions |
| 195 |
% set the options that are appropriate for either the printed or |
| 196 |
% for the digital version of the document, respectively. The |
| 197 |
% \DescribeMacro{\ifthesis@digital@}|\ifthesis@digital@| |
| 198 |
% conditional is set to \texttt{true} or \texttt{false}, |
| 199 |
% respectively. |
| 200 |
% \changes{v1.1.0}{2022/08/15}{^^A |
| 201 |
% Added the \texttt{colorbold} and \texttt{nocolorbold} package |
| 202 |
% options for the Masaryk University in Brno. [TV]} |
| 203 |
% \begin{macrocode} |
| 204 |
\newif\ifthesis@digital@ |
| 205 |
\DeclareOption{digital}{% |
| 206 |
\ExecuteOptions{color,cover,colorbold}% |
| 207 |
\thesis@digital@true} |
| 208 |
\DeclareOption{printed}{% |
| 209 |
\ExecuteOptions{monochrome,nocover,nocolorbold}% |
| 210 |
\thesis@digital@false} |
| 211 |
% \end{macrocode} |
| 212 |
% \end{itemize} |
| 213 |
% These are the default options: |
| 214 |
% \changes{v1.1.0}{2022/08/02}{^^A |
| 215 |
% Added the \texttt{sansbold} and \texttt{nosansbold} package options |
| 216 |
% for the Masaryk University in Brno. [VN]} |
| 217 |
% \begin{macrocode} |
| 218 |
\ExecuteOptions{% |
| 219 |
printed,12pt,twoside,final,microtype,sansbold,palatino,neuehaas,oldtable,lot,lof} |
| 220 |
\ProcessOptions* |
| 221 |
% \end{macrocode} |
| 222 |
% The file uses English locale strings within the macros. |
| 223 |
% \begin{macrocode} |
| 224 |
\thesis@requireLocale{english} |
| 225 |
% \end{macrocode} |
| 226 |
% The file loads the following packages: \begin{itemize} |
| 227 |
% \item\textsf{xcolor} -- Adds support for color. |
| 228 |
% \changes{v1.0.0}{2018/11/18}{^^A |
| 229 |
% The \cs{bfseries} command switches to the sans serif typeface |
| 230 |
% and to the secondary color in the style files of the Masaryk |
| 231 |
% University in Brno, Czech Republic. [VN]} |
| 232 |
% \item\textsf{caption} -- Adds support for changing the |
| 233 |
% formatting of float captions. |
| 234 |
% \item\textsf{ifxetex} -- Used to detect the \Hologo{XeTeX} |
| 235 |
% engine. |
| 236 |
% \item\textsf{ifluatex} -- Used to detect the \Hologo{LuaTeX} |
| 237 |
% engine. |
| 238 |
% \item\textsf{graphix} -- Adds support for the inclusion of |
| 239 |
% graphics files. |
| 240 |
% \item\textsf{pdfpages} -- Adds support for the injection of PDF |
| 241 |
% documents into the resulting document, namely the thesis |
| 242 |
% assignment. |
| 243 |
% \item\textsf{hyperref} -- Adds support for the injection of |
| 244 |
% metadata into the resulting PDF document. |
| 245 |
% \item\textsf{keyval} -- Adds support for parsing |
| 246 |
% comma-delimited lists of key-value pairs. |
| 247 |
% \item\textsf{tabularx} -- Provides the \texttt{tabularx} |
| 248 |
% environment, which enables the typesetting of tables with |
| 249 |
% flexible-width columns. |
| 250 |
% \changes{v1.0.0}{2018/12/25}{^^A |
| 251 |
% The packages \textsf{tabularx}, \textsf{tabu}, and |
| 252 |
% \textsf{booktabs} are loaded by default, not only when |
| 253 |
% the \texttt{table} class option has been specified. [VN]} |
| 254 |
% \item\textsf{tabu} -- Provides the \texttt{tabu} environment, |
| 255 |
% which enables the typesetting of complex tables. |
| 256 |
% \item\textsf{booktabs} -- A package, which allows the creation |
| 257 |
% of publication-quality tables in \LaTeX. |
| 258 |
% \end{itemize} |
| 259 |
% \changes{v1.0.0}{2021/03/04}{Added required package tikz |
| 260 |
% for bibEntry. [TV]} |
| 261 |
% \begin{macrocode} |
| 262 |
\thesis@require{xcolor} |
| 263 |
\RequirePackage[labelfont=bf]{caption} |
| 264 |
\thesis@require{graphicx} |
| 265 |
\thesis@require{pdfpages} |
| 266 |
\thesis@require{keyval} |
| 267 |
\thesis@require{ifxetex} |
| 268 |
\thesis@require{ifluatex} |
| 269 |
\thesis@require{tabularx} |
| 270 |
\thesis@require{tabu} |
| 271 |
\thesis@require{booktabs} |
| 272 |
\thesis@require{tikz} |
| 273 |
% \end{macrocode} |
| 274 |
% If the |\thesis@microtype@| is set to true, then the |
| 275 |
% \textsf{microtype} package gets loaded. |
| 276 |
% \begin{macrocode} |
| 277 |
\ifthesis@microtype@ |
| 278 |
\thesis@require[final,babel,nopatch=item]{microtype} |
| 279 |
\fi |
| 280 |
% \end{macrocode} |
| 281 |
% Using the |\ifxetex| and |\ifluatex| conditionals, a compound |
| 282 |
% \DescribeMacro{\ifthesis@xeluatex}|\ifthesis@xeluatex| |
| 283 |
% conditional was constructed. This conditional can be used by |
| 284 |
% subsequently loaded style files to test, whether either the |
| 285 |
% \Hologo{XeTeX} or the \Hologo{LuaTeX} engine is being used. |
| 286 |
% \begin{macrocode} |
| 287 |
{\let\x\expandafter |
| 288 |
\x\global\x\let\x\ifthesis@xeluatex\csname if% |
| 289 |
\ifxetex true\else |
| 290 |
\ifluatex\x\x\x t\x\x\x r\x\x\x u\x\x\x e% |
| 291 |
\else f\x\x\x a\x\x\x l\x\x\x s\x\x\x e% |
| 292 |
\fi |
| 293 |
\fi\endcsname} |
| 294 |
% \end{macrocode} |
| 295 |
% The following packages get only loaded, when the document is |
| 296 |
% being typeset using the \Hologo{XeTeX} or \Hologo{LuaTeX} |
| 297 |
% engine: \begin{itemize} |
| 298 |
% \item\textsf{fontspec} -- Allows the selection of |
| 299 |
% system-installed fonts. |
| 300 |
% \item\textsf{unicode-math} -- Allows the selection of |
| 301 |
% system-installed mathematical fonts. |
| 302 |
% \end{itemize} |
| 303 |
% Under \Hologo{XeTeX} or \Hologo{LuaTeX}, the \textsf{\TeX{} Gyre |
| 304 |
% Pagella} and \textsf{\TeX{} Gyre Pagella Math} fonts are also |
| 305 |
% selected as the main text and math fonts and the \textsf{\TeX{} |
| 306 |
% Gyre Heros} font is selected as the main sans serif font. |
| 307 |
% \changes{v1.0.0}{2018/11/18}{^^A |
| 308 |
% The \TeX{} Gyre Heros is used as the main sans serif font |
| 309 |
% instead of Latin Modern. [VN]} |
| 310 |
% \changes{v1.1.0}{2022/08/15}{^^A |
| 311 |
% Added the \texttt{neuehas} and \texttt{noneuehaas} package options |
| 312 |
% for the Masaryk University in Brno. [TV]} |
| 313 |
% \begin{macrocode} |
| 314 |
\ifthesis@xeluatex |
| 315 |
\ifthesis@palatino@ |
| 316 |
\thesis@require{fontspec} |
| 317 |
\thesis@require{unicode-math} |
| 318 |
\setmainfont[Ligatures=TeX]{TeX Gyre Pagella} |
| 319 |
\setmathfont[math-style=ISO,bold-style=ISO]{texgyrepagella-math.otf} |
| 320 |
\fi |
| 321 |
\ifthesis@neuehaas@ |
| 322 |
\thesis@require{fontspec} |
| 323 |
\setsansfont[Ligatures=TeX,Scale=MatchLowercase]{TeX Gyre Heros} |
| 324 |
\fi |
| 325 |
% \end{macrocode} |
| 326 |
% The following packages get only loaded, when the document is not |
| 327 |
% being typeset using the \Hologo{XeTeX} or \Hologo{LuaTeX} engine, |
| 328 |
% the |\ifthesis@palatino@| conditional is \texttt{true}, and the |
| 329 |
% |\ifthesis@neuehaas@| conditional is \texttt{true}: |
| 330 |
% \begin{itemize} |
| 331 |
% \item\textsf{cmap} -- Places an explicit \texttt{ToUnicode} |
| 332 |
% map in the resulting PDF file, allowing for the extraction of |
| 333 |
% the text from the document. |
| 334 |
% \item\textsf{mathpazo} -- Changes the default math font family |
| 335 |
% to \texttt{mathpazo}. |
| 336 |
% \item\textsf{tgpagella} -- Changes the default roman font |
| 337 |
% family to \TeX\ Gyre Pagella. |
| 338 |
% \item\textsf{tgheros} -- Changes the default sans-serif font |
| 339 |
% face to \TeX{} Gyre Heros. |
| 340 |
% \changes{v1.0.0}{2018/11/18}{^^A |
| 341 |
% The \TeX{} Gyre Heros is used as the main sans serif font |
| 342 |
% instead of Latin Modern. [VN]} |
| 343 |
% \item\textsf{lmodern} -- Changes the default sans-serif and |
| 344 |
% monotype font faces to Latin Modern instead of the default |
| 345 |
% Computer Modern font family. |
| 346 |
% \item\textsf{fontenc} -- The font encoding is set to Cork. |
| 347 |
% \end{itemize} |
| 348 |
% \begin{macrocode} |
| 349 |
\else |
| 350 |
\ifthesis@palatino@ |
| 351 |
\RequirePackage[resetfonts]{cmap} |
| 352 |
\thesis@require{lmodern} |
| 353 |
\thesis@require{mathpazo} |
| 354 |
\thesis@require{tgpagella} |
| 355 |
\RequirePackage[T1]{fontenc} |
| 356 |
\fi |
| 357 |
\ifthesis@neuehaas@ |
| 358 |
\thesis@require[scale=0.863]{tgheros} |
| 359 |
\RequirePackage[T1]{fontenc} |
| 360 |
\fi |
| 361 |
\fi |
| 362 |
% \end{macrocode} |
| 363 |
% If the |\thesis@newtable@| conditional is \texttt{true}, then |
| 364 |
% some of the dimensions associated with tables are modified in |
| 365 |
% preparation for the coloring of the table cells. |
| 366 |
% \begin{macrocode} |
| 367 |
\let\thesis@newtable@old\tabular |
| 368 |
\let\endthesis@newtable@old\endtabular |
| 369 |
\ifthesis@newtable@ |
| 370 |
% Adjust the measurements. |
| 371 |
\setlength{\aboverulesep}{0pt} |
| 372 |
\setlength{\belowrulesep}{0pt} |
| 373 |
\setlength{\extrarowheight}{.75ex} |
| 374 |
% \end{macrocode} |
| 375 |
% When both the |\thesis@newtable@| and |\thesis@color@| conditionals are |
| 376 |
% \texttt{true}, then the \texttt{tabular} and \texttt{tabularx} |
| 377 |
% environments are redefined to better match the style of the given |
| 378 |
% faculty. |
| 379 |
% |
| 380 |
% The \DescribeMacro{\thesis@newtable@old}|\thesis@newtable@old| |
| 381 |
% and \DescribeMacro{\endthesis@newtable@old} |
| 382 |
% |\endthesis@newtable@old| macros containing the original |
| 383 |
% definition of the |tabular| environment are always defined and |
| 384 |
% are available for subsequently loaded styles in case the |
| 385 |
% typesetting of unaltered tables is required. Similarly, the |
| 386 |
% \DescribeMacro{\thesis@newtable@oldx}|\thesis@newtable@oldx| and |
| 387 |
% \DescribeMacro{\endthesis@newtable@oldx}|\endthesis@newtable@oldx| |
| 388 |
% macros are defined for the |tabularx| environment and the |
| 389 |
% \DescribeMacro{\thesis@newtable@oldtabu}|\thesis@newtable@oldtabu| |
| 390 |
% and \DescribeMacro{\endthesis@newtable@oldtabu} |
| 391 |
% |\endthesis@newtable@oldtabu| for the |tabu| environment. |
| 392 |
% \begin{macrocode} |
| 393 |
\ifthesis@color@ |
| 394 |
% The redefinition of `tabular` |
| 395 |
\renewenvironment{tabular}% |
| 396 |
{\rowcolors{1}{thesis@color@tableOdd}% |
| 397 |
{thesis@color@tableEven}% |
| 398 |
\thesis@newtable@old}% |
| 399 |
{\endthesis@newtable@old} |
| 400 |
% The redefinition of `tabularx` |
| 401 |
\let\thesis@newtable@oldx\tabularx |
| 402 |
\let\endthesis@newtable@oldx\endtabularx |
| 403 |
\renewenvironment{tabularx}% |
| 404 |
{\rowcolors{1}{thesis@color@tableEven}% |
| 405 |
{thesis@color@tableOdd}% |
| 406 |
\thesis@newtable@oldx}% |
| 407 |
{\endthesis@newtable@oldx} |
| 408 |
% The redefinition of `tabu` |
| 409 |
\let\thesis@newtable@oldtabu\tabu |
| 410 |
\let\endthesis@newtable@oldtabu\endtabu |
| 411 |
\renewenvironment{tabu}% |
| 412 |
{\rowcolors{1}{thesis@color@tableEven}% |
| 413 |
{thesis@color@tableOdd}% |
| 414 |
\thesis@newtable@oldtabu}% |
| 415 |
{\endthesis@newtable@oldtabu} |
| 416 |
\fi |
| 417 |
\fi |
| 418 |
% \end{macrocode} |
| 419 |
% \begin{macro}{\ifthesis@bibliography@} |
| 420 |
% A new conditional, |\ifthesis@bibliography@|, is defined. This |
| 421 |
% conditional is true, when |\thesis@bibFiles| expands to a |
| 422 |
% non-empty token list. |
| 423 |
% \begin{macrocode} |
| 424 |
\newif\ifthesis@bibliography@ |
| 425 |
\thesis@bibliography@false |
| 426 |
\ifx\thesis@bibFiles\undefined\else |
| 427 |
{\edef\@bibList{\thesis@bibFiles}% |
| 428 |
\ifx\@bibList\empty\else |
| 429 |
\global\thesis@bibliography@true |
| 430 |
\fi} |
| 431 |
\fi |
| 432 |
% \end{macrocode} |
| 433 |
% \end{macro} |
| 434 |
% \begin{macro}{\thesis@bibliography@setup} |
| 435 |
% The file defines the |\thesis@bibliography@setup|\marg{options} |
| 436 |
% command, where \textit{options} is a comma-delimited list of |
| 437 |
% key-value pairs as defined by the \textsf{keyval} package. The |
| 438 |
% command can be invoked by the subsequently loaded style |
| 439 |
% files to define the bibliography options. |
| 440 |
% \begin{macrocode} |
| 441 |
\def\thesis@bibliography@setup#1{% |
| 442 |
\setkeys{thesis@bibliography}{#1}} |
| 443 |
% \end{macrocode} |
| 444 |
% The following key-value pairs are supported: |
| 445 |
% \begin{enumerate} |
| 446 |
% \item\marg{\texttt{style}=style} -- Stores \texttt{style} in |
| 447 |
% \DescribeMacro{\thesis@bibliography@style}^^A |
| 448 |
% |\thesis@bibliography@style|, unless it has already been |
| 449 |
% defined (presumably by the user). |
| 450 |
% \item\marg{\texttt{sorting}=mode} -- Stores \texttt{mode} in |
| 451 |
% \DescribeMacro{\thesis@bibliography@sorting}^^A |
| 452 |
% |\thesis@bibliography@sorting|, unless it has already been |
| 453 |
% defined (presumably by the user). |
| 454 |
% \end{enumerate} |
| 455 |
% \begin{macrocode} |
| 456 |
\define@key{thesis@bibliography}{style}{% |
| 457 |
\ifx\thesis@bibliography@style\undefined |
| 458 |
\def\thesis@bibliography@style{#1}% |
| 459 |
\fi} |
| 460 |
\define@key{thesis@bibliography}{sorting}{% |
| 461 |
\ifx\thesis@bibliography@sorting\undefined |
| 462 |
\def\thesis@bibliography@sorting{#1}% |
| 463 |
\fi} |
| 464 |
% \end{macrocode} |
| 465 |
% \changes{v0.3.51}{2018/06/15}{^^A |
| 466 |
% Added the \texttt{bibliography} extra field to the style files |
| 467 |
% of the Masaryk University in Brno, Czech Republic} |
| 468 |
% The following extra data field is defined for the macro: |
| 469 |
% \begin{itemize} |
| 470 |
% \item|bibliography| -- the comma-delimited list of key-value |
| 471 |
% pairs accepted by |\thesis@bibliography@setup|. If the data |
| 472 |
% field was specified, it is immediately passed to |
| 473 |
% |\thesis@bibliography@setup| and it overrides any defaults |
| 474 |
% specified in faculty style files. |
| 475 |
% \end{itemize} |
| 476 |
% \begin{macrocode} |
| 477 |
\thesis@def@extra[]{bibliography} |
| 478 |
\ifx\thesis@extra@bibliography |
| 479 |
\thesis@placeholder@extra@bibliography\else |
| 480 |
\expandafter\thesis@bibliography@setup\expandafter{% |
| 481 |
\thesis@extra@bibliography}% |
| 482 |
\fi |
| 483 |
% \end{macrocode} |
| 484 |
% \end{macro} |
| 485 |
% \begin{macro}{\thesis@bibliography@load} |
| 486 |
% When |\ifthesis@bibliography@| is true and |
| 487 |
% |\ifthesis@bibliography@loaded@| is false, the |
| 488 |
% |\thesis@bibliography@load| macro loads the \textsf{csquotes} and |
| 489 |
% Bib\LaTeX\ packages with the bibliography databases specified in |
| 490 |
% |\thesis@bibFiles|. The macro also sets the |
| 491 |
% \DescribeMacro{\thesis@bibliography@loaded}^^A |
| 492 |
% |\ifthesis@bibliography@loaded@| conditional to true. |
| 493 |
% \begin{macrocode} |
| 494 |
\newif\ifthesis@bibliography@loaded@ |
| 495 |
\thesis@bibliography@loaded@false |
| 496 |
\newif\ifthesis@bibliography@included@ |
| 497 |
\thesis@bibliography@included@false |
| 498 |
\def\thesis@bibliography@load{% |
| 499 |
\ifthesis@bibliography@ |
| 500 |
\ifthesis@bibliography@loaded@\else |
| 501 |
\thesis@bibliography@loaded@true |
| 502 |
% Load csquotes and BibLaTeX. |
| 503 |
\thesis@require{csquotes} |
| 504 |
% \end{macrocode} |
| 505 |
% If |\thesis@bibliography@style| is undefined, the bibliography |
| 506 |
% and citation styles default to |iso-numeric|. If |
| 507 |
% |\thesis@bibliography@sorting| is undefined, the sorting scheme |
| 508 |
% defaults to |none|. |
| 509 |
% \begin{macrocode} |
| 510 |
\thesis@bibliography@setup{ |
| 511 |
style = iso-numeric, |
| 512 |
sorting = none} |
| 513 |
% FIXME: This is a hotfix for biblatex. |
| 514 |
% It should be removed after v3.17 has been released. |
| 515 |
% See https://tex.stackexchange.com/a/581469/70941. |
| 516 |
\thesis@require{expl3} |
| 517 |
\thesis@require[ |
| 518 |
backend=biber, |
| 519 |
style=\thesis@bibliography@style, |
| 520 |
sorting=\thesis@bibliography@sorting, |
| 521 |
autolang=other, |
| 522 |
sortlocale=auto]{biblatex} |
| 523 |
% Load the bibliography databases. |
| 524 |
{\edef\@bibList{\thesis@bibFiles}% |
| 525 |
\def\@inject##1,{% |
| 526 |
\def\@args{##1}\def\@relax{\relax}% |
| 527 |
\ifx\@args\@relax\else |
| 528 |
% Trim leading spaces. |
| 529 |
\edef\@trimmed{\romannumeral-`\.##1}% |
| 530 |
\addbibresource\@trimmed |
| 531 |
\expandafter\@inject\fi}% |
| 532 |
\expandafter\@inject\@bibList,\relax,}% |
| 533 |
% \end{macrocode} |
| 534 |
% \begin{macro}{\ifthesis@bibliography@included@} |
| 535 |
% The |\ifthesis@bibliography@included@| conditional is true, when |
| 536 |
% the user has manually included a bibliography into their |
| 537 |
% document. The default value of the conditional is false and |
| 538 |
% |\printbibliography| is patched to set the conditional to true on |
| 539 |
% expansion. This enables the user to place the bibliography |
| 540 |
% manually without it appearing in the autolayout. The original |
| 541 |
% macro is stored in the |
| 542 |
% \DescribeMacro{\thesis@printbibliography@old}^^A |
| 543 |
% |\thesis@printbibliography@old| macro. |
| 544 |
% \begin{macrocode} |
| 545 |
\let\thesis@printbibliography@old\printbibliography |
| 546 |
\def\printbibliography{% |
| 547 |
\global\thesis@bibliography@included@true |
| 548 |
\thesis@printbibliography@old} |
| 549 |
\fi |
| 550 |
\fi} |
| 551 |
% \end{macrocode} |
| 552 |
% \end{macro} ^^A The nested \ifthesis@bibliography@included@ def |
| 553 |
% \end{macro} ^^A The \thesis@bibliography@load macro definition |
| 554 |
% In the digital version, the \textsf{hyperref} package is configured to |
| 555 |
% decorate hyperlinks with an underline instead of a rectangular box. |
| 556 |
% In the printed version, the \textsf{hyperref} package is configured to |
| 557 |
% hide links. |
| 558 |
% \changes{v0.3.51}{2018/12/25}{^^A |
| 559 |
% In the printed version, the \textsf{hyperref} package is configured to |
| 560 |
% hide links. [VN]} |
| 561 |
% \begin{macrocode} |
| 562 |
\thesis@require{hyperref} |
| 563 |
\ifthesis@digital@ |
| 564 |
\hypersetup{pdfborderstyle={/S/U/W 1}} |
| 565 |
\else |
| 566 |
\hypersetup{hidelinks} |
| 567 |
\fi |
| 568 |
% \end{macrocode} |
| 569 |
% Clubs and widows are set to be infinitely bad. |
| 570 |
% \begin{macrocode} |
| 571 |
\widowpenalty 10000 |
| 572 |
\clubpenalty 10000 |
| 573 |
% \end{macrocode} |
| 574 |
% \begin{macro}{\thesis@color@setup} |
| 575 |
% The file defines the |\thesis@color@setup|\marg{colors} command, |
| 576 |
% where \textit{colors} is a comma-delimited list of key-value |
| 577 |
% pairs as defined by the \textsf{keyval} package. The command can |
| 578 |
% be invoked either by the subsequently loaded style files or by |
| 579 |
% the user to define which colors will be used, when the |
| 580 |
% \texttt{color} option is specified. |
| 581 |
% \begin{macrocode} |
| 582 |
\def\thesis@color@setup#1{% |
| 583 |
\setkeys{thesis@color}{#1}} |
| 584 |
% \end{macrocode} |
| 585 |
% \end{macro} |
| 586 |
% The following key-value pairs are supported: |
| 587 |
% \begin{enumerate} |
| 588 |
% \item\marg{\texttt{links}=color} -- Sets the color of hyperref |
| 589 |
% links to \textit{color} and stores it under the name |
| 590 |
% \texttt{thesis@color@links}. The default color of links is |
| 591 |
% specified by the \textsf{hyperref} package. |
| 592 |
% \item\marg{\texttt{secondary}=color} -- Stores the secondary |
| 593 |
% color that is used with the bold type face under the name |
| 594 |
% \texttt{thesis@color@secondary}. The default secondary color |
| 595 |
% for the Masaryk University is RGB 0, 0, 220. |
| 596 |
% \changes{v1.0.0}{2018/11/18}{^^A |
| 597 |
% The \cs{bfseries} command switches to the sans serif typeface |
| 598 |
% and to the secondary color in the style files of the Masaryk |
| 599 |
% University in Brno, Czech Republic. [VN]} |
| 600 |
% \item\marg{\texttt{tableOdd}=color} -- Stores the color of the |
| 601 |
% odd rows of the redefined \texttt{tabular} and |
| 602 |
% \texttt{tabularx} environments under the name |
| 603 |
% \texttt{thesis@color@tableOdd}. |
| 604 |
% \item\marg{\texttt{tableEven}=color} -- Stores the color of the |
| 605 |
% even rows of the redefined \texttt{tabular} and |
| 606 |
% \texttt{tabularx} environments under the name |
| 607 |
% \texttt{thesis@color@tableEven}. |
| 608 |
% \item\marg{\texttt{tableEmph}=color} -- Stores the color of an |
| 609 |
% emphasized cell in a table user under the name |
| 610 |
% \texttt{thesis@color@tableEmph}. This color is meant to be |
| 611 |
% used manually by the user. |
| 612 |
% \end{enumerate} |
| 613 |
% \begin{macrocode} |
| 614 |
\define@key{thesis@color}{links}{% |
| 615 |
\definecolor{thesis@color@links}#1 |
| 616 |
\hypersetup{linkbordercolor=thesis@color@links}} |
| 617 |
\define@key{thesis@color}{secondary}{% |
| 618 |
\definecolor{thesis@color@secondary}#1} |
| 619 |
\thesis@color@setup{secondary={RGB}{0, 0, 220}} |
| 620 |
\define@key{thesis@color}{tableOdd}{% |
| 621 |
\definecolor{thesis@color@tableOdd}#1} |
| 622 |
\define@key{thesis@color}{tableEven}{% |
| 623 |
\definecolor{thesis@color@tableEven}#1} |
| 624 |
\define@key{thesis@color}{tableEmph}{% |
| 625 |
\definecolor{thesis@color@tableEmph}#1} |
| 626 |
% \end{macrocode} |
| 627 |
% \changes{v1.0.0}{2018/11/18}{^^A |
| 628 |
% The \cs{bfseries} command switches to the sans serif typeface |
| 629 |
% and to the secondary color in the style files of the Masaryk |
| 630 |
% University in Brno, Czech Republic. [VN]} |
| 631 |
% The |\bfseries| macro is redefined to switch to the sans serif |
| 632 |
% type face (conditional on \cs{ifthesis@sansbold@}) in the secondary color. |
| 633 |
% The original definition of |\bfseries| is stored in the |
| 634 |
% \DescribeMacro{\thesis@bfseries@old}|\thesis@bfseries@old| |
| 635 |
% macro. |
| 636 |
% \changes{v1.1.0}{2022/08/02}{^^A |
| 637 |
% Added the \texttt{sansbold} and \texttt{nosansbold} package options |
| 638 |
% for the Masaryk University in Brno. [VN]} |
| 639 |
% \changes{v1.1.0}{2022/08/15}{^^A |
| 640 |
% Added the \texttt{colorbold} and \texttt{nocolorbold} package |
| 641 |
% options for the Masaryk University in Brno. [TV]} |
| 642 |
% \changes{v1.1.1}{2024/03/06}{^^A |
| 643 |
% Only apply the \texttt{colorbold} package option if the \texttt{color} |
| 644 |
% package option is also enabled. [VN]} |
| 645 |
% \begin{macrocode} |
| 646 |
\let\thesis@bfseries@old\bfseries |
| 647 |
\def\bfseries{% |
| 648 |
\ifthesis@sansbold@\sffamily\fi |
| 649 |
\ifthesis@color@\ifthesis@colorbold@\color{thesis@color@secondary}\fi\fi |
| 650 |
\thesis@bfseries@old} |
| 651 |
% \end{macrocode} |
| 652 |
% The file defines several blocks to be used in the redefinitions |
| 653 |
% of the |\thesis@blocks@preamble| and |\thesis@blocks@postamble| |
| 654 |
% macros by the subsequently loaded style files. |
| 655 |
% |
| 656 |
% \begin{macro}{\thesis@blocks@coverMatter} |
| 657 |
% The |\thesis@blocks@coverMatter| macro sets up the style |
| 658 |
% of the cover and the title page of the thesis. This amounts |
| 659 |
% to disabling the page numbering, so that hyperref links do not |
| 660 |
% point to the cover page and the title page instead of the |
| 661 |
% initial pages of the main matter. |
| 662 |
% \begin{macrocode} |
| 663 |
\def\thesis@blocks@coverMatter{% |
| 664 |
\pagenumbering{gobble}} |
| 665 |
% \end{macrocode} |
| 666 |
% \end{macro}\begin{macro}{\thesis@blocks@frontMatter} |
| 667 |
% The |\thesis@blocks@frontMatter| macro sets up the style |
| 668 |
% of the front matter of the thesis. |
| 669 |
% \begin{macrocode} |
| 670 |
\def\thesis@blocks@frontMatter{% |
| 671 |
\thesis@blocks@clear |
| 672 |
\pagestyle{plain} |
| 673 |
\parindent 1.5em |
| 674 |
\setcounter{page}{1} |
| 675 |
\pagenumbering{roman}} |
| 676 |
% \end{macrocode} |
| 677 |
% \end{macro}\begin{macro}{\thesis@blocks@clear} |
| 678 |
% The |\thesis@blocks@clear| macro clears the current page. |
| 679 |
% It also clears the next left-hand (even-numbered) page, when |
| 680 |
% double-sided typesetting is enabled. |
| 681 |
% \changes{v0.3.45}{2017/05/24}{\cs{thesis@blocks@clear} now only |
| 682 |
% sets the pagestyle to |empty|, when there is a left-hand |
| 683 |
% (even-numbered) page to clear. [VN]} |
| 684 |
% \begin{macrocode} |
| 685 |
% \begin{macrocode} |
| 686 |
\def\thesis@blocks@clear{% |
| 687 |
\ifthesis@twoside@ |
| 688 |
\clearpage |
| 689 |
\ifodd\value{page}\else% |
| 690 |
\thispagestyle{empty}% |
| 691 |
\hbox{}% |
| 692 |
\newpage |
| 693 |
\fi |
| 694 |
\else |
| 695 |
\newpage |
| 696 |
\fi} |
| 697 |
% \end{macrocode} |
| 698 |
% \end{macro}\begin{macro}{\thesis@blocks@clearRight} |
| 699 |
% The |\thesis@blocks@clearRight| macro clears the current |
| 700 |
% page. It also clears the next right-hand (odd-numbered) page, |
| 701 |
% when double-sided typesetting is enabled. |
| 702 |
% \begin{macrocode} |
| 703 |
\def\thesis@blocks@clearRight{% |
| 704 |
\ifthesis@twoside@ |
| 705 |
\clearpage |
| 706 |
\ifodd\value{page}% |
| 707 |
\thispagestyle{empty}% |
| 708 |
\hbox{}% |
| 709 |
\newpage |
| 710 |
\fi |
| 711 |
\else |
| 712 |
\newpage |
| 713 |
\fi} |
| 714 |
% \end{macrocode} |
| 715 |
% \end{macro}\begin{macro}{\thesis@blocks@logo} |
| 716 |
% The |\thesis@blocks@logo|\marg{pathname}\marg{options} macro |
| 717 |
% typesets the \textit{pathname} logo with the given |
| 718 |
% \textit{options} passed to |\includegraphics|. |
| 719 |
% \changes{v1.0.0}{2021/04/24}{^^A |
| 720 |
% Change \cs{thesis@facultyLogo}, |
| 721 |
% \cs{thesis@blocks@facultyLogo@monochrome}, and |
| 722 |
% \cs{thesis@blocks@facultyLogo@color} to use the new logotype |
| 723 |
% of the Masaryk University in Brno in the correct size and |
| 724 |
% localization. Add \cs{thesis@blocks@seal}. [VN]} |
| 725 |
% \begin{macrocode} |
| 726 |
\newcommand{\thesis@blocks@logo}[2]{{% |
| 727 |
\let\@logowidth\relax\newlength\@logowidth |
| 728 |
\let\@logoheight\relax\newlength\@logoheight |
| 729 |
\settowidth\@logowidth{\includegraphics[#2]{#1}}% |
| 730 |
\settoheight\@logoheight{\includegraphics[#2]{#1}}% |
| 731 |
\def\@maxwidth##1{\ifdim\@logowidth>##1 ##1\else\@logowidth\fi} |
| 732 |
\def\@maxheight##1{\ifdim\@logoheight>##1 ##1\else\@logoheight\fi} |
| 733 |
\includegraphics[width=\@maxwidth{6.3cm}, height=\@maxheight{4cm}, |
| 734 |
keepaspectratio, #2]{#1}}} |
| 735 |
% \end{macrocode} |
| 736 |
% \end{macro}\begin{macro}{\thesis@blocks@facultyLogo@monochrome} |
| 737 |
% The |\thesis@blocks@facultyLogo@monochrome|\oarg{options} |
| 738 |
% macro typesets the |\thesis@logopath\thesis@facultyLogo| logo |
| 739 |
% with the given \textit{options} passed to |\includegraphics|. |
| 740 |
% \changes{v1.0.0}{2021/04/24}{^^A |
| 741 |
% Change \cs{thesis@facultyLogo}, |
| 742 |
% \cs{thesis@blocks@facultyLogo@monochrome}, and |
| 743 |
% \cs{thesis@blocks@facultyLogo@color} to use the new logotype |
| 744 |
% of the Masaryk University in Brno in the correct size and |
| 745 |
% localization. Add \cs{thesis@blocks@seal}. [VN]} |
| 746 |
% \begin{macrocode} |
| 747 |
\newcommand{\thesis@blocks@facultyLogo@monochrome}[1]% |
| 748 |
[scale=0.95]{{% |
| 749 |
\edef\@path{\thesis@logopath\thesis@facultyLogo}% |
| 750 |
\expandafter\thesis@blocks@logo\expandafter{\@path}{#1}}} |
| 751 |
% \end{macrocode} |
| 752 |
% \end{macro}\begin{macro}{\thesis@blocks@facultyLogo@color} |
| 753 |
% The |\thesis@blocks@facultyLogo@color|\oarg{options} |
| 754 |
% macro typesets either the |\thesis@logopath\thesis@facultyLogo| |
| 755 |
% logo, if the |\ifthesis|\discretionary{}{}{}|@color@| conditional |
| 756 |
% is \texttt{false}, or the |
| 757 |
% |\thesis@logopath\thesis@facultyLogo-color| logo |
| 758 |
% otherwise with the given \textit{options} passed to |
| 759 |
% |\includegraphics|. |
| 760 |
% \changes{v1.0.0}{2021/04/24}{^^A |
| 761 |
% Change \cs{thesis@facultyLogo}, |
| 762 |
% \cs{thesis@blocks@facultyLogo@monochrome}, and |
| 763 |
% \cs{thesis@blocks@facultyLogo@color} to use the new logotype |
| 764 |
% of the Masaryk University in Brno in the correct size and |
| 765 |
% localization. Add \cs{thesis@blocks@seal}. [VN]} |
| 766 |
% \begin{macrocode} |
| 767 |
\newcommand{\thesis@blocks@facultyLogo@color}[1]% |
| 768 |
[scale=0.95]{{% |
| 769 |
\edef\@path{\thesis@logopath\thesis@facultyLogo |
| 770 |
\ifthesis@color@-color\fi}% |
| 771 |
\expandafter\thesis@blocks@logo\expandafter{\@path}{#1}}} |
| 772 |
% \end{macrocode} |
| 773 |
% \end{macro}\begin{macro}{\thesis@blocks@universityLogo@monochrome} |
| 774 |
% The |\thesis@blocks@universityLogo@monochrome|\oarg{options} |
| 775 |
% macro typesets the |
| 776 |
% |\thesis@logopath\thesis@universityLogo| logo |
| 777 |
% with the given \textit{options} passed to |\includegraphics|. |
| 778 |
% \changes{v1.0.0}{2021/03/19}{^^A |
| 779 |
% Change \cs{thesis@universityLogo}, |
| 780 |
% \cs{thesis@blocks@universityLogo@monochrome}, and |
| 781 |
% \cs{thesis@blocks@universityLogo@color} to use the new logotype |
| 782 |
% of the Masaryk University in Brno in the correct size and |
| 783 |
% localization. [VN]} |
| 784 |
% \begin{macrocode} |
| 785 |
\newcommand{\thesis@blocks@universityLogo@monochrome}[1]% |
| 786 |
[scale=0.9]{{% |
| 787 |
\edef\@path{\thesis@logopath\thesis@universityLogo}% |
| 788 |
\expandafter\thesis@blocks@logo\expandafter{\@path}{#1}}} |
| 789 |
% \end{macrocode} |
| 790 |
% \end{macro}\begin{macro}{\thesis@blocks@universityLogo@color} |
| 791 |
% The |\thesis@blocks@universityLogo@color|\oarg{options} |
| 792 |
% macro typesets either the |\thesis@logopath\thesis@universityLogo| |
| 793 |
% logo, if the |\ifthesis|\discretionary{}{}{}|@color@| conditional |
| 794 |
% is \texttt{false}, or the |
| 795 |
% |\thesis@logopath\thesis@universityLogo|\discretionary{}{}{}|-color| |
| 796 |
% logo otherwise with the given \textit{options} passed to |
| 797 |
% |\includegraphics|. |
| 798 |
% \changes{v1.0.0}{2021/03/19}{^^A |
| 799 |
% Change \cs{thesis@universityLogo}, |
| 800 |
% \cs{thesis@blocks@universityLogo@monochrome}, and |
| 801 |
% \cs{thesis@blocks@universityLogo@color} to use the new logotype |
| 802 |
% of the Masaryk University in Brno in the correct size and |
| 803 |
% localization. [VN]} |
| 804 |
% \begin{macrocode} |
| 805 |
\newcommand{\thesis@blocks@universityLogo@color}[1]% |
| 806 |
[scale=0.9]{{% |
| 807 |
\edef\@path{\thesis@logopath\thesis@universityLogo |
| 808 |
\ifthesis@color@-color\fi}% |
| 809 |
\expandafter\thesis@blocks@logo\expandafter{\@path}{#1}}} |
| 810 |
% \end{macrocode} |
| 811 |
% The |\thesis@department@name| and |\thesis@field@name| macros and |
| 812 |
% their English counterparts provide a level of indirection that |
| 813 |
% allows the subsequently loaded style files to parse the values of |
| 814 |
% |\thesis@department| and |\thesis@field| (and their English |
| 815 |
% counterparts) and map them to human-readable names, which will |
| 816 |
% then be typeset. |
| 817 |
% \begin{macrocode} |
| 818 |
\let\thesis@department@name\thesis@department |
| 819 |
\let\thesis@departmentEn@name\thesis@departmentEn |
| 820 |
\let\thesis@field@name\thesis@field |
| 821 |
\let\thesis@fieldEn@name\thesis@fieldEn |
| 822 |
% \end{macrocode} |
| 823 |
% \end{macro}\begin{macro}{\thesis@blocks@cover} |
| 824 |
% \changes{v1.0.0}{2021/04/23}{^^A |
| 825 |
% The macro is no longer composed of three macros. [TV]} |
| 826 |
% The |\thesis@blocks@cover| macro typesets the thesis |
| 827 |
% cover. |
| 828 |
% \changes{v1.0.0}{2018/11/18}{^^A |
| 829 |
% The \cs{bfseries} command switches to the sans serif typeface |
| 830 |
% and to the secondary color in the style files of the Masaryk |
| 831 |
% University in Brno, Czech Republic. [VN]} |
| 832 |
% \begin{macrocode} |
| 833 |
\def\thesis@blocks@cover{% |
| 834 |
\ifthesis@cover@ |
| 835 |
\thesis@blocks@clear |
| 836 |
\begin{alwayssingle}% |
| 837 |
\colorlet{thesis@color@secondary}{black}% |
| 838 |
\thispagestyle{empty}% |
| 839 |
\begin{center}% |
| 840 |
\thesis@blocks@universityLogo@monochrome\par |
| 841 |
\vspace{0.75cm}% |
| 842 |
{\sf\thesis@titlePage@large\thesis@@upper{facultyName}\par}% |
| 843 |
\vfill |
| 844 |
% \end{macrocode} |
| 845 |
% \changes{v1.1.0}{2022/08/17}{^^A |
| 846 |
% Typeset thesis title on cover and title pages in sans serif typeface. [VN]} |
| 847 |
% \begin{macrocode} |
| 848 |
\begingroup |
| 849 |
\thesis@colorbold@true |
| 850 |
{\sffamily\bfseries\thesis@titlePage@Huge\thesis@TeXtitle\par}% |
| 851 |
\endgroup |
| 852 |
\vspace{1.5cm}% |
| 853 |
{\sf\thesis@titlePage@Large\thesis@@{typeName}\par}% |
| 854 |
\vspace{1.5cm}% |
| 855 |
{\sf\thesis@titlePage@LARGE\thesis@upper{author}\par}% |
| 856 |
\vfill\vfill\vfill\vfill |
| 857 |
{\sf\thesis@titlePage@large\thesis@place, \thesis@@{semester}\par}% |
| 858 |
\end{center}% |
| 859 |
\end{alwayssingle}% |
| 860 |
\fi} |
| 861 |
% \end{macrocode} |
| 862 |
% \changes{v1.0.0}{2021/04/23}{Removed the header conditionals as the |
| 863 |
% covers are unified for all faculties and shouldn't need to be |
| 864 |
% modified. [TV]} |
| 865 |
% \end{macro} |
| 866 |
% \begin{macro}{\thesis@blocks@advisorSignature} |
| 867 |
% The |\thesis@blocks@advisorSignature| macro produces space for |
| 868 |
% the thesis advisor's signature. |
| 869 |
% \changes{v1.0.0}{2021/02/26}{^^A |
| 870 |
% The \cs{thesis@blocks@advisorSignature} macro is now defined |
| 871 |
% for styles of all faculties at the Masaryk University in Brno, |
| 872 |
% not just for the Faculty of Informatics, and is automatically |
| 873 |
% used in the \cs{thesis@blocks@titlePage} macro for rigorous |
| 874 |
% theses and PhD thesis proposals. [VN]} |
| 875 |
% \begin{macrocode} |
| 876 |
\def\thesis@blocks@advisorSignature{% |
| 877 |
\let\@A\relax\newlength{\@A} |
| 878 |
\settowidth{\@A}{\thesis@@{advisorSignature}} |
| 879 |
\setlength{\@A}{\@A+1cm} |
| 880 |
\hfill\raisebox{-0.5em}{\parbox{\@A}{ |
| 881 |
\centering |
| 882 |
\rule{\@A}{1pt}\\ |
| 883 |
\thesis@@{advisorSignature} |
| 884 |
}}}% |
| 885 |
% \end{macrocode} |
| 886 |
% \end{macro} |
| 887 |
% \begin{macro}{\thesis@blocks@titlePage} |
| 888 |
% The |\thesis@blocks@titlePage| macro typesets the thesis |
| 889 |
% title page. |
| 890 |
% \changes{v1.0.0}{2018/11/18}{^^A |
| 891 |
% The \cs{bfseries} command switches to the sans serif typeface |
| 892 |
% and to the secondary color in the style files of the Masaryk |
| 893 |
% University in Brno, Czech Republic. [VN]} |
| 894 |
% \changes{v1.0.0}{2021/02/26}{^^A |
| 895 |
% The \cs{thesis@blocks@titlePage} command no longer consists |
| 896 |
% of the \cs{thesis@blocks@titlePage@header}, |
| 897 |
% \cs{thesis@blocks@titlePage@content}, and |
| 898 |
% \cs{thesis@blocks@titlePage@footer} macros, which are no |
| 899 |
% longer defined. [VN]} |
| 900 |
% The output of the |\thesis@blocks@titlePage| macro is |
| 901 |
% controlled by the following conditionals: |
| 902 |
% \begin{enumerate} |
| 903 |
% \item|\ifthesis@blocks@titlePage@department@| -- This |
| 904 |
% conditional expression determines, whether the department |
| 905 |
% name is going to be included in the title page. The |
| 906 |
% default value of this conditional is \texttt{true}. |
| 907 |
% \changes{v1.0.0}{2021/02/26}{^^A |
| 908 |
% The \cs{ifthesis@blocks@titlePage@department@} conditional |
| 909 |
% now defaults to \texttt{true}. [VN]} |
| 910 |
% \item|\ifthesis@blocks@titlePage@field@| -- This |
| 911 |
% conditional expression determines, whether the field of |
| 912 |
% study is going to be included in the title page. The |
| 913 |
% default value of this conditional is \texttt{true}. |
| 914 |
% \changes{v1.0.0}{2021/02/26}{^^A |
| 915 |
% The \cs{ifthesis@blocks@titlePage@field@} conditional |
| 916 |
% now defaults to \texttt{true}. [VN]} |
| 917 |
% \changes{v1.0.0}{2021/02/26}{^^A |
| 918 |
% The \cs{ifthesis@blocks@titlePage@university@} and |
| 919 |
% \cs{ifthesis@blocks@titlePage@faculty@} conditionals |
| 920 |
% are no longer defined. [VN]} |
| 921 |
% \item|\ifthesis@blocks@titlePage@programme@| -- This |
| 922 |
% conditional expression determines, whether the study |
| 923 |
% programme is going to be included in the title page. The |
| 924 |
% default value of this conditional is \texttt{false}. |
| 925 |
% \changes{v1.0.0}{2021/02/26}{^^A |
| 926 |
% The \cs{ifthesis@blocks@titlePage@programme@} conditional |
| 927 |
% is now defined and defaults to \texttt{false}. [VN]} |
| 928 |
% \end{enumerate} |
| 929 |
% The sebsequently loaded style files can modify the value of these |
| 930 |
% conditionals to alter the output of the |
| 931 |
% |\thesis@blocks@titlePage| macro without altering its definition. |
| 932 |
% \begin{macrocode} |
| 933 |
\newif\ifthesis@blocks@titlePage@department@ |
| 934 |
\thesis@blocks@titlePage@department@true |
| 935 |
\newif\ifthesis@blocks@titlePage@field@ |
| 936 |
\thesis@blocks@titlePage@field@true |
| 937 |
\newif\ifthesis@blocks@titlePage@programme@ |
| 938 |
\thesis@blocks@titlePage@programme@true |
| 939 |
|
| 940 |
\def\thesis@blocks@titlePage{% |
| 941 |
\thesis@blocks@clear |
| 942 |
\begin{alwayssingle}% |
| 943 |
\thispagestyle{empty}% |
| 944 |
\begin{center}% |
| 945 |
\thesis@blocks@universityLogo@color |
| 946 |
\par\vspace{0.75cm}% |
| 947 |
{\sf\thesis@titlePage@large\thesis@@upper{facultyName}\par}% |
| 948 |
\vfill |
| 949 |
\begingroup |
| 950 |
\thesis@colorbold@true |
| 951 |
{\sffamily\bfseries\thesis@titlePage@Huge\thesis@TeXtitle\par}% |
| 952 |
\endgroup |
| 953 |
\vspace{1.5cm}% |
| 954 |
{\sf\thesis@titlePage@Large\thesis@@{typeName}\par}% |
| 955 |
\vspace{1.5cm}% |
| 956 |
% \end{macrocode} |
| 957 |
% \changes{v1.1.0}{2022/08/17}{^^A |
| 958 |
% Typeset thesis title on cover and title pages in sans serif typeface. [VN]} |
| 959 |
% \changes{v1.1.1}{2023/03/06}{The field of study shows only if not empty. [TV]} |
| 960 |
% \begin{macrocode} |
| 961 |
{\sf\thesis@titlePage@LARGE\thesis@upper{author}\par}% |
| 962 |
\vfill\vfill |
| 963 |
{\sf\thesis@titlePage@large\thesis@@{advisorTitle}: \thesis@advisor\par}% |
| 964 |
\vspace{0.75cm}% |
| 965 |
\ifthesis@blocks@titlePage@department@ |
| 966 |
{\sf\thesis@titlePage@large\thesis@department@name\par}% |
| 967 |
\fi |
| 968 |
\ifthesis@blocks@titlePage@programme@ |
| 969 |
\vspace{0.25cm}% |
| 970 |
{\sf\thesis@titlePage@large\thesis@@{bib@programme}: \thesis@programme\par}% |
| 971 |
\fi |
| 972 |
\ifthesis@blocks@titlePage@field@ |
| 973 |
\ifx\thesis@field\empty\else |
| 974 |
\vspace{0.25cm}% |
| 975 |
{\sf\thesis@titlePage@large\thesis@@{fieldTitle}: \thesis@field@name\par}% |
| 976 |
\fi |
| 977 |
\fi |
| 978 |
\vfill |
| 979 |
{\sf\thesis@titlePage@large\thesis@place, \thesis@@{semester}% |
| 980 |
% \end{macrocode} |
| 981 |
% If this is a rigorous thesis or a PhD thesis proposal, create |
| 982 |
% space for the advisor's signature. |
| 983 |
% \changes{v1.0.0}{2021/02/26}{^^A |
| 984 |
% The \cs{thesis@blocks@advisorSignature} macro is now defined |
| 985 |
% for styles of all faculties at the Masaryk University in Brno, |
| 986 |
% not just for the Faculty of Informatics, and is automatically |
| 987 |
% used in the \cs{thesis@blocks@titlePage} macro for rigorous |
| 988 |
% theses and PhD thesis proposals. [VN]} |
| 989 |
% \begin{macrocode} |
| 990 |
\ifx\thesis@type\thesis@rigorous |
| 991 |
\thesis@blocks@advisorSignature |
| 992 |
\else\ifx\thesis@type\thesis@proposal |
| 993 |
\thesis@blocks@advisorSignature |
| 994 |
\fi\fi\par}% |
| 995 |
\end{center}% |
| 996 |
\end{alwayssingle}} |
| 997 |
% \end{macrocode} |
| 998 |
% \end{macro}\begin{macro}{\thesis@blocks@seal} |
| 999 |
% The |\thesis@blocks@seal| macro typesets the seal of a faculty. |
| 1000 |
% \changes{v1.0.0}{2021/04/24}{^^A |
| 1001 |
% Change \cs{thesis@facultyLogo}, |
| 1002 |
% \cs{thesis@blocks@facultyLogo@monochrome}, and |
| 1003 |
% \cs{thesis@blocks@facultyLogo@color} to use the new logotype |
| 1004 |
% of the Masaryk University in Brno in the correct size and |
| 1005 |
% localization. Add \cs{thesis@blocks@seal}. [VN]} |
| 1006 |
% \begin{macrocode} |
| 1007 |
\def\thesis@blocks@seal{% |
| 1008 |
\thesis@blocks@clear |
| 1009 |
\begin{alwayssingle}% |
| 1010 |
\thispagestyle{empty}% |
| 1011 |
\begin{center}% |
| 1012 |
\leavevmode |
| 1013 |
\par\vfill |
| 1014 |
\thesis@blocks@facultyLogo@color |
| 1015 |
\par\vfill\vfill\vfill\vfill |
| 1016 |
\end{center}% |
| 1017 |
\end{alwayssingle}} |
| 1018 |
% \end{macrocode} |
| 1019 |
% \end{macro}\begin{macro}{\thesis@blocks@toc} |
| 1020 |
% The |\thesis@blocks@toc| macro typesets the table of contents. |
| 1021 |
% \begin{macrocode} |
| 1022 |
\def\thesis@blocks@toc{% |
| 1023 |
\thesis@blocks@clear |
| 1024 |
\tableofcontents} |
| 1025 |
% \end{macrocode} |
| 1026 |
% \end{macro}\begin{macro}{\thesis@blocks@tables} |
| 1027 |
% The |\thesis@blocks@tables| macro typesets the table of |
| 1028 |
% contents and optionally the list of tables and the |
| 1029 |
% list of figures. |
| 1030 |
% \begin{macrocode} |
| 1031 |
\def\thesis@blocks@tables{% |
| 1032 |
\thesis@blocks@toc |
| 1033 |
\thesis@blocks@lot |
| 1034 |
\thesis@blocks@lof} |
| 1035 |
% \end{macrocode} |
| 1036 |
% \end{macro}\begin{macro}{\thesis@blocks@declaration} |
| 1037 |
% The |\thesis@blocks@declaration| macro typesets the |
| 1038 |
% declaration text. |
| 1039 |
% \begin{macrocode} |
| 1040 |
\def\thesis@blocks@declaration{% |
| 1041 |
\thesis@blocks@clear |
| 1042 |
\begin{alwayssingle}% |
| 1043 |
\chapter*{\thesis@@{declarationTitle}}% |
| 1044 |
\thesis@declaration |
| 1045 |
\vskip 2cm% |
| 1046 |
\hfill\thesis@author |
| 1047 |
\end{alwayssingle}} |
| 1048 |
% \end{macrocode} |
| 1049 |
% \end{macro}\begin{macro}{\thesis@blocks@thanks} |
| 1050 |
% The |\thesis@blocks@thanks| macro typesets the |
| 1051 |
% acknowledgements, if the |\thesis@thanks| macro is |
| 1052 |
% defined. Otherwise, the macro produces no output. |
| 1053 |
% \begin{macrocode} |
| 1054 |
\def\thesis@blocks@thanks{% |
| 1055 |
\ifx\thesis@thanks\undefined\else |
| 1056 |
\thesis@blocks@clear |
| 1057 |
\begin{alwayssingle}% |
| 1058 |
\chapter*{\vspace*{\fill}\thesis@@{thanksTitle}}% |
| 1059 |
\leavevmode\thesis@thanks |
| 1060 |
\end{alwayssingle}% |
| 1061 |
\fi} |
| 1062 |
% \end{macrocode} |
| 1063 |
% \end{macro}\begin{macro}{\thesis@blocks@abstract} |
| 1064 |
% The |\thesis@blocks@abstract| macro typesets the |
| 1065 |
% abstract. |
| 1066 |
% \changes{v1.0.0}{2021/03/05}{Changed \texttt{clearpage} |
| 1067 |
% to \texttt{vskip} so it is by default on the same page |
| 1068 |
% when the template contains bibEntry. [TV]} |
| 1069 |
% \begin{macrocode} |
| 1070 |
\def\thesis@blocks@abstract{% |
| 1071 |
\begin{alwayssingle}% |
| 1072 |
\vskip 40 \p@ |
| 1073 |
{\let\thesis@blocks@clear\relax |
| 1074 |
\chapter*{\thesis@@{abstractTitle}}}% |
| 1075 |
\noindent\thesis@abstract |
| 1076 |
\par\vfil\null |
| 1077 |
\end{alwayssingle}} |
| 1078 |
% \end{macrocode} |
| 1079 |
% \end{macro}\begin{macro}{\thesis@blocks@abstractEn} |
| 1080 |
% The |\thesis@blocks@abstractEn| macro typesets the |
| 1081 |
% abstract in English. If the current locale is English, the |
| 1082 |
% macro produces no output. |
| 1083 |
% \changes{v0.3.46}{2017/06/02}{Simplified the definition of |
| 1084 |
% \cs{thesis@blocks@abstractEn} in |
| 1085 |
% \texttt{style/mu/fithesis-base.sty}. [VN]} |
| 1086 |
% \changes{v1.0.0}{2021/03/05}{Changed \texttt{clearpage} |
| 1087 |
% to \texttt{vskip} so it is by default on the same page |
| 1088 |
% when the template contains bibEntry. [TV]} |
| 1089 |
% \begin{macrocode} |
| 1090 |
\def\thesis@blocks@abstractEn{% |
| 1091 |
\ifthesis@english\else |
| 1092 |
{\thesis@selectLocale{english}% |
| 1093 |
\begin{alwayssingle}% |
| 1094 |
\vskip 40 \p@ |
| 1095 |
{\let\thesis@blocks@clear\relax |
| 1096 |
\chapter*{\thesis@english@abstractTitle}}% |
| 1097 |
\noindent\thesis@abstractEn |
| 1098 |
\par\vfil\null |
| 1099 |
\end{alwayssingle}}% |
| 1100 |
\fi} |
| 1101 |
% \end{macrocode} |
| 1102 |
% \end{macro}\begin{macro}{\thesis@blocks@keywords} |
| 1103 |
% The |\thesis@blocks@keywords| macro typesets the |
| 1104 |
% keywords. |
| 1105 |
% \changes{v1.0.0}{2021/03/22}{Redefined keywords, keywordsEn |
| 1106 |
% macros so they by default start on the same page as the |
| 1107 |
% the previous element and are in the lower part of the page. |
| 1108 |
% [TV]} |
| 1109 |
% \changes{v1.1.1}{2024/03/06}{Typeset \cs{thesis@TeXkeywords}, |
| 1110 |
% not \cs{thesis@keywords}. [VN]} |
| 1111 |
% \begin{macrocode} |
| 1112 |
\def\thesis@blocks@keywords{% |
| 1113 |
\begin{alwayssingle}% |
| 1114 |
{\let\thesis@blocks@clear\relax% |
| 1115 |
\chapter*{\vspace*{\fill}\thesis@@{keywordsTitle}}}% |
| 1116 |
\noindent\leavevmode\thesis@TeXkeywords |
| 1117 |
\end{alwayssingle}} |
| 1118 |
% \end{macrocode} |
| 1119 |
% \end{macro}\begin{macro}{\thesis@blocks@keywordsEn} |
| 1120 |
% The |\thesis@blocks@keywordsEn| macro typesets the |
| 1121 |
% keywords in English. If the current locale is English, the |
| 1122 |
% macro produces no output. |
| 1123 |
% \changes{v0.3.46}{2017/06/02}{Simplified the definition of |
| 1124 |
% \cs{thesis@blocks@keywordsEn} in |
| 1125 |
% \texttt{style/mu/fithesis-base.sty}. [VN]} |
| 1126 |
% \changes{v1.1.1}{2024/03/06}{Typeset \cs{thesis@TeXkeywords}, |
| 1127 |
% not \cs{thesis@keywords}. [VN]} |
| 1128 |
% \begin{macrocode} |
| 1129 |
\def\thesis@blocks@keywordsEn{% |
| 1130 |
\ifthesis@english\else |
| 1131 |
{\thesis@selectLocale{english}% |
| 1132 |
\begin{alwayssingle}% |
| 1133 |
{\let\thesis@blocks@clear\relax% |
| 1134 |
\chapter*{\vspace*{\fill}\thesis@english@keywordsTitle}}% |
| 1135 |
\noindent\leavevmode\thesis@TeXkeywordsEn |
| 1136 |
\end{alwayssingle}}% |
| 1137 |
\fi} |
| 1138 |
% \end{macrocode} |
| 1139 |
% \end{macro}\begin{macro}{\thesis@rewind} |
| 1140 |
% The |\thesis@rewind| macro rewinds the page numbers by either one |
| 1141 |
% or two pages, depending on whether one-side or two-side |
| 1142 |
% typesetting is enabled, respectively. |
| 1143 |
% \begin{macrocode} |
| 1144 |
\def\thesis@rewind{% |
| 1145 |
\addtocounter{page}{-\ifthesis@twoside@2\else1\fi}} |
| 1146 |
% \end{macrocode} |
| 1147 |
% \end{macro}\begin{macro}{\thesis@blocks@assignment} |
| 1148 |
% The |\thesis@blocks@assignment| macro produces a different output |
| 1149 |
% depending on the values of the |\thesis@assignmentFiles|. |
| 1150 |
% |\ifthesis@blocks@assignment@|, |
| 1151 |
% |\ifthesis@blocks@assignment@hideIfDigital@|, and |
| 1152 |
% |\ifthesis@digital| macros. |
| 1153 |
% |
| 1154 |
% The default value of the |
| 1155 |
% \DescribeMacro{\ifthesis@blocks@assignment@}^^A |
| 1156 |
% |\ifthesis@blocks@assignment@| and |
| 1157 |
% \DescribeMacro{\ifthesis@blocks@assignment@hideIfDigital}^^A |
| 1158 |
% |\ifthesis@blocks@assignment@hideIfDigital@| conditionals is |
| 1159 |
% \texttt{true}. |
| 1160 |
% \begin{macrocode} |
| 1161 |
\newif\ifthesis@blocks@assignment@ |
| 1162 |
\thesis@blocks@assignment@true |
| 1163 |
\newif\ifthesis@blocks@assignment@hideIfDigital@ |
| 1164 |
\thesis@blocks@assignment@hideIfDigital@true |
| 1165 |
\def\thesis@blocks@assignment{% |
| 1166 |
% \end{macrocode} |
| 1167 |
% If the |\ifthesis@blocks@assignment@| conditional is |
| 1168 |
% \textsf{true} and the |\thesis@assignmentFiles| macro is |
| 1169 |
% undefined, then typeset a placeholder page. |
| 1170 |
% \begin{macrocode} |
| 1171 |
\ifthesis@blocks@assignment@ |
| 1172 |
\ifx\thesis@assignmentFiles\undefined |
| 1173 |
% Rewind the pages and typeset a placeholder page. |
| 1174 |
\thesis@blocks@clear |
| 1175 |
\begin{alwayssingle}% |
| 1176 |
\thispagestyle{empty}\thesis@rewind |
| 1177 |
\noindent\textit{\thesis@@{assignment}}% |
| 1178 |
\end{alwayssingle}% |
| 1179 |
\else |
| 1180 |
% \end{macrocode} |
| 1181 |
% Locally define \DescribeMacro{\@inject}|\@inject| as our routine |
| 1182 |
% for injecting lists of PDF documents. |
| 1183 |
% \begin{macrocode} |
| 1184 |
{\edef\@pdfList{\thesis@assignmentFiles}% |
| 1185 |
\let\ea\expandafter |
| 1186 |
% Injects the specified PDF documents. |
| 1187 |
\def\@inject##1,{\thesis@blocks@clear |
| 1188 |
\def\@args{##1}\def\@relax{\relax}% |
| 1189 |
\ifx\@args\@relax\else |
| 1190 |
% Trim leading spaces. |
| 1191 |
\edef\@trimmed{\romannumeral-`\.##1}% |
| 1192 |
% Rewind the pages and include the PDF. |
| 1193 |
\thesis@rewind\includepdf[pages=-]\@trimmed |
| 1194 |
\ea\@inject\fi}% |
| 1195 |
% \end{macrocode} |
| 1196 |
% If the |\ifthesis@blocks@assignment@| conditional is |
| 1197 |
% \textsf{true} and the |\thesis@assignmentFiles| macro is neither |
| 1198 |
% undefined nor empty, then typeset a placeholder page, if the |
| 1199 |
% |\ifthesis@digital@| conditional is \textsf{true} and the |
| 1200 |
% |\ifthesis@blocks@assignmane@hideIfDigital@| conditional is |
| 1201 |
% \textsf{true} |
| 1202 |
% \begin{macrocode} |
| 1203 |
\ifx\@pdfList\empty\else |
| 1204 |
\ifthesis@digital@ |
| 1205 |
\ifthesis@blocks@assignment@hideIfDigital@ |
| 1206 |
\thesis@blocks@clear |
| 1207 |
\begin{alwayssingle}% |
| 1208 |
\thispagestyle{empty}\thesis@rewind |
| 1209 |
\noindent\textit{\thesis@@{assignment}}% |
| 1210 |
\end{alwayssingle}% |
| 1211 |
% \end{macrocode} |
| 1212 |
% If the |\ifthesis@blocks@assignment@| conditional is |
| 1213 |
% \textsf{true} and the |\thesis@assignmentFiles| macro is neither |
| 1214 |
% undefined nor empty, then inject the PDF documents specified in |
| 1215 |
% the |\thesis@assignmentFiles|, if the |\ifthesis@digital@| |
| 1216 |
% conditional is \textsf{false} or the |
| 1217 |
% |\ifthesis@blocks@assignment@hideIfDigital@| conditional is |
| 1218 |
% \textsf{false}. |
| 1219 |
% \begin{macrocode} |
| 1220 |
\else |
| 1221 |
\ea\@inject\@pdfList,\relax,% |
| 1222 |
\fi |
| 1223 |
\else |
| 1224 |
\ea\@inject\@pdfList,\relax,% |
| 1225 |
\fi |
| 1226 |
\fi}% |
| 1227 |
\fi |
| 1228 |
\fi} |
| 1229 |
% \end{macrocode} |
| 1230 |
% \end{macro}\begin{macro}{\thesis@blocks@mainMatter} |
| 1231 |
% The |\thesis@blocks@mainMatter| macro sets up the style |
| 1232 |
% of the main matter of the thesis. |
| 1233 |
% \begin{macrocode} |
| 1234 |
\def\thesis@blocks@mainMatter{% |
| 1235 |
\thesis@blocks@clear |
| 1236 |
\setcounter{page}{1} |
| 1237 |
\pagenumbering{arabic} |
| 1238 |
\pagestyle{thesisheadings} |
| 1239 |
\parindent 1.5em\relax} |
| 1240 |
% \end{macrocode} |
| 1241 |
% \end{macro}\begin{macro}{\thesis@blocks@bibEntry@pagetotal} |
| 1242 |
% The |\thesis@blocks@bibEntry@pageTotal| macro typeset the total number of |
| 1243 |
% pages in the thesis in the format required by the bibliographic entry. |
| 1244 |
% \changes{v1.1.1}{2024/03/06}{Add the \cs{thesis@blocks@bibEntry@pagetotal} |
| 1245 |
% command for the Masaryk University in Brno. [TV, VN]} |
| 1246 |
% \begin{macrocode} |
| 1247 |
\def\thesis@blocks@bibEntry@pagetotal{% |
| 1248 |
\thesis@pages@preamble{} + \thesis@pages} |
| 1249 |
% \end{macrocode} |
| 1250 |
% \end{macro}\begin{macro}{\thesis@blocks@bibEntry} |
| 1251 |
% The |\thesis@blocks@bibEntry| macro typesets a bibliographical |
| 1252 |
% entry. Along with the macros required by the locale file |
| 1253 |
% interface, the \textit{locale} files need to define the following |
| 1254 |
% strings: |
| 1255 |
% \begin{itemize} |
| 1256 |
% \item\texttt{bib@title} -- The title of the entire block |
| 1257 |
% \item\texttt{bib@pages} -- The abbreviation of pages used in |
| 1258 |
% the bibliographical entry |
| 1259 |
% \end{itemize} |
| 1260 |
% \changes{v1.0.0}{2021/03/04}{The \cs{thesis@blocks@bibEntry} command |
| 1261 |
% was expanded to more closely resemble Faculty of Science's bibEntry. |
| 1262 |
% The \cs{thesis@blocks@bibEntryEn} was added. [TV]} |
| 1263 |
% \changes{v1.1.1}{2024/03/06}{If the \cs{thesis@field} key is empty string, |
| 1264 |
% the bibEntry field of study row does not appear. [TV]} |
| 1265 |
% \begin{macrocode} |
| 1266 |
\def\thesis@blocks@bibEntry{% |
| 1267 |
\thesis@blocks@clear |
| 1268 |
\chapter*{\thesis@@{bib@title}} |
| 1269 |
{% Calculate the width of the columns |
| 1270 |
\let\@A\relax\newlength{\@A}\settowidth{\@A}{{% |
| 1271 |
\bf\thesis@@{bib@author}:}} |
| 1272 |
\let\@B\relax\newlength{\@B}\settowidth{\@B}{{% |
| 1273 |
\bf\thesis@@{bib@thesisTitle}:}} |
| 1274 |
\let\@C\relax\newlength{\@C}\settowidth{\@C}{{% |
| 1275 |
\bf\thesis@@{bib@programme}:}} |
| 1276 |
\let\@D\relax\newlength{\@D}\settowidth{\@D}{{% |
| 1277 |
\bf\thesis@@{bib@field}:}} |
| 1278 |
\let\@E\relax\newlength{\@E} |
| 1279 |
\settowidth{\@E}{{\bf\thesis@@{bib@advisor}:}} |
| 1280 |
\let\@F\relax\newlength{\@F}\settowidth{\@F}{{% |
| 1281 |
\bf\thesis@@{bib@academicYear}:}} |
| 1282 |
\let\@G\relax\newlength{\@G}\settowidth{\@G}{{% |
| 1283 |
\bf\thesis@@{bib@pages}:}} |
| 1284 |
\let\@H\relax\newlength{\@H}\settowidth{\@H}{{% |
| 1285 |
\bf\thesis@@{bib@keywords}:}} |
| 1286 |
\let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt} |
| 1287 |
\let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{% |
| 1288 |
max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)} |
| 1289 |
\let\@right\relax\newlength{\@right}\setlength{\@right}{% |
| 1290 |
\textwidth-\@left-\@skip} |
| 1291 |
% Typeset the table |
| 1292 |
\noindent\begin{thesis@newtable@old}% |
| 1293 |
{@{}p{\@left}@{\hskip\@skip}p{\@right}@{}} |
| 1294 |
\textbf{\thesis@@{bib@author}% |
| 1295 |
\ifthesis@english\else\ifthesis@woman ka\fi\fi:} & |
| 1296 |
\noindent\parbox[t]{\@right}{ |
| 1297 |
\thesis@author\\ |
| 1298 |
\thesis@@{facultyName} \\ |
| 1299 |
\thesis@@{universityName}\\ |
| 1300 |
\thesis@department@name |
| 1301 |
}\\ |
| 1302 |
\textbf{\thesis@@{bib@thesisTitle}:} |
| 1303 |
& \thesis@title \\ |
| 1304 |
\textbf{\thesis@@{bib@programme}:} |
| 1305 |
& \thesis@programme \\ |
| 1306 |
\ifx\thesis@field\empty\else |
| 1307 |
\textbf{\thesis@@{bib@field}:}% |
| 1308 |
& \thesis@field \\\fi |
| 1309 |
\textbf{\thesis@@{bib@advisor}:} |
| 1310 |
& \thesis@advisor \\ |
| 1311 |
\textbf{\thesis@@{bib@academicYear}:} |
| 1312 |
& \thesis@academicYear \\ |
| 1313 |
\textbf{\thesis@@{bib@pages}:} |
| 1314 |
& \thesis@blocks@bibEntry@pagetotal \\ |
| 1315 |
\textbf{\thesis@@{bib@keywords}:} |
| 1316 |
& \thesis@TeXkeywords \\ |
| 1317 |
\end{thesis@newtable@old}}} |
| 1318 |
% \end{macrocode} |
| 1319 |
% \changes{v1.1.1}{2024/03/06}{If the \cs{thesis@fieldEn} key is empty string, |
| 1320 |
% the bibEntryEn field of study row does not appear. [TV]} |
| 1321 |
% \begin{macrocode} |
| 1322 |
\def\thesis@blocks@bibEntryEn{% |
| 1323 |
\ifthesis@english\else |
| 1324 |
\thesis@blocks@clear |
| 1325 |
\chapter*{\thesis@english@bib@title} |
| 1326 |
{% Calculate the width of the columns |
| 1327 |
\let\@A\relax\newlength{\@A}\settowidth{\@A}{{% |
| 1328 |
\bf\thesis@english@bib@author:}} |
| 1329 |
\let\@B\relax\newlength{\@B}\settowidth{\@B}{{% |
| 1330 |
\bf\thesis@english@bib@thesisTitle:}} |
| 1331 |
\let\@C\relax\newlength{\@C}\settowidth{\@C}{{% |
| 1332 |
\bf\thesis@english@bib@programme:}} |
| 1333 |
\let\@D\relax\newlength{\@D}\settowidth{\@D}{{% |
| 1334 |
\bf\thesis@english@bib@field:}} |
| 1335 |
\let\@E\relax\newlength{\@E} |
| 1336 |
\settowidth{\@E}{{\bf\thesis@english@bib@advisor:}} |
| 1337 |
\let\@F\relax\newlength{\@F}\settowidth{\@F}{{% |
| 1338 |
\bf\thesis@english@bib@academicYear:}} |
| 1339 |
\let\@G\relax\newlength{\@G}\settowidth{\@G}{{% |
| 1340 |
\bf\thesis@english@bib@pages:}} |
| 1341 |
\let\@H\relax\newlength{\@H}\settowidth{\@H}{{% |
| 1342 |
\bf\thesis@english@bib@keywords:}} |
| 1343 |
\let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt} |
| 1344 |
\let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{% |
| 1345 |
max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)} |
| 1346 |
\let\@right\relax\newlength{\@right}\setlength{\@right}{% |
| 1347 |
\textwidth-\@left-\@skip} |
| 1348 |
% Typeset the table |
| 1349 |
\noindent\begin{thesis@newtable@old}% |
| 1350 |
{@{}p{\@left}@{\hskip\@skip}p{\@right}@{}} |
| 1351 |
\textbf{\thesis@english@authorTitle:} & |
| 1352 |
\noindent\parbox[t]{\@right}{ |
| 1353 |
\thesis@author\\ |
| 1354 |
\thesis@english@facultyName \\ |
| 1355 |
\thesis@english@universityName\\ |
| 1356 |
\thesis@departmentEn@name |
| 1357 |
}\\ |
| 1358 |
\textbf{\thesis@english@bib@thesisTitle:} |
| 1359 |
& \thesis@titleEn \\ |
| 1360 |
\textbf{\thesis@english@bib@programme:} |
| 1361 |
& \thesis@programmeEn \\ |
| 1362 |
\ifx\thesis@fieldEn\empty\else |
| 1363 |
\textbf{\thesis@english@bib@field:}% |
| 1364 |
& \thesis@fieldEn@name \\\fi |
| 1365 |
\textbf{\thesis@english@bib@advisor:} |
| 1366 |
& \thesis@advisor \\ |
| 1367 |
\textbf{\thesis@english@bib@academicYear:} |
| 1368 |
& \thesis@academicYear \\ |
| 1369 |
\textbf{\thesis@english@bib@pages:} |
| 1370 |
& \thesis@blocks@bibEntry@pagetotal \\ |
| 1371 |
\textbf{\thesis@english@bib@keywords:} |
| 1372 |
& \thesis@TeXkeywordsEn \\ |
| 1373 |
\end{thesis@newtable@old}} |
| 1374 |
\fi} |
| 1375 |
% \end{macrocode} |
| 1376 |
% \end{macro}\begin{macro}{\thesis@blocks@bibliography} |
| 1377 |
% When |\ifthesis@bibliography@loaded@| is true and |
| 1378 |
% |\ifthesis@bibliography@included@| false, then the |
| 1379 |
% |\thesis@blocks@bibliography| macro typesets a bibliography via |
| 1380 |
% the Bib\LaTeX\ package. Otherwise, this macro produces no output. |
| 1381 |
% \begin{macrocode} |
| 1382 |
\def\thesis@blocks@bibliography{% |
| 1383 |
\ifthesis@bibliography@loaded@ |
| 1384 |
\ifthesis@bibliography@included@\else |
| 1385 |
\thesis@blocks@clear |
| 1386 |
{\emergencystretch=3em% |
| 1387 |
\printbibliography[heading=bibintoc]}% |
| 1388 |
\fi |
| 1389 |
\fi} |
| 1390 |
% \end{macrocode} |
| 1391 |
% \end{macro} |
| 1392 |
% The rest of the file comprises redefinitions of \LaTeX\ commands |
| 1393 |
% and private \texttt{rapport3} class macros altering the layout of |
| 1394 |
% the resulting document. Depending on the type size of 10, 11 or |
| 1395 |
% 12 points, either the \texttt{fithesis-mu-10.clo}, |
| 1396 |
% \texttt{fithesis-mu-11.clo} or \texttt{fithesis-mu-12.clo} file is |
| 1397 |
% loaded from the |\thesis@stylepath| |mu| directory, respectively. |
| 1398 |
% \begin{macrocode} |
| 1399 |
% Table of contents will contain sectioning commands up to |
| 1400 |
% \subsection. |
| 1401 |
\setcounter{tocdepth}{2} |
| 1402 |
|
| 1403 |
% Sections up to \subsection will be numbered. |
| 1404 |
\setcounter{secnumdepth}{2} |
| 1405 |
|
| 1406 |
% \end{macrocode} |
| 1407 |
% \changes{v1.0.0}{2021/02/21}{Files were renamed after |
| 1408 |
% breaking changes in package loading after PR 438 in \LaTeXe. [VN]} |
| 1409 |
% \begin{macrocode} |
| 1410 |
% Load the `fithesis-mu-1*.clo` size option. |
| 1411 |
\input\thesis@stylepath mu/fithesis-mu-1\[email protected]\relax |
| 1412 |
|
| 1413 |
% Define the running heading style. |
| 1414 |
\def\ps@thesisheadings{% |
| 1415 |
\def\chaptermark##1{% |
| 1416 |
\markright{% |
| 1417 |
\ifnum\c@secnumdepth >\m@ne |
| 1418 |
\thechapter.\ % |
| 1419 |
\fi ##1}} |
| 1420 |
\let\@oddfoot\@empty |
| 1421 |
\let\@oddhead\@empty |
| 1422 |
\def\@oddhead{% |
| 1423 |
\vbox{% |
| 1424 |
\hbox to \textwidth{% |
| 1425 |
\hfil{\sc\rightmark}}% |
| 1426 |
\vskip 4pt\hrule}} |
| 1427 |
\if@twoside |
| 1428 |
\def\@evenhead{% |
| 1429 |
\vbox{% |
| 1430 |
\hbox to \textwidth{% |
| 1431 |
{\sc\rightmark}% |
| 1432 |
\hfil} |
| 1433 |
\vskip 4pt\hrule}} |
| 1434 |
\else |
| 1435 |
\let\@evenhead\@oddhead |
| 1436 |
\fi |
| 1437 |
\def\@oddfoot{\hfil\PageFont\thepage} |
| 1438 |
\if@twoside |
| 1439 |
\def\@evenfoot{\PageFont\thepage\hfil}% |
| 1440 |
\else |
| 1441 |
\let\@evenfoot\@oddfoot |
| 1442 |
\fi |
| 1443 |
\let\@mkboth\markboth} |
| 1444 |
% \end{macrocode} |
| 1445 |
% \changes{v1.0.0}{2021/05/23}{Redefine all predefined page styles of the |
| 1446 |
% backend class, so that they can't be accidentally activated. [VN]} |
| 1447 |
% \begin{macrocode} |
| 1448 |
\let\ps@headings\ps@thesisheadings |
| 1449 |
\let\ps@myheadings\ps@thesisheadings |
| 1450 |
|
| 1451 |
% Redefine the style of the chapter headings. |
| 1452 |
\renewcommand*\chapter{% |
| 1453 |
\thesis@blocks@clear |
| 1454 |
\thispagestyle{plain}% |
| 1455 |
\global\@topnum\z@ |
| 1456 |
\@afterindentfalse |
| 1457 |
\secdef\@chapter\@schapter} |
| 1458 |
|
| 1459 |
% Redefine the style of part headings. |
| 1460 |
\renewcommand*\part{% |
| 1461 |
\thesis@blocks@clear |
| 1462 |
\if@twocolumn |
| 1463 |
\onecolumn |
| 1464 |
\@tempswatrue |
| 1465 |
\else |
| 1466 |
\@tempswafalse |
| 1467 |
\fi |
| 1468 |
\hbox{}\vfil |
| 1469 |
\secdef\@part\@spart} |
| 1470 |
|
| 1471 |
% A macro for temporary multicol -> singlecol switching. |
| 1472 |
\newif\if@restonecol |
| 1473 |
\def\alwayssingle{% |
| 1474 |
\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\fi} |
| 1475 |
\def\endalwayssingle{\if@restonecol\twocolumn\fi} |
| 1476 |
|
| 1477 |
% Disable uppercasing in PDF strings. |
| 1478 |
\pdfstringdefDisableCommands{% |
| 1479 |
\let\MakeUppercase\relax} |
| 1480 |
|
| 1481 |
% Set up the ToC entries appearance. |
| 1482 |
\renewcommand*\toc@font[1]{% |
| 1483 |
\ifcase #1\relax |
| 1484 |
\bfseries % \chapter (0) |
| 1485 |
\or |
| 1486 |
\slshape % \section (1) |
| 1487 |
\else |
| 1488 |
\rmfamily % \subsection (2), \subsubsection (3) |
| 1489 |
% \paragraph, \subparagraph (4) |
| 1490 |
\fi} |
| 1491 |
|
| 1492 |
% Set up the table of contents entries for sectioning commands. |
| 1493 |
\renewcommand*\l@part[2]{% |
| 1494 |
\ifnum \c@tocdepth >-2\relax |
| 1495 |
\addpenalty{-\@highpenalty}% |
| 1496 |
\ifnum \c@tocdepth >0\relax |
| 1497 |
\addvspace{2.25em \@plus\p@}% |
| 1498 |
\else |
| 1499 |
\addvspace{1.0em \@plus\p@}% |
| 1500 |
\fi |
| 1501 |
\begingroup |
| 1502 |
\setlength\@tempdima{3em}% |
| 1503 |
\parindent \z@ \rightskip \@pnumwidth |
| 1504 |
\parfillskip -\@pnumwidth |
| 1505 |
{\leavevmode |
| 1506 |
\normalfont \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par |
| 1507 |
\nobreak |
| 1508 |
\global\@nobreaktrue |
| 1509 |
\everypar{\global\@nobreakfalse\everypar{}}% |
| 1510 |
\endgroup |
| 1511 |
\fi} |
| 1512 |
|
| 1513 |
\renewcommand*\l@chapter[2]{% |
| 1514 |
\ifnum \c@tocdepth >0\relax |
| 1515 |
\addpenalty{-\@highpenalty}% |
| 1516 |
\addvspace{1.0em \@plus\p@}% |
| 1517 |
\setlength\@tempdima{1.5em}% |
| 1518 |
\begingroup |
| 1519 |
\parindent \z@ \rightskip \@pnumwidth |
| 1520 |
\parfillskip -\@pnumwidth |
| 1521 |
\leavevmode \bfseries |
| 1522 |
\advance\leftskip\@tempdima |
| 1523 |
\hskip -\leftskip |
| 1524 |
#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par |
| 1525 |
\penalty\@highpenalty |
| 1526 |
\endgroup |
| 1527 |
\else |
| 1528 |
\@dottedtocline{0}{0em}{1.5em}{#1}{#2} |
| 1529 |
\fi} |
| 1530 |
|
| 1531 |
\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} |
| 1532 |
\renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} |
| 1533 |
\renewcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} |
| 1534 |
\renewcommand*\l@paragraph{\@dottedtocline{4}{10.0em}{5.0em}} |
| 1535 |
\renewcommand*\l@subparagraph{\@dottedtocline{4}{12.0em}{6.0em}} |
| 1536 |
% \end{macrocode} |
| 1537 |
% \changes{v1.0.0}{2021/03/04}{Styles for list of figures |
| 1538 |
% and list of tables were redefined to achieve |
| 1539 |
% unified look with toc. [TV]} |
| 1540 |
% \begin{macrocode} |
| 1541 |
\renewcommand*\l@figure{\@dottedtocline{1}{0.5em}{2.3em}} |
| 1542 |
\renewcommand*\l@table{\@dottedtocline{1}{0.5em}{2.3em}} |
| 1543 |
% \end{macrocode} |
| 1544 |
% \iffalse |
| 1545 |
%</base> |
| 1546 |
% \fi\file{style/mu/fithesis-10.clo} |
| 1547 |
% \changes{v1.0.0}{2021/02/21}{Files were renamed after |
| 1548 |
% breaking changes in package loading after PR 438 in \LaTeXe. [VN]} |
| 1549 |
% This file is conditionally loaded by the |
| 1550 |
% \texttt{style/mu/base.sty} file to redefine the page geometry to |
| 1551 |
% match the type size of 10 points. |
| 1552 |
% \begin{macrocode} |
| 1553 |
%<*opt> |
| 1554 |
%<*10pt> |
| 1555 |
\ProvidesFile{fithesis/style/mu/fithesis-mu-10.clo}[2021/02/21] |
| 1556 |
|
| 1557 |
\renewcommand{\normalsize}{\fontsize\@xpt{12}\selectfont |
| 1558 |
\abovedisplayskip 10\p@ plus2\p@ minus5\p@ |
| 1559 |
\belowdisplayskip \abovedisplayskip |
| 1560 |
\abovedisplayshortskip \z@ plus3\p@ |
| 1561 |
\belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ |
| 1562 |
\let\@listi\@listI} |
| 1563 |
|
| 1564 |
\renewcommand{\small}{\fontsize\@ixpt{11}\selectfont |
| 1565 |
\abovedisplayskip 8.5\p@ plus3\p@ minus4\p@ |
| 1566 |
\belowdisplayskip \abovedisplayskip |
| 1567 |
\abovedisplayshortskip \z@ plus2\p@ |
| 1568 |
\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@ |
| 1569 |
\def\@listi{\leftmargin\leftmargini |
| 1570 |
\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@ |
| 1571 |
\itemsep \parsep}} |
| 1572 |
|
| 1573 |
\renewcommand{\footnotesize}{\fontsize\@viiipt{9.5}\selectfont |
| 1574 |
\abovedisplayskip 6\p@ plus2\p@ minus4\p@ |
| 1575 |
\belowdisplayskip \abovedisplayskip |
| 1576 |
\abovedisplayshortskip \z@ plus\p@ |
| 1577 |
\belowdisplayshortskip 3\p@ plus\p@ minus2\p@ |
| 1578 |
\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 |
| 1579 |
\topsep 3\p@ plus\p@ minus\p@\parsep 2\p@ plus\p@ minus\p@ |
| 1580 |
\itemsep \parsep}} |
| 1581 |
|
| 1582 |
\renewcommand{\scriptsize}{\fontsize\@viipt{8pt}\selectfont} |
| 1583 |
\renewcommand{\tiny}{\fontsize\@vpt{6pt}\selectfont} |
| 1584 |
\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont} |
| 1585 |
\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont} |
| 1586 |
\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont} |
| 1587 |
\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont} |
| 1588 |
\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont} |
| 1589 |
|
| 1590 |
%</10pt> |
| 1591 |
% \end{macrocode} |
| 1592 |
% \file{style/mu/fithesis-11.clo} |
| 1593 |
% \changes{v1.0.0}{2021/02/21}{Files were renamed after |
| 1594 |
% breaking changes in package loading after PR 438 in \LaTeXe. [VN]} |
| 1595 |
% This file is conditionally loaded by the |
| 1596 |
% \texttt{style/mu/base.sty} file to redefine the page geometry to |
| 1597 |
% match the type size of 11 points. |
| 1598 |
% \begin{macrocode} |
| 1599 |
%<*11pt> |
| 1600 |
\ProvidesFile{fithesis/style/mu/fithesis-mu-11.clo}[2021/02/21] |
| 1601 |
|
| 1602 |
\renewcommand{\normalsize}{\fontsize\@xipt{14}\selectfont |
| 1603 |
\abovedisplayskip 11\p@ plus3\p@ minus6\p@ |
| 1604 |
\belowdisplayskip \abovedisplayskip |
| 1605 |
\belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@ |
| 1606 |
% \abovedisplayshortskip \z@ plus3\@p |
| 1607 |
\let\@listi\@listI} |
| 1608 |
|
| 1609 |
\renewcommand{\small}{\fontsize\@xpt{12}\selectfont |
| 1610 |
\abovedisplayskip 10\p@ plus2\p@ minus5\p@ |
| 1611 |
\belowdisplayskip \abovedisplayskip |
| 1612 |
\abovedisplayshortskip \z@ plus3\p@ |
| 1613 |
\belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ |
| 1614 |
\def\@listi{\leftmargin\leftmargini |
| 1615 |
\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@ |
| 1616 |
\itemsep \parsep}} |
| 1617 |
|
| 1618 |
\renewcommand{\footnotesize}{\fontsize\@ixpt{11}\selectfont |
| 1619 |
\abovedisplayskip 8\p@ plus2\p@ minus4\p@ |
| 1620 |
\belowdisplayskip \abovedisplayskip |
| 1621 |
\abovedisplayshortskip \z@ plus\p@ |
| 1622 |
\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@ |
| 1623 |
\def\@listi{\leftmargin\leftmargini |
| 1624 |
\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@ |
| 1625 |
\itemsep \parsep}} |
| 1626 |
|
| 1627 |
\renewcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont} |
| 1628 |
\renewcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont} |
| 1629 |
\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont} |
| 1630 |
\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont} |
| 1631 |
\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont} |
| 1632 |
\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont} |
| 1633 |
\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont} |
| 1634 |
|
| 1635 |
%</11pt> |
| 1636 |
% \end{macrocode} |
| 1637 |
% \file{style/mu/fithesis-12.clo} |
| 1638 |
% \changes{v1.0.0}{2021/02/21}{Files were renamed after |
| 1639 |
% breaking changes in package loading after PR 438 in \LaTeXe. [VN]} |
| 1640 |
% This file is conditionally loaded by the |
| 1641 |
% \texttt{style/mu/base.sty} file to redefine the page geometry to |
| 1642 |
% match the type size of 12 points. The type dimensions defined by |
| 1643 |
% the file are stored in the following macros as well: |
| 1644 |
% \begin{itemize} |
| 1645 |
% \item\DescribeMacro{\thesis@titlePage@normalsize}% |
| 1646 |
% |\thesis@titlePage@normalsize| -- Equivalent to |\normalsize| |
| 1647 |
% \item\DescribeMacro{\thesis@titlePage@small}% |
| 1648 |
% |\thesis@titlePage@small| -- Equivalent to |\small| |
| 1649 |
% \item\DescribeMacro{\thesis@titlePage@footnotesize}% |
| 1650 |
% |\thesis@titlePage@footnotesize| -- Equivalent to |
| 1651 |
% |\footnotesize| |
| 1652 |
% \item\DescribeMacro{\thesis@titlePage@scriptsize}% |
| 1653 |
% |\thesis@titlePage@scriptsize| -- Equivalent to |\scriptsize| |
| 1654 |
% \item\DescribeMacro{\thesis@titlePage@tiny}% |
| 1655 |
% |\thesis@titlePage@tiny| -- Equivalent to |\tiny| |
| 1656 |
% \item\DescribeMacro{\thesis@titlePage@large}% |
| 1657 |
% |\thesis@titlePage@large| -- Equivalent to |\large| |
| 1658 |
% \item\DescribeMacro{\thesis@titlePage@Large}% |
| 1659 |
% |\thesis@titlePage@Large| -- Equivalent to |\Large| |
| 1660 |
% \item\DescribeMacro{\thesis@titlePage@LARGE}% |
| 1661 |
% |\thesis@titlePage@LARGE| -- Equivalent to |\LARGE| |
| 1662 |
% \item\DescribeMacro{\thesis@titlePage@huge}% |
| 1663 |
% |\thesis@titlePage@huge| -- Equivalent to |\huge| |
| 1664 |
% \item\DescribeMacro{\thesis@titlePage@Huge}% |
| 1665 |
% |\thesis@titlePage@Huge| -- Equivalent to |\Huge| |
| 1666 |
% \end{itemize} |
| 1667 |
% These macros can be used to typeset elements whose size |
| 1668 |
% should remain constant regardless of the font size setting. |
| 1669 |
% \begin{macrocode} |
| 1670 |
%<*12pt> |
| 1671 |
\ProvidesFile{fithesis/style/mu/fithesis-mu-12.clo}[2021/02/21] |
| 1672 |
%</12pt> |
| 1673 |
|
| 1674 |
\def\thesis@titlePage@normalsize{\fontsize\@xiipt{14.5}% |
| 1675 |
\selectfont\abovedisplayskip 12\p@ plus3\p@ minus7\p@ |
| 1676 |
\belowdisplayskip \abovedisplayskip |
| 1677 |
\abovedisplayshortskip \z@ plus3\p@ |
| 1678 |
\belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@ |
| 1679 |
\let\@listi\@listI} |
| 1680 |
|
| 1681 |
\def\thesis@titlePage@small{\fontsize\@xipt{13.6}\selectfont |
| 1682 |
\abovedisplayskip 11\p@ plus3\p@ minus6\p@ |
| 1683 |
\belowdisplayskip \abovedisplayskip |
| 1684 |
\abovedisplayshortskip \z@ plus3\p@ |
| 1685 |
\belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@ |
| 1686 |
\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 |
| 1687 |
\parsep 4.5\p@ plus2\p@ minus\p@ |
| 1688 |
\itemsep \parsep |
| 1689 |
\topsep 9\p@ plus3\p@ minus5\p@}} |
| 1690 |
|
| 1691 |
\def\thesis@titlePage@footnotesize{\fontsize\@xpt{12}\selectfont |
| 1692 |
\abovedisplayskip 10\p@ plus2\p@ minus5\p@ |
| 1693 |
\belowdisplayskip \abovedisplayskip |
| 1694 |
\abovedisplayshortskip \z@ plus3\p@ |
| 1695 |
\belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ |
| 1696 |
\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 |
| 1697 |
\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@ |
| 1698 |
\itemsep \parsep}} |
| 1699 |
|
| 1700 |
\def\thesis@titlePage@scriptsize{\fontsize\@viiipt{9.5pt}\selectfont} |
| 1701 |
\def\thesis@titlePage@tiny{\fontsize\@vipt{7pt}\selectfont} |
| 1702 |
\def\thesis@titlePage@large{\fontsize\@xivpt{18pt}\selectfont} |
| 1703 |
\def\thesis@titlePage@Large{\fontsize\@xviipt{22pt}\selectfont} |
| 1704 |
\def\thesis@titlePage@LARGE{\fontsize\@xxpt{25pt}\selectfont} |
| 1705 |
\def\thesis@titlePage@huge{\fontsize\@xxvpt{30pt}\selectfont} |
| 1706 |
\def\thesis@titlePage@Huge{\fontsize\@xxvpt{30pt}\selectfont} |
| 1707 |
|
| 1708 |
%<*12pt> |
| 1709 |
\renewcommand{\normalsize}{\thesis@titlePage@normalsize} |
| 1710 |
\renewcommand{\small}{\thesis@titlePage@small} |
| 1711 |
\renewcommand{\footnotesize}{\thesis@titlePage@footnotesize} |
| 1712 |
\renewcommand{\scriptsize}{\thesis@titlePage@scriptsize} |
| 1713 |
\renewcommand{\tiny}{\thesis@titlePage@tiny} |
| 1714 |
\renewcommand{\large}{\thesis@titlePage@large} |
| 1715 |
\renewcommand{\Large}{\thesis@titlePage@Large} |
| 1716 |
\renewcommand{\LARGE}{\thesis@titlePage@LARGE} |
| 1717 |
\renewcommand{\huge}{\thesis@titlePage@huge} |
| 1718 |
\renewcommand{\Huge}{\thesis@titlePage@Huge} |
| 1719 |
%</12pt> |
| 1720 |
\let\@normalsize\normalsize |
| 1721 |
\normalsize |
| 1722 |
|
| 1723 |
\if@twoside |
| 1724 |
\oddsidemargin 0.75in |
| 1725 |
\evensidemargin 0.4in |
| 1726 |
\else |
| 1727 |
\oddsidemargin 0.75in |
| 1728 |
\evensidemargin 0.75in |
| 1729 |
\fi |
| 1730 |
% \end{macrocode} |
| 1731 |
% \changes{v1.1.0}{2022/04/19}{Add space for margin notes. [VN]} |
| 1732 |
% \begin{macrocode} |
| 1733 |
\marginparwidth 2.75cm |
| 1734 |
\marginparsep 10pt |
| 1735 |
|
| 1736 |
\topmargin 0.4in |
| 1737 |
|
| 1738 |
\headheight 20pt |
| 1739 |
\headsep 10pt |
| 1740 |
\topskip 10pt |
| 1741 |
\footskip 30pt |
| 1742 |
|
| 1743 |
%<*10pt> |
| 1744 |
\textheight = 43\baselineskip |
| 1745 |
\advance\textheight by \topskip |
| 1746 |
\textwidth 5.0truein |
| 1747 |
\columnsep 10pt |
| 1748 |
\columnseprule 0pt |
| 1749 |
|
| 1750 |
\footnotesep 6.65pt |
| 1751 |
\skip\footins 9pt plus 4pt minus 2pt |
| 1752 |
\floatsep 12pt plus 2pt minus 2pt |
| 1753 |
\textfloatsep 20pt plus 2pt minus 4pt |
| 1754 |
\intextsep 12pt plus 2pt minus 2pt |
| 1755 |
\dblfloatsep 12pt plus 2pt minus 2pt |
| 1756 |
\dbltextfloatsep 20pt plus 2pt minus 4pt |
| 1757 |
|
| 1758 |
\@fptop 0pt plus 1fil |
| 1759 |
\@fpsep 8pt plus 2fil |
| 1760 |
\@fpbot 0pt plus 1fil |
| 1761 |
\@dblfptop 0pt plus 1fil |
| 1762 |
\@dblfpsep 8pt plus 2fil |
| 1763 |
\@dblfpbot 0pt plus 1fil |
| 1764 |
\marginparpush 5pt |
| 1765 |
|
| 1766 |
\parskip 0pt plus 1pt |
| 1767 |
\partopsep 2pt plus 1pt minus 1pt |
| 1768 |
|
| 1769 |
%</10pt> |
| 1770 |
% |
| 1771 |
%<*11pt> |
| 1772 |
\textheight = 39\baselineskip |
| 1773 |
\advance\textheight by \topskip |
| 1774 |
\textwidth 5.0truein |
| 1775 |
\columnsep 10pt |
| 1776 |
\columnseprule 0pt |
| 1777 |
|
| 1778 |
\footnotesep 7.7pt |
| 1779 |
\skip\footins 10pt plus 4pt minus 2pt |
| 1780 |
\floatsep 12pt plus 2pt minus 2pt |
| 1781 |
\textfloatsep 20pt plus 2pt minus 4pt |
| 1782 |
\intextsep 12pt plus 2pt minus 2pt |
| 1783 |
\dblfloatsep 12pt plus 2pt minus 2pt |
| 1784 |
\dbltextfloatsep 20pt plus 2pt minus 4pt |
| 1785 |
|
| 1786 |
\@fptop 0pt plus 1fil |
| 1787 |
\@fpsep 8pt plus 2fil |
| 1788 |
\@fpbot 0pt plus 1fil |
| 1789 |
\@dblfptop 0pt plus 1fil |
| 1790 |
\@dblfpsep 8pt plus 2fil |
| 1791 |
\@dblfpbot 0pt plus 1fil |
| 1792 |
\marginparpush 5pt |
| 1793 |
|
| 1794 |
\parskip 0pt plus 0pt |
| 1795 |
\partopsep 3pt plus 1pt minus 2pt |
| 1796 |
|
| 1797 |
%</11pt> |
| 1798 |
% |
| 1799 |
%<*12pt> |
| 1800 |
\textheight = 37\baselineskip |
| 1801 |
\advance\textheight by \topskip |
| 1802 |
\textwidth 5.0truein |
| 1803 |
\columnsep 10pt |
| 1804 |
\columnseprule 0pt |
| 1805 |
|
| 1806 |
\footnotesep 8.4pt |
| 1807 |
\skip\footins 10.8pt plus 4pt minus 2pt |
| 1808 |
\floatsep 14pt plus 2pt minus 4pt |
| 1809 |
\textfloatsep 20pt plus 2pt minus 4pt |
| 1810 |
\intextsep 14pt plus 4pt minus 4pt |
| 1811 |
\dblfloatsep 14pt plus 2pt minus 4pt |
| 1812 |
\dbltextfloatsep 20pt plus 2pt minus 4pt |
| 1813 |
|
| 1814 |
\@fptop 0pt plus 1fil |
| 1815 |
\@fpsep 10pt plus 2fil |
| 1816 |
\@fpbot 0pt plus 1fil |
| 1817 |
\@dblfptop 0pt plus 1fil |
| 1818 |
\@dblfpsep 10pt plus 2fil |
| 1819 |
\@dblfpbot 0pt plus 1fil |
| 1820 |
\marginparpush 7pt |
| 1821 |
|
| 1822 |
\parskip 0pt plus 0pt |
| 1823 |
\partopsep 3pt plus 2pt minus 2pt |
| 1824 |
|
| 1825 |
%</12pt> |
| 1826 |
\@lowpenalty 51 |
| 1827 |
\@medpenalty 151 |
| 1828 |
\@highpenalty 301 |
| 1829 |
\@beginparpenalty -\@lowpenalty |
| 1830 |
\@endparpenalty -\@lowpenalty |
| 1831 |
\@itempenalty -\@lowpenalty |
| 1832 |
|
| 1833 |
\def\@makechapterhead#1{{% |
| 1834 |
\setlength\parindent{\z@}% |
| 1835 |
\setlength\parskip {\z@}% |
| 1836 |
\Large \ChapFont |
| 1837 |
\ifnum |
| 1838 |
\c@secnumdepth >\m@ne |
| 1839 |
\par\nobreak |
| 1840 |
\vskip 10\p@ |
| 1841 |
\thechapter{} \space |
| 1842 |
\fi #1\par |
| 1843 |
\nobreak |
| 1844 |
\vskip 20\p@}} |
| 1845 |
|
| 1846 |
\def\@makeschapterhead#1{{% |
| 1847 |
\setlength\parindent{\z@}% |
| 1848 |
\setlength\parskip {\z@}% |
| 1849 |
\Large \ChapFont #1\par |
| 1850 |
\nobreak |
| 1851 |
\vskip 20\p@}} |
| 1852 |
|
| 1853 |
\def\chapter{% |
| 1854 |
\clearpage |
| 1855 |
\thispagestyle{plain} |
| 1856 |
\global\@topnum\z@ |
| 1857 |
\@afterindentfalse |
| 1858 |
\secdef\@chapter\@schapter} |
| 1859 |
|
| 1860 |
\def\@chapter[#1]#2{% |
| 1861 |
\ifnum \c@secnumdepth |
| 1862 |
>\m@ne |
| 1863 |
\refstepcounter{chapter}% |
| 1864 |
\typeout{\@chapapp\space\thechapter.}% |
| 1865 |
\addcontentsline{toc}{chapter}{\protect |
| 1866 |
\numberline{\thechapter}\bfseries #1} |
| 1867 |
\else |
| 1868 |
\addcontentsline{toc}{chapter}{\bfseries #1} |
| 1869 |
\fi |
| 1870 |
\chaptermark{#1}% |
| 1871 |
\addtocontents{lof}% |
| 1872 |
{\protect\addvspace{4\p@}} |
| 1873 |
\addtocontents{lot}% |
| 1874 |
{\protect\addvspace{4\p@}} |
| 1875 |
\if@twocolumn |
| 1876 |
\@topnewpage[\@makechapterhead{#2}]% |
| 1877 |
\else |
| 1878 |
\@makechapterhead{#2}% |
| 1879 |
\@afterheading |
| 1880 |
\fi |
| 1881 |
} |
| 1882 |
|
| 1883 |
\def\section{\@startsection{section}{1}{\z@}{% |
| 1884 |
-3.5ex plus-1ex minus-.2ex}{2.3ex plus.2ex}{% |
| 1885 |
\reset@font\large\bfseries}} |
| 1886 |
\def\subsection{\@startsection{subsection}{2}{\z@}{% |
| 1887 |
-3.25ex plus-1ex minus-.2ex}{1.5ex plus.2ex}{% |
| 1888 |
\reset@font\normalsize\bfseries}} |
| 1889 |
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{% |
| 1890 |
-3.25ex plus-1ex minus-.2ex}{1.5ex plus.2ex}{% |
| 1891 |
\reset@font\normalsize\bfseries}} |
| 1892 |
\def\paragraph{\@startsection{paragraph}{4}{\z@}{% |
| 1893 |
3.25ex plus1ex minus.2ex}{-1em}{% |
| 1894 |
\reset@font\normalsize\bfseries}} |
| 1895 |
\def\subparagraph{\@startsection{subparagraph}{4}{\parindent}{% |
| 1896 |
3.25ex plus1ex minus.2ex}{-1em}{% |
| 1897 |
\reset@font\normalsize\bfseries}} |
| 1898 |
|
| 1899 |
\leftmargini 2.5em |
| 1900 |
\leftmarginii 2.2em % > \labelsep + width of '(m)' |
| 1901 |
\leftmarginiii 1.87em % > \labelsep + width of 'vii.' |
| 1902 |
\leftmarginiv 1.7em % > \labelsep + width of 'M.' |
| 1903 |
\leftmarginv 1em |
| 1904 |
\leftmarginvi 1em |
| 1905 |
|
| 1906 |
\leftmargin\leftmargini |
| 1907 |
\labelsep .5em |
| 1908 |
\labelwidth\leftmargini\advance\labelwidth-\labelsep |
| 1909 |
|
| 1910 |
%<*10pt> |
| 1911 |
\def\@listI{\leftmargin\leftmargini \parsep 4\p@ plus2\p@ minus\p@ |
| 1912 |
\topsep 8\p@ plus2\p@ minus4\p@ |
| 1913 |
\itemsep 4\p@ plus2\p@ minus\p@} |
| 1914 |
|
| 1915 |
\let\@listi\@listI |
| 1916 |
\@listi |
| 1917 |
|
| 1918 |
\def\@listii{\leftmargin\leftmarginii |
| 1919 |
\labelwidth\leftmarginii\advance\labelwidth-\labelsep |
| 1920 |
\topsep 4\p@ plus2\p@ minus\p@ |
| 1921 |
\parsep 2\p@ plus\p@ minus\p@ |
| 1922 |
\itemsep \parsep} |
| 1923 |
|
| 1924 |
\def\@listiii{\leftmargin\leftmarginiii |
| 1925 |
\labelwidth\leftmarginiii\advance\labelwidth-\labelsep |
| 1926 |
\topsep 2\p@ plus\p@ minus\p@ |
| 1927 |
\parsep \z@ \partopsep\p@ plus\z@ minus\p@ |
| 1928 |
\itemsep \topsep} |
| 1929 |
|
| 1930 |
\def\@listiv{\leftmargin\leftmarginiv |
| 1931 |
\labelwidth\leftmarginiv\advance\labelwidth-\labelsep} |
| 1932 |
|
| 1933 |
\def\@listv{\leftmargin\leftmarginv |
| 1934 |
\labelwidth\leftmarginv\advance\labelwidth-\labelsep} |
| 1935 |
|
| 1936 |
\def\@listvi{\leftmargin\leftmarginvi |
| 1937 |
\labelwidth\leftmarginvi\advance\labelwidth-\labelsep} |
| 1938 |
%</10pt> |
| 1939 |
% |
| 1940 |
%<*11pt> |
| 1941 |
\def\@listI{\leftmargin\leftmargini \parsep 4.5\p@ plus2\p@ minus\p@ |
| 1942 |
\topsep 9\p@ plus3\p@ minus5\p@ |
| 1943 |
\itemsep 4.5\p@ plus2\p@ minus\p@} |
| 1944 |
|
| 1945 |
\let\@listi\@listI |
| 1946 |
\@listi |
| 1947 |
|
| 1948 |
\def\@listii{\leftmargin\leftmarginii |
| 1949 |
\labelwidth\leftmarginii\advance\labelwidth-\labelsep |
| 1950 |
\topsep 4.5\p@ plus2\p@ minus\p@ |
| 1951 |
\parsep 2\p@ plus\p@ minus\p@ |
| 1952 |
\itemsep \parsep} |
| 1953 |
|
| 1954 |
\def\@listiii{\leftmargin\leftmarginiii |
| 1955 |
\labelwidth\leftmarginiii\advance\labelwidth-\labelsep |
| 1956 |
\topsep 2\p@ plus\p@ minus\p@ |
| 1957 |
\parsep \z@ \partopsep \p@ plus\z@ minus\p@ |
| 1958 |
\itemsep \topsep} |
| 1959 |
|
| 1960 |
\def\@listiv{\leftmargin\leftmarginiv |
| 1961 |
\labelwidth\leftmarginiv\advance\labelwidth-\labelsep} |
| 1962 |
|
| 1963 |
\def\@listv{\leftmargin\leftmarginv |
| 1964 |
\labelwidth\leftmarginv\advance\labelwidth-\labelsep} |
| 1965 |
|
| 1966 |
\def\@listvi{\leftmargin\leftmarginvi |
| 1967 |
\labelwidth\leftmarginvi\advance\labelwidth-\labelsep} |
| 1968 |
%</11pt> |
| 1969 |
% |
| 1970 |
%<*12pt> |
| 1971 |
\def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@ |
| 1972 |
\topsep 10\p@ plus4\p@ minus6\p@ |
| 1973 |
\itemsep 5\p@ plus2.5\p@ minus\p@} |
| 1974 |
|
| 1975 |
\let\@listi\@listI |
| 1976 |
\@listi |
| 1977 |
|
| 1978 |
\def\@listii{\leftmargin\leftmarginii |
| 1979 |
\labelwidth\leftmarginii\advance\labelwidth-\labelsep |
| 1980 |
\topsep 5\p@ plus2.5\p@ minus\p@ |
| 1981 |
\parsep 2.5\p@ plus\p@ minus\p@ |
| 1982 |
\itemsep \parsep} |
| 1983 |
|
| 1984 |
\def\@listiii{\leftmargin\leftmarginiii |
| 1985 |
\labelwidth\leftmarginiii\advance\labelwidth-\labelsep |
| 1986 |
\topsep 2.5\p@ plus\p@ minus\p@ |
| 1987 |
\parsep \z@ \partopsep \p@ plus\z@ minus\p@ |
| 1988 |
\itemsep \topsep} |
| 1989 |
|
| 1990 |
\def\@listiv{\leftmargin\leftmarginiv |
| 1991 |
\labelwidth\leftmarginiv\advance\labelwidth-\labelsep} |
| 1992 |
|
| 1993 |
\def\@listv{\leftmargin\leftmarginv |
| 1994 |
\labelwidth\leftmarginv\advance\labelwidth-\labelsep} |
| 1995 |
|
| 1996 |
\def\@listvi{\leftmargin\leftmarginvi |
| 1997 |
\labelwidth\leftmarginvi\advance\labelwidth-\labelsep} |
| 1998 |
%</12pt> |
| 1999 |
%</opt> |
| 2000 |
% \end{macrocode} |