| 1 |
% \file{style/mu/fithesis-law.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 |
% Law at the Masaryk University in Brno. It has been prepared in |
| 9 |
% accordance with the formal requirements published at the |
| 10 |
% website of the faculty\footnote{See \url{http://is.muni.cz/d^^A |
| 11 |
% o/law/ud/predp/smer/S-07-2012.pdf}, and \url{https://is.muni^^A |
| 12 |
% .cz/do/law/ud/predp/smer/Smernice_dekana_c._3-2020_O_citacic^^A |
| 13 |
% h_dokumentu.pdf}}. |
| 14 |
% \begin{macrocode} |
| 15 |
\NeedsTeXFormat{LaTeX2e} |
| 16 |
\ProvidesPackage{fithesis/style/mu/fithesis-mu-law}[2024/03/06] |
| 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}{CF86EB}, |
| 24 |
tableEmph={HTML}{D39BE8}, |
| 25 |
tableOdd={HTML}{F2EBF5}, |
| 26 |
tableEven={HTML}{E5CCED}} |
| 27 |
% \end{macrocode} |
| 28 |
% The bibliography support is enabled. The |iso-authortitle| citations |
| 29 |
% are used and the bibliography is sorted by name, year, and title. |
| 30 |
% \changes{v1.0.0}{2021/03/26}{^^A |
| 31 |
% The Faculty of Law at the Masaryk University in Brno uses the ISO~690 |
| 32 |
% author-title citation and reference style. [VN]} |
| 33 |
% \begin{macrocode} |
| 34 |
\thesis@bibliography@setup{% |
| 35 |
style=iso-authortitle, |
| 36 |
sorting=nyt} |
| 37 |
\thesis@bibliography@load |
| 38 |
% \end{macrocode} |
| 39 |
% Each footnote is uniquely numbered across the entire document as |
| 40 |
% per the formal requirements of the faculty. |
| 41 |
% \begin{macrocode} |
| 42 |
\thesis@require{chngcntr} |
| 43 |
\counterwithout{footnote}{chapter} |
| 44 |
% \end{macrocode} |
| 45 |
% The style file configures the upper part of the title page headers |
| 46 |
% to include the name of the department and the study field |
| 47 |
% which are by default in the bottom part of the title page. |
| 48 |
% \changes{v1.0.0}{2021/05/06}{Added conditional redefinition for the |
| 49 |
% study programme. [TV]} |
| 50 |
% \changes{v1.0.0}{2021/04/23}{^^A |
| 51 |
% The style files for the Faculty of Law at the Masaryk University |
| 52 |
% in Brno no longer redefine the \cs{thesis@blocks@cover@header} |
| 53 |
% macro, which is no longer defined. [TV]} |
| 54 |
% \changes{v1.0.0}{2021/03/22}{Added redefinition of the titlePage |
| 55 |
% layout as per the faculty requirements. Department name and |
| 56 |
% field are in the upper part of the titlePage. [TV]} |
| 57 |
% \changes{v1.1.1}{2024/03/06}{Updated the study field redefinition to |
| 58 |
% match the base definition. [TV]} |
| 59 |
% \begin{macrocode} |
| 60 |
\thesis@blocks@titlePage@programme@false |
| 61 |
|
| 62 |
\thesis@xpatch\thesis@blocks@titlePage{% |
| 63 |
{\sf\thesis@titlePage@large\thesis@@{advisorTitle}: \thesis@advisor\par}% |
| 64 |
\vspace{0.75cm}% |
| 65 |
\ifthesis@blocks@titlePage@department@ |
| 66 |
{\sf\thesis@titlePage@large\thesis@department@name\par}% |
| 67 |
\fi |
| 68 |
\ifthesis@blocks@titlePage@programme@ |
| 69 |
\vspace{0.25cm}% |
| 70 |
{\sf\thesis@titlePage@large\thesis@@{bib@programme}: |
| 71 |
\thesis@programme\par}% |
| 72 |
\fi |
| 73 |
\ifthesis@blocks@titlePage@field@ |
| 74 |
\ifx\thesis@field\empty\else |
| 75 |
\vspace{0.25cm}% |
| 76 |
{\sf\thesis@titlePage@large\thesis@@{fieldTitle}: |
| 77 |
\thesis@field@name\par}% |
| 78 |
\fi |
| 79 |
\fi |
| 80 |
\vfill |
| 81 |
}{} |
| 82 |
|
| 83 |
\thesis@xpatch\thesis@blocks@titlePage{% |
| 84 |
{\sf\thesis@titlePage@large\thesis@@upper{facultyName}\par}% |
| 85 |
\vfill |
| 86 |
}{% |
| 87 |
{\sf\thesis@titlePage@large\thesis@@upper{facultyName}\par}% |
| 88 |
\vspace{0.5cm}% |
| 89 |
{\sf\thesis@titlePage@large\thesis@field\par}% |
| 90 |
\vspace{0.25cm}% |
| 91 |
{\sf\thesis@titlePage@large\thesis@department@name\par}% |
| 92 |
\vspace{1cm}% |
| 93 |
} |
| 94 |
% \end{macrocode} |
| 95 |
% \begin{macro}{\thesis@blocks@frontMatter} |
| 96 |
% The |\thesis@blocks@frontMatter| macro sets up the style |
| 97 |
% of the front matter of the thesis. The page numbering is arabic |
| 98 |
% in accordance with the formal requirements of the faculty and |
| 99 |
% it is hidden. |
| 100 |
% \changes{v1.0.1}{2021/07/18}{^^A |
| 101 |
% Display page numbers for the Faculty of Law starting with |
| 102 |
% the declaration. [VN]} |
| 103 |
% \begin{macrocode} |
| 104 |
\def\thesis@blocks@frontMatter{% |
| 105 |
\thesis@blocks@clear |
| 106 |
\pagestyle{empty} |
| 107 |
\parindent 1.5em |
| 108 |
\setcounter{page}{1} |
| 109 |
\pagenumbering{arabic}} |
| 110 |
% \end{macrocode} |
| 111 |
% \end{macro}\begin{macro}{\thesis@blocks@mainMatter} |
| 112 |
% The |\thesis@blocks@mainMatter| macro sets up the style |
| 113 |
% of the main matter of the thesis. The page numbering doesn't |
| 114 |
% reset at the beginning of the main thesis in accordance with the |
| 115 |
% formal requirements of the faculty. |
| 116 |
% \begin{macrocode} |
| 117 |
\def\thesis@blocks@mainMatter{% |
| 118 |
\thesis@blocks@clear |
| 119 |
\pagestyle{thesisheadings} |
| 120 |
\parindent 1.5em\relax} |
| 121 |
% \end{macrocode} |
| 122 |
% \end{macro} |
| 123 |
% Note that there is no direct support for the seminar paper and |
| 124 |
% thesis proposal types. If you would like to change the contents |
| 125 |
% of the preamble and the postamble, you should modify the |
| 126 |
% |\thesis@blocks@preamble| and |\thesis@blocks@postamble| macros. |
| 127 |
% |
| 128 |
% All blocks within the autolayout preamble that are not defined |
| 129 |
% within this file are defined in the |
| 130 |
% \texttt{style/mu/fithesis-base.sty} file. |
| 131 |
% \changes{v1.0.0}{2021/03/22}{Reorganised the blocks to fit the |
| 132 |
% faculty's requirements. [TV]} |
| 133 |
% \changes{v1.0.0}{2021/04/24}{^^A |
| 134 |
% Change \cs{thesis@facultyLogo}, |
| 135 |
% \cs{thesis@blocks@facultyLogo@monochrome}, and |
| 136 |
% \cs{thesis@blocks@facultyLogo@color} to use the new logotype |
| 137 |
% of the Masaryk University in Brno in the correct size and |
| 138 |
% localization. Add \cs{thesis@blocks@seal}. [VN]} |
| 139 |
% \begin{macrocode} |
| 140 |
\def\thesis@blocks@preamble{% |
| 141 |
\thesis@blocks@coverMatter |
| 142 |
\thesis@blocks@cover |
| 143 |
\thesis@blocks@frontMatter |
| 144 |
\thesis@blocks@titlePage |
| 145 |
\thesis@blocks@seal |
| 146 |
% \end{macrocode} |
| 147 |
% \changes{v1.0.1}{2021/07/18}{^^A |
| 148 |
% Display page numbers for the Faculty of Law starting with |
| 149 |
% the declaration. [VN]} |
| 150 |
% \begin{macrocode} |
| 151 |
\thesis@blocks@clear |
| 152 |
\pagestyle{plain} |
| 153 |
\setcounter{page}{1} |
| 154 |
\thesis@blocks@declaration |
| 155 |
\thesis@blocks@clear |
| 156 |
\thesis@blocks@abstract |
| 157 |
\thesis@blocks@keywords |
| 158 |
\thesis@blocks@clear |
| 159 |
\thesis@blocks@abstractEn |
| 160 |
\thesis@blocks@keywordsEn |
| 161 |
\thesis@blocks@thanks |
| 162 |
\thesis@blocks@tables} |
| 163 |
% \end{macrocode} |
| 164 |
% All blocks within the autolayout postamble that are not defined |
| 165 |
% within this file are defined in the |
| 166 |
% \texttt{style/mu/fithesis-base.sty} file. |
| 167 |
% \begin{macrocode} |
| 168 |
\def\thesis@blocks@postamble{% |
| 169 |
\thesis@blocks@bibliography |
| 170 |
\thesis@blocks@assignment} |
| 171 |
% \end{macrocode} |