summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fithesis/style/mu/law.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/fithesis/style/mu/law.dtx
Initial commit
Diffstat (limited to 'macros/latex/contrib/fithesis/style/mu/law.dtx')
-rw-r--r--macros/latex/contrib/fithesis/style/mu/law.dtx97
1 files changed, 97 insertions, 0 deletions
diff --git a/macros/latex/contrib/fithesis/style/mu/law.dtx b/macros/latex/contrib/fithesis/style/mu/law.dtx
new file mode 100644
index 0000000000..9c7cb865f8
--- /dev/null
+++ b/macros/latex/contrib/fithesis/style/mu/law.dtx
@@ -0,0 +1,97 @@
+% \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}[2017/05/21]
+% \end{macrocode}
+% The file defines the color scheme of the respective faculty. Note
+% the the color definitions are in RGB, which makes the resulting
+% files generally unsuitable for printing.
+% \begin{macrocode}
+\thesis@color@setup{
+ links={HTML}{CF86EB},
+ tableEmph={HTML}{D39BE8},
+ tableOdd={HTML}{F2EBF5},
+ tableEven={HTML}{E5CCED}}
+% \end{macrocode}
+% The bibliography support is enabled. The |authoryear| citations
+% are used and the bibliography is sorted by name, year, and title.
+% \begin{macrocode}
+\thesis@bibliography@setup{%
+ style=iso-authoryear,
+ sorting=nyt}
+\thesis@bibliography@load
+% \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 strings:
+% \begin{itemize}
+% \item\texttt{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@name\\\vskip 2em}}
+\let\thesis@blocks@titlePage@header=\thesis@blocks@cover@header
+% \end{macrocode}
+% \begin{macro}{\thesis@blocks@frontMatter}
+% The |\thesis@blocks@frontMatter| macro sets up the style
+% of the front matter of the thesis. The page numbering is arabic
+% in accordance with the formal requirements of the faculty.
+% \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| 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 in accordance with the
+% formal requirements of the faculty.
+% \begin{macrocode}
+\def\thesis@blocks@mainMatter{%
+ \thesis@blocks@clear
+ \pagestyle{thesisheadings}
+ \parindent 1.5em\relax}
+% \end{macrocode}
+% \end{macro}
+% Note that there is no direct support for the seminar paper and
+% thesis proposal types. If you would like to change the contents
+% of the preamble and the postamble, you should modify the
+% |\thesis@blocks@preamble| and |\thesis@blocks@postamble| macros.
+%
+% All blocks within the autolayout preamble that are not defined
+% within this file are defined in the
+% \texttt{style/mu/fithesis-base.sty} file.
+% \begin{macrocode}
+\def\thesis@blocks@preamble{%
+ \thesis@blocks@coverMatter
+ \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}
+% \end{macrocode}
+% All blocks within the autolayout postamble that are not defined
+% within this file are defined in the
+% \texttt{style/mu/fithesis-base.sty} file.
+% \begin{macrocode}
+\def\thesis@blocks@postamble{%
+ \thesis@blocks@bibliography
+ \thesis@blocks@assignment}
+% \end{macrocode}