summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fithesis/style/mu/ped.dtx
blob: 2e602fea0549bf7917c9208cd7ec7127f2de775d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
% \file{style/mu/fithesis-ped.sty}
% This is the style file for the theses written at the Faculty of
% Education 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/^^A
% do/ped/VPAN/pokdek/Pokyn_dekana_c._1-2010__2_.pdf}}.
%    \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fithesis/style/mu/fithesis-ped}[2015/06/23]
%    \end{macrocode}
% The file defines the color scheme of the respective faculty.
%    \begin{macrocode}
\thesis@color@setup{
  links={HTML}{FFA02F},
  tableEmph={HTML}{FFBB6B},
  tableOdd={HTML}{FFF1E0},
  tableEven={HTML}{FFDEB7}}
%    \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 title page header to include the
% department name and the title page content to include
% advisor's name.
%    \begin{macrocode}
\thesis@blocks@titlePage@department@true
\def\thesis@blocks@titlePage@content{%
    {\thesis@titlePage@Huge\bf\thesis@TeXtitle\par\vfil}\vskip 0.8in
    {\thesis@titlePage@large\sc\thesis@@{typeName}\\[0.3in]}
    {\thesis@titlePage@Large\bf\thesis@author}
    % Typeset the name of the thesis advisor.
    {\thesis@titlePage@large\\[0.3in]
      {\bf\thesis@@{advisorTitle}:} \thesis@advisor}}
%    \end{macrocode}
% \begin{macro}{\thesis@blocks@bibEntry}
% The |\thesis@blocks@bibEntry| private macro typesets a
% bibliographical entry. Along with the macros required by the
% locale file interface, the \textit{locale} files need to define
% the following private macros:
% \begin{itemize}
%   \item|\thesis@|\emph{locale}|@bib@title| -- The title of the
%     |\thesis@blocks@bib@title| block
%   \item|\thesis@|\emph{locale}|@bib@pages| -- The abbreviation of
%     pages used in the bibliographical entry
% \end{itemize}
%    \begin{macrocode}
\def\thesis@blocks@bibEntry{%
  \chapter*{\thesis@@{bib@title}}
  \noindent\thesis@upper{author@tail}, \thesis@author@head.
  \emph{\thesis@title}. \thesis@place: \thesis@@{universityName},
  \thesis@@{facultyName}, \thesis@department, \thesis@year.
  \thesis@pages\ \thesis@@{bib@pages}.
  \thesis@@{advisorTitle}: \thesis@advisor}
%    \end{macrocode}
% \end{macro}
% The style file defines the autolayout preamble as the cover and
% the title page followed by the bibliographical entry, abstracts,
% keywords, declaration, acknowledgement, table of contents and
% list of tables and figures as a part of the front matter. All
% blocks beside |\thesis@blocks@bibEntry| 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@bibEntry%
    \thesis@blocks@clearRight%
      \thesis@blocks@abstract%
      \thesis@blocks@abstractEn%
      \thesis@blocks@keywords%
      \thesis@blocks@keywordsEn%
    \thesis@blocks@declaration%
    \thesis@blocks@thanks%
    \thesis@blocks@tables%
  \thesis@blocks@mainMatter}
%    \end{macrocode}