| 1 |
% \file{style/mu/fithesis-phil.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 |
% Arts at the Masaryk University in Brno. It has been prepared in |
| 9 |
% accordance with the formal requirements published at the website |
| 10 |
% of the department of Slavonic Studies\footnote{See \url{https://^^A |
| 11 |
% slavistika.phil.muni.cz/media/2109309/diplomove-prace-pokyny.pdf} |
| 12 |
% and the thesis Word template \url{https://is.muni.cz/auth/do/phi^^A |
| 13 |
% l/Pracoviste/SO/vzory_praci/sablonaDP-MUNI-ARTS-dipl-obor.dotx}}. |
| 14 |
% \begin{macrocode} |
| 15 |
\NeedsTeXFormat{LaTeX2e} |
| 16 |
\ProvidesPackage{fithesis/style/mu/fithesis-mu-phil}[2021/04/24] |
| 17 |
% \end{macrocode} |
| 18 |
% The file defines the color scheme of the respective faculty. Note |
| 19 |
% the the color definitions are in RGB, which makes the resulting |
| 20 |
% files generally unsuitable for printing. |
| 21 |
% \begin{macrocode} |
| 22 |
\thesis@color@setup{ |
| 23 |
links={HTML}{6FCEF2}, |
| 24 |
tableEmph={HTML}{78CEF0}, |
| 25 |
tableOdd={HTML}{EBF6FA}, |
| 26 |
tableEven={HTML}{D0EBF5}} |
| 27 |
% \end{macrocode} |
| 28 |
% The bibliography support is enabled. The |iso-authoryear| citations |
| 29 |
% are used and the bibliography is sorted by name, title, and year. |
| 30 |
% \begin{macrocode} |
| 31 |
\thesis@bibliography@setup{ |
| 32 |
style=iso-authoryear, |
| 33 |
sorting=nty} |
| 34 |
\thesis@bibliography@load |
| 35 |
% \end{macrocode} |
| 36 |
% \changes{v1.0.0}{2021/02/26}{^^A |
| 37 |
% The \cs{ifthesis@blocks@titlePage@department@} conditional |
| 38 |
% now defaults to \texttt{true}. [VN]} |
| 39 |
% \changes{v1.0.0}{2021/02/26}{^^A |
| 40 |
% The \cs{ifthesis@blocks@titlePage@field@} conditional |
| 41 |
% now defaults to \texttt{true}. [VN]} |
| 42 |
% The style file parses the value of the |\thesis@department| macro |
| 43 |
% and recognizes the following divisions of the Faculty of Arts: |
| 44 |
% \begin{itemize} |
| 45 |
% \item\texttt{kisk} -- The Division of Information and Library |
| 46 |
% Studies \footnote{See \url{http://kisk.phil.muni.cz/cs/pov^^A |
| 47 |
% innosti}.} (KISK) |
| 48 |
% \begin{macrocode} |
| 49 |
\def\thesis@departments@kisk{kisk} |
| 50 |
% \end{macrocode} |
| 51 |
% \end{itemize} |
| 52 |
% Along with the macros required by the locale file interface, the |
| 53 |
% locale files need to define the following macros: |
| 54 |
% \begin{itemize} |
| 55 |
% \item\texttt{departmentName} -- The human-readable name of the |
| 56 |
% given recognized division. |
| 57 |
% \end{itemize} |
| 58 |
% \begin{macrocode} |
| 59 |
\ifx\thesis@department\thesis@departments@kisk |
| 60 |
\def\thesis@department@name{\thesis@@{departmentName}} |
| 61 |
\def\thesis@departmentEn@name{\thesis@english@departmentName} |
| 62 |
\fi |
| 63 |
% \end{macrocode} |
| 64 |
% \changes{v1.0.0}{2021/04/23}{^^A |
| 65 |
% The style files of the Faculty of Arts at the Masaryk University |
| 66 |
% in Brno no longer redefine the |
| 67 |
% \cs{thesis@blocks@titlePage@content} macro, which is no longer |
| 68 |
% defined. [TV]} |
| 69 |
% |
| 70 |
% Note that there is no direct support for the seminar paper and |
| 71 |
% thesis proposal types. If you would like to change the contents |
| 72 |
% of the preamble and the postamble, you should modify the |
| 73 |
% |\thesis@blocks@preamble| and |\thesis@blocks@postamble| macros. |
| 74 |
% |
| 75 |
% All blocks within the autolayout preamble and postamble that are |
| 76 |
% not defined within this file are defined in the |
| 77 |
% \texttt{style/mu/fithesis-base.sty} file. |
| 78 |
% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the |
| 79 |
% faculty's requirements. [TV]} |
| 80 |
% \changes{v1.0.0}{2021/04/24}{^^A |
| 81 |
% Change \cs{thesis@facultyLogo}, |
| 82 |
% \cs{thesis@blocks@facultyLogo@monochrome}, and |
| 83 |
% \cs{thesis@blocks@facultyLogo@color} to use the new logotype |
| 84 |
% of the Masaryk University in Brno in the correct size and |
| 85 |
% localization. Add \cs{thesis@blocks@seal}. [VN]} |
| 86 |
% \begin{macrocode} |
| 87 |
\def\thesis@blocks@preamble{% |
| 88 |
\thesis@blocks@coverMatter |
| 89 |
\thesis@blocks@cover |
| 90 |
\thesis@blocks@frontMatter |
| 91 |
\thesis@blocks@titlePage |
| 92 |
\thesis@blocks@seal |
| 93 |
% \end{macrocode} |
| 94 |
% In KISK theses, the bibliographical entry, the abstract, and the |
| 95 |
% keywords will be included after the cover matter. |
| 96 |
% \changes{v1.0.0}{2021/03/11}{Added conditional to add summary for |
| 97 |
% doctoral theses. [TV]} |
| 98 |
% \begin{macrocode} |
| 99 |
\ifx\thesis@department\thesis@departments@kisk |
| 100 |
\thesis@blocks@bibEntry |
| 101 |
\thesis@blocks@abstract |
| 102 |
\thesis@blocks@bibEntryEn |
| 103 |
\thesis@blocks@abstractEn |
| 104 |
\fi |
| 105 |
\thesis@blocks@declaration |
| 106 |
\thesis@blocks@thanks |
| 107 |
% \end{macrocode} |
| 108 |
% In KISK theses, the lists of tables and figures will be included |
| 109 |
% behind the bibliography rather than at the beginning of the |
| 110 |
% document. |
| 111 |
% \begin{macrocode} |
| 112 |
\ifx\thesis@department\thesis@departments@kisk |
| 113 |
\thesis@blocks@toc |
| 114 |
\else |
| 115 |
\thesis@blocks@tables |
| 116 |
\fi} |
| 117 |
\def\thesis@blocks@postamble{% |
| 118 |
\ifx\thesis@department\thesis@departments@kisk |
| 119 |
% \end{macrocode} |
| 120 |
% In KISK theses, the lists of tables and figures will be included |
| 121 |
% behind the bibliography rather than at the beginning of the |
| 122 |
% document. |
| 123 |
% \begin{macrocode} |
| 124 |
\thesis@blocks@lot |
| 125 |
\thesis@blocks@lof |
| 126 |
\fi |
| 127 |
\thesis@blocks@bibliography} |
| 128 |
% \end{macrocode} |