| 1 |
% \file{style/mu/fithesis-sci.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 |
% Science at the Masaryk University in Brno. It has been |
| 9 |
% prepared in accordance with the formal requirements published at |
| 10 |
% the website of the faculty\footnote{See |
| 11 |
% \url{https://is.muni.cz/auth/do/sci/normy/OD/OD-2019_3/OD_3_2019^^A |
| 12 |
% _-_Pokyny_pro_vypracovani_bc._dipl._a_rigor.praci.pdf}}. |
| 13 |
% \begin{macrocode} |
| 14 |
\NeedsTeXFormat{LaTeX2e} |
| 15 |
\ProvidesPackage{fithesis/style/mu/fithesis-mu-sci}[2024/03/06] |
| 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}{20E366}, |
| 23 |
tableEmph={HTML}{8EDEAA}, |
| 24 |
tableOdd={HTML}{EDF7F1}, |
| 25 |
tableEven={HTML}{CCEDD8}} |
| 26 |
% \end{macrocode} |
| 27 |
% The bibliography support is enabled. The |iso-numeric| citations |
| 28 |
% are 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 |
% \changes{v0.3.45}{2017/05/23}{Defined the |
| 36 |
% \cs{ifthesis@czech} macro in |
| 37 |
% \texttt{style/mu/fithesis-sci.sty}. The patch was submitted by |
| 38 |
% Juraj Pálenik. [VN]} |
| 39 |
% \changes{v0.3.45}{2017/05/24}{Defined the |
| 40 |
% \texttt{abstractonsinglepage} option in |
| 41 |
% \texttt{style/mu/fithesis-sci.sty}. The patch was submitted by |
| 42 |
% Juraj Pálenik. [VN]} |
| 43 |
% \changes{v1.0.0}{2021/05/06}{Added redefinition of the conditionals |
| 44 |
% to exclude the study programme and the study field from the title |
| 45 |
% page. [TV]} |
| 46 |
% \changes{v1.0.0}{2021/03/12}{^^A |
| 47 |
% The style file of the Faculty of Science at the Masaryk |
| 48 |
% University in Brno, Czech Republic no longer defines the |
| 49 |
% \cs{ifthesis@czech}, \cs{thesis@blocks@bibEntry}, |
| 50 |
% \cs{thesis@blocks@bibEntryCs}, \cs{thesis@blocks@bibEntryEn}, |
| 51 |
% \cs{thesis@blocks@abstractCs} macros, no longer defines the |
| 52 |
% \texttt{abstractCs}, \texttt{programmeCs}, \texttt{fieldCs}, |
| 53 |
% \texttt{titleCs}, \texttt{keywordsCs}, \texttt{departmentCs}, |
| 54 |
% \texttt{TeXkeywordsCs}, and \texttt{TeXtitleCs} extra data |
| 55 |
% fields, no longer defines the \texttt{abstractonsinglepage} |
| 56 |
% option, and no longer overrides the \cs{thesis@blocks@cover}, |
| 57 |
% \cs{thesis@blocks@titlePage}, \cs{thesis@blocks@thanks}, and |
| 58 |
% \cs{thesis@blocks@declaration} macros. [VN]} |
| 59 |
% \changes{v0.3.45}{2017/05/26}{Bibliographical entries in |
| 60 |
% \texttt{style/mu/fithesis-sci.sty} now face each other when the |
| 61 |
% main locale is either Czech or English. [VN]} |
| 62 |
% \changes{v0.3.45}{2017/05/28}{Defined the |
| 63 |
% \cs{thesis@blocks@abstractCs} macro in |
| 64 |
% \texttt{style/mu/fithesis-sci.sty}. The patch was submitted by |
| 65 |
% Juraj Pálenik. [VN]} |
| 66 |
% \changes{v0.3.45}{2017/05/21}{Defined the |
| 67 |
% \cs{thesis@blocks@bibEntryCs} macro in |
| 68 |
% \texttt{style/mu/fithesis-sci.sty}. The patch was submitted by |
| 69 |
% Juraj Pálenik. [VN]} |
| 70 |
% Enable the inclusion of the scanned assignment inside the digital |
| 71 |
% version of the document. |
| 72 |
% \begin{macrocode} |
| 73 |
\thesis@blocks@titlePage@field@false |
| 74 |
\thesis@blocks@titlePage@programme@false |
| 75 |
\thesis@blocks@assignment@hideIfDigital@false |
| 76 |
% \end{macrocode} |
| 77 |
% \begin{macro}{\thesis@blocks@bibEntry@pagetotal} |
| 78 |
% The |\thesis@blocks@bibEntry@pageTotal| macro typeset the total number of |
| 79 |
% pages in the thesis in the format required by the bibliographic entry. |
| 80 |
% The format is just the total number of pages, as mandated by the formal |
| 81 |
% requirements of the faculty. |
| 82 |
% \changes{v1.1.1}{2024/03/06}{Add the \cs{thesis@blocks@bibEntry@pagetotal} |
| 83 |
% command for the Masaryk University in Brno. [TV, VN]} |
| 84 |
% \begin{macrocode} |
| 85 |
\def\thesis@blocks@bibEntry@pagetotal{\thesis@pages} |
| 86 |
% \end{macrocode} |
| 87 |
% \end{macro}\begin{macro}{\thesis@blocks@frontMatter} |
| 88 |
% The |\thesis@blocks@frontMatter| macro sets up the style |
| 89 |
% of the front matter front matter of the thesis. The front matter |
| 90 |
% is typeset without any visible numbering, as mandated by the |
| 91 |
% formal requirements of the faculty. |
| 92 |
% \changes{v1.0.1}{2021/07/18}{^^A |
| 93 |
% Display page numbers for the Faculty of Science starting with |
| 94 |
% the table of contents. [VN]} |
| 95 |
% \begin{macrocode} |
| 96 |
\def\thesis@blocks@frontMatter{% |
| 97 |
\thesis@blocks@clear |
| 98 |
\pagestyle{empty} |
| 99 |
\parindent 1.5em |
| 100 |
\setcounter{page}{1} |
| 101 |
\pagenumbering{arabic}} |
| 102 |
% \end{macrocode} |
| 103 |
% \end{macro}\begin{macro}{\thesis@blocks@mainMatter} |
| 104 |
% The |\thesis@blocks@mainMatter| macro sets up the style |
| 105 |
% of the main matter of the thesis. The page numbering doesn't |
| 106 |
% reset at the beginning of the main thesis in accordance with the |
| 107 |
% formal requirements of the faculty. |
| 108 |
% \changes{v1.0.1}{2021/07/18}{^^A |
| 109 |
% Display page numbers for the Faculty of Science starting with |
| 110 |
% the table of contents. [VN]} |
| 111 |
% \begin{macrocode} |
| 112 |
\def\thesis@blocks@mainMatter{% |
| 113 |
\thesis@blocks@clear |
| 114 |
\pagestyle{thesisheadings} |
| 115 |
\parindent 1.5em\relax} |
| 116 |
% \end{macrocode} |
| 117 |
% \end{macro} |
| 118 |
% \changes{v1.0.0}{2018/11/18}{^^A |
| 119 |
% The \cs{bfseries} command switches to the sans serif typeface |
| 120 |
% and to the secondary color in the style files of the Masaryk |
| 121 |
% University in Brno, Czech Republic.} |
| 122 |
% \changes{v0.3.45}{2017/05/24}{Redefined the |
| 123 |
% \cs{thesis@blocks@thanks} and \cs{thesis@blocks@declaration} |
| 124 |
% macros in \texttt{style/mu/fithesis-sci.sty}. The patch was |
| 125 |
% submitted by Juraj Pálenik. [VN]} |
| 126 |
% |
| 127 |
% All blocks within the autolayout preamble and postamble that are |
| 128 |
% not defined within this file are defined in the |
| 129 |
% \texttt{style/mu/fithesis-base.sty} file. |
| 130 |
% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the |
| 131 |
% faculty's requirements. [TV]} |
| 132 |
% \changes{v1.0.0}{2021/04/24}{^^A |
| 133 |
% Change \cs{thesis@facultyLogo}, |
| 134 |
% \cs{thesis@blocks@facultyLogo@monochrome}, and |
| 135 |
% \cs{thesis@blocks@facultyLogo@color} to use the new logotype |
| 136 |
% of the Masaryk University in Brno in the correct size and |
| 137 |
% localization. Add \cs{thesis@blocks@seal}. [VN]} |
| 138 |
% \begin{macrocode} |
| 139 |
\def\thesis@blocks@preamble{ |
| 140 |
\thesis@blocks@coverMatter |
| 141 |
\thesis@blocks@cover |
| 142 |
\thesis@blocks@frontMatter |
| 143 |
\thesis@blocks@titlePage |
| 144 |
\thesis@blocks@seal |
| 145 |
\ifx\thesis@type\thesis@proposal |
| 146 |
% \end{macrocode} |
| 147 |
% \changes{v1.0.1}{2021/07/18}{^^A |
| 148 |
% Display page numbers for the Faculty of Science starting with |
| 149 |
% the table of contents. [VN]} |
| 150 |
% \begin{macrocode} |
| 151 |
\thesis@blocks@clear |
| 152 |
\pagestyle{plain} |
| 153 |
\thesis@blocks@toc |
| 154 |
\else |
| 155 |
\thesis@blocks@bibEntry |
| 156 |
\thesis@blocks@bibEntryEn |
| 157 |
\thesis@blocks@clear |
| 158 |
\thesis@blocks@abstract |
| 159 |
\thesis@blocks@clearRight |
| 160 |
\thesis@blocks@abstractEn |
| 161 |
\thesis@blocks@assignment |
| 162 |
\thesis@blocks@thanks |
| 163 |
\thesis@blocks@declaration |
| 164 |
% \end{macrocode} |
| 165 |
% \changes{v1.0.1}{2021/07/18}{^^A |
| 166 |
% Display page numbers for the Faculty of Science starting with |
| 167 |
% the table of contents. [VN]} |
| 168 |
% \begin{macrocode} |
| 169 |
\thesis@blocks@clear |
| 170 |
\pagestyle{plain} |
| 171 |
\thesis@blocks@tables |
| 172 |
\fi} |
| 173 |
\def\thesis@blocks@postamble{% |
| 174 |
\thesis@blocks@bibliography} |
| 175 |
% \end{macrocode} |