diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx new file mode 100644 index 00000000000..ed7641f39cd --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx @@ -0,0 +1,88 @@ +% \file{style/mu/fithesis-law.sty} +% This is the style file for the theses written at the Faculty of +% Law at the Masaryk University in Brno. It has been prepared in +% accordance with the formal requirements published at the +% website of the faculty\footnote{See \url{http://is.muni.cz/d^^A +% o/law/ud/predp/smer/S-07-2012.pdf}}. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis/style/mu/fithesis-law}[2015/06/23] +% \end{macrocode} +% The file defines the color scheme of the respective faculty. +% \begin{macrocode} +\thesis@color@setup{ + links={HTML}{CF86EB}, + tableEmph={HTML}{D39BE8}, + tableOdd={HTML}{F2EBF5}, + tableEven={HTML}{E5CCED}} +% \end{macrocode} +% In addition to the main locale, the file also requires the +% English locale. +% \begin{macrocode} +\thesis@requireLocale{english} +% \end{macrocode} +% The style file configures the cover and title page headers to +% include only the faculty name and the department name. +% Along with the macros required by the locale file interface, +% the locale files need to define the following private macros: +% \begin{itemize} +% \item|\thesis@|\textit{locale}|@facultyLongName| -- The name +% of the faculty combined with the name of the university. +% \end{itemize} +% \begin{macrocode} +\def\thesis@blocks@cover@header{% + {\sc\thesis@titlePage@Large\thesis@@{facultyLongName}\\% + \thesis@titlePage@large\thesis@department\\\vskip 2em}} +\let\thesis@blocks@titlePage@header=\thesis@blocks@cover@header +% \end{macrocode} +% \begin{macro}{\thesis@blocks@frontMatter} +% The |\thesis@blocks@frontMatter| private macro sets up the style +% of the front matter of the thesis. The page numbering is arabic +% as per the formal requirements. +% \begin{macrocode} +\def\thesis@blocks@frontMatter{% + \thesis@blocks@clear + \pagestyle{plain} + \parindent 1.5em + \setcounter{page}{1} + \pagenumbering{arabic}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@mainMatter} +% The |\thesis@blocks@mainMatter| private macro sets up the style +% of the main matter of the thesis. The page numbering doesn't +% reset at the beginning of the main thesis as per the formal +% requirements. +% \begin{macrocode} +\def\thesis@blocks@mainMatter{% + \thesis@blocks@clear + \pagestyle{thesisheadings} + \parindent 1.5em\relax} +% \end{macrocode} +% \end{macro} +% The style file defines the autolayout preamble as the cover and +% the title page followed by the declaration, abstracts, keywords, +% acknowledgement, table of contents and list of tables and figures +% as a part of the front matter. All blocks are defined in the +% \texttt{style/mu/base.sty} file. +% \begin{macrocode} +\def\thesis@preamble{% + \thesis@blocks@cover% + \thesis@blocks@titlePage% + \thesis@blocks@frontMatter% + \thesis@blocks@declaration% + \thesis@blocks@clearRight% + \thesis@blocks@abstract% + \thesis@blocks@abstractEn% + \thesis@blocks@keywords% + \thesis@blocks@keywordsEn% + \thesis@blocks@thanks% + \thesis@blocks@tables% + \thesis@blocks@mainMatter} +% \end{macrocode} +% The style file defines the autolayout postamble as the +% assignment. This block is defined in the +% \texttt{style/mu/base.sty} file. +% \begin{macrocode} +\def\thesis@postamble{% + \thesis@blocks@assignment} +% \end{macrocode} |