Debian Codegraph @

texmf-dist/source/latex/fithesis/style/mu/fi.dtx

raw
1 % \file{style/mu/fithesis-fi.sty}
2 % \changes{v1.0.0}{2021/02/21}{Files were renamed after
3 % breaking changes in package loading after PR 438 in \LaTeXe. [VN]}
4 % \changes{v1.0.0}{2021/03/19}{Updated urls to show the most recent
5 % requirements and recommendations used in preparation of the
6 % template. [TV]}
7 % This is the style file for the theses written at the Faculty of
8 % Informatics at the Masaryk University in Brno. It has been
9 % prepared in accordance with the faculty directive
10 % \footnote{See \url{https://is.muni.cz/auth/do/fi/^^A
11 % uredni_deska/predpisy/smernice/Smernice_dekana_1_2021^^A
12 % _zaverecne_prace.pdf}}.
13 % \begin{macrocode}
14 \NeedsTeXFormat{LaTeX2e}
15 \ProvidesPackage{fithesis/style/mu/fithesis-mu-fi}[2021/04/24]
16 % \end{macrocode}
17 % The file defines the color scheme of the respective faculty. Note
18 % the the color definitions are in RGB, which makes the resulting
19 % files generally unsuitable for printing.
20 % \begin{macrocode}
21 \thesis@color@setup{
22 links={HTML}{FFD451},
23 tableEmph={HTML}{FFD451},
24 tableOdd={HTML}{FFF9E5},
25 tableEven={HTML}{FFECB3}}
26 % \end{macrocode}
27 % The bibliography support is enabled. The |iso-numeric| citations are
28 % used and the bibliography is sorted in citation order.
29 % \begin{macrocode}
30 \thesis@bibliography@setup{
31 style=iso-numeric,
32 sorting=none}
33 \thesis@bibliography@load
34 % \end{macrocode}
35 % In case of rigorous and doctoral theses, the style file hides the
36 % thesis assignment in accordance with the formal requirements of
37 % the faculty.
38 % \begin{macrocode}
39 \ifx\thesis@type\thesis@rigorous
40 \thesis@blocks@assignment@false
41 \else\ifx\thesis@type\thesis@doctoral
42 \thesis@blocks@assignment@false
43 \fi\fi
44 % \end{macrocode}
45 % \changes{v1.0.0}{2021/02/26}{^^A
46 % The \cs{thesis@blocks@advisorSignature} macro is now defined
47 % for styles of all faculties at the Masaryk University in Brno,
48 % not just for the Faculty of Informatics, and is automatically
49 % used in the \cs{thesis@blocks@titlePage} macro for rigorous
50 % theses and PhD thesis proposals. [VN]}
51 % \changes{v1.0.0}{2021/02/26}{Lifted the \texttt{advisorSignature}
52 % string to the global locale file interface. [VN]}
53 % \begin{macro}{\thesis@blocks@declaration}
54 % The |\thesis@blocks@declaration| macro typesets the
55 % declaration text. Compared to the definition within the
56 % \texttt{style/mu/base.sty} file, this macro also
57 % typesets the advisor's name at the bottom of the page.
58 % \begin{macrocode}
59 \def\thesis@blocks@declaration{%
60 \thesis@blocks@clear
61 \begin{alwayssingle}%
62 \chapter*{\thesis@@{declarationTitle}}%
63 \thesis@declaration
64 \vskip 2cm%
65 \hfill\thesis@author
66 \par\vfill\noindent
67 \textbf{\thesis@@{advisorTitle}:} \thesis@advisor
68 \par\vfil
69 \end{alwayssingle}}
70 % \end{macrocode}
71 % \end{macro}
72 % \changes{v1.0.0}{2021/05/06}{Added redefinition of conditionals
73 % to exclude the study field and the study programme from the
74 % title page. [TV]}
75 % \begin{macrocode}
76 \thesis@blocks@titlePage@field@false
77 \thesis@blocks@titlePage@programme@false
78 % \end{macrocode}
79 % In Ph.D. theses, only the table of contents will be typeset in
80 % the front matter as per the formal requirements of the
81 % faculty\footnote{See
82 % \url{http://is.muni.cz/www/2575/dtedi/index_en.html}}.
83 %
84 % Note that there is no direct support for the seminar paper type.
85 % If you would like to change the contents of the preamble and the
86 % postamble, you should modify the |\thesis@blocks@preamble| and
87 % |\thesis@blocks@postamble| macros.
88 %
89 % All blocks within the autolayout preamble and postamble that are
90 % not defined within this file are defined in the
91 % \texttt{style/mu/fithesis-base.sty} file.
92 % \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the
93 % faculty's requirements. [TV]}
94 % \changes{v1.0.0}{2021/04/24}{^^A
95 % Change \cs{thesis@facultyLogo},
96 % \cs{thesis@blocks@facultyLogo@monochrome}, and
97 % \cs{thesis@blocks@facultyLogo@color} to use the new logotype
98 % of the Masaryk University in Brno in the correct size and
99 % localization. Add \cs{thesis@blocks@seal}. [VN]}
100 % \begin{macrocode}
101 \def\thesis@blocks@preamble{%
102 \thesis@blocks@coverMatter
103 \thesis@blocks@cover
104 \thesis@blocks@frontMatter
105 \thesis@blocks@titlePage
106 \thesis@blocks@seal
107 \ifx\thesis@type\thesis@proposal
108 \thesis@blocks@toc
109 \else
110 \thesis@blocks@declaration
111 \thesis@blocks@thanks
112 \thesis@blocks@clear
113 \thesis@blocks@abstract
114 \thesis@blocks@keywords
115 \thesis@blocks@tables
116 \fi}
117 \def\thesis@blocks@postamble{%
118 \thesis@blocks@bibliography}
119 % \end{macrocode}