Debian Codegraph @

texmf-dist/source/latex/fithesis/style/mu/pharm.dtx

raw
1 % \file{style/mu/fithesis-pharm.sty}
2 % This is the style file for the theses written at the Faculty of
3 % Pharmacy at the Masaryk University in Brno. It has been prepared
4 % in accordance with the formal requirements.
5 % \begin{macrocode}
6 \NeedsTeXFormat{LaTeX2e}
7 \ProvidesPackage{fithesis/style/mu/fithesis-mu-pharm}[2018/06/11]
8 % \end{macrocode}
9 % The file defines the color scheme of the respective faculty. Note
10 % the the color definitions are in RGB, which makes the resulting
11 % files generally unsuitable for printing.
12 % \begin{macrocode}
13 \thesis@color@setup{
14 links={HTML}{A0B9C5},
15 tableEmph={HTML}{B0C3CF},
16 tableOdd={HTML}{EFF3F6},
17 tableEven={HTML}{D6E1E6}}
18 % \end{macrocode}
19 % The bibliography support is enabled. The |authoryear| citations
20 % are used and the bibliography is sorted by name, title, and year.
21 % \begin{macrocode}
22 \thesis@bibliography@setup{
23 style=iso-authoryear,
24 sorting=nty}
25 \thesis@bibliography@load
26 % \end{macrocode}
27 % The file loads the following packages:
28 % \begin{itemize}
29 % \item\textsf{tikz} -- Used for dimension arithmetic.
30 % \item\textsf{geometry} -- Allows for modifications of the type
31 % area dimensions.
32 % \item\textsf{setspace} -- Used for setting space.
33 % \end{itemize}
34 % \begin{macrocode}
35 \thesis@require{tikz}
36 \thesis@require{geometry}
37 \thesis@require{setspace}
38 \geometry{top=25mm,bottom=20mm,left=25mm,right=25mm,includeheadfoot}
39
40 % \end{macrocode}
41 % Enable the inclusion of the scanned assignment inside the digital
42 % version of the document.
43 % \begin{macrocode}
44 \thesis@blocks@assignment@hideIfDigital@false
45 % \end{macrocode}
46 % \begin{macro}{\thesis@blocks@frontMatter}
47 % The |\thesis@blocks@frontMatter| macro sets up the style
48 % of the front matter of the thesis. The page numbering is roman
49 % in accordance with the formal requirements of the faculty.
50 % \begin{macrocode}
51 \def\thesis@blocks@frontMatter{%
52 \thesis@blocks@clear
53 \newgeometry{top=25mm, bottom=20mm, left=35mm, right=15mm, includeheadfoot}
54 \pagestyle{empty}
55 \parindent 1.5em
56 \setcounter{page}{1}
57 \pagenumbering{roman}}
58 % \end{macrocode}
59 % \end{macro}\begin{macro}{\thesis@blocks@mainMatter}
60 % The |\thesis@blocks@mainMatter| macro sets up the style
61 % of the main matter of the thesis. The page numbering doesn't
62 % reset at the beginning of the main thesis in accordance with the
63 % formal requirements of the faculty.
64 % \begin{macrocode}
65 \def\thesis@blocks@mainMatter{%
66 \thesis@blocks@clear
67 \newgeometry{top=25mm,bottom=20mm,left=35mm,
68 right=15mm, includeheadfoot}
69 \setcounter{page}{1}
70 \pagenumbering{arabic}
71 \pagestyle{thesisheadings}
72 \parindent 1.5em
73 \onehalfspacing}
74 % \end{macrocode}
75 % \end{macro}
76 % Note that there is no direct support for the seminar paper and
77 % thesis proposal types. If you would like to change the contents
78 % of the preamble and the postamble, you should modify the
79 % |\thesis@blocks@preamble| and |\thesis@blocks@postamble| macros.
80 %
81 % All blocks within the autolayout preamble that are not defined
82 % within this file are defined in the
83 % \texttt{style/mu/fithesis-base.sty} file.
84 % \begin{macrocode}
85 \def\thesis@blocks@preamble{%
86 \thesis@blocks@coverMatter
87 \thesis@blocks@cover
88 \thesis@blocks@frontMatter
89 \thesis@blocks@titlePage
90 \thesis@blocks@seal
91 \thesis@blocks@bibEntry
92 \thesis@blocks@abstract
93 \thesis@blocks@bibEntryEn
94 \thesis@blocks@abstractEn
95 \thesis@blocks@assignment
96 \thesis@blocks@declaration
97 \thesis@blocks@thanks
98 \thesis@blocks@tables}
99 % \end{macrocode}
100 % All blocks within the autolayout postamble that are not defined
101 % within this file are defined in the
102 % \texttt{style/mu/fithesis-base.sty} file.
103 % \begin{macrocode}
104 \def\thesis@blocks@postamble{%
105 \thesis@blocks@bibliography}
106 % \end{macrocode}