diff options
author | Karl Berry <karl@freefriends.org> | 2015-06-24 21:33:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-06-24 21:33:27 +0000 |
commit | 391ed31e962286a63e234d0fd04a845972273739 (patch) | |
tree | 9e736b49082612049694d8c621ab9a50460f0184 /Master/texmf-dist/source/latex/fithesis/style/mu | |
parent | 6e8193718b99bbc13571c386278c30b325beea83 (diff) |
fithesis (24jun15)
git-svn-id: svn://tug.org/texlive/trunk@37661 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fithesis/style/mu')
20 files changed, 2439 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx new file mode 100644 index 00000000000..8510ff6ff43 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx @@ -0,0 +1,1317 @@ +% \iffalse +%<*base> +% \fi\file{style/mu/fithesis-base.sty} +% This is the base style file for theses written at the Masaryk +% University in Brno. +% If inheritance is enabled for style files, then this file is +% always the second style file to be loaded right after +% \texttt{style/base.sty}, regardless of the +% value of the |\thesis@style| macro. +% \begin{macrocode} +\ProvidesPackage{fithesis/style/mu/fithesis-base}[2015/06/23] +\NeedsTeXFormat{LaTeX2e} +% \end{macrocode} +% The file recognizes the following options: \begin{itemize} +% \item\texttt{10pt}, \texttt{11pt}, \texttt{12pt} -- Sets the +% type size to 10, 11 or 12 points respectively, along with the +% page geometry. The default type size is 12 points. +% \item\texttt{oneside}, \texttt{twoside} -- The document is +% going to be single- or double-sided. In a double-sided +% document headers, page numbering, margin notes and several +% other elements are rearranged based on +% the parity of the page. Blank pages are optionally inserted +% prior the beginning of the next chapter to ensure that it +% starts on an left-hand (even-numbered) page. +% +% The \DescribeMacro{\ifthesis@twoside@}|\ifthesis@twoside@| +% conditional is set to either \texttt{false} or \texttt{true}, +% respectively. This value can be tested in the subsequently +% loaded style files. +% \item\texttt{onecolumn}, \texttt{twocolumn} -- The document +% is going to be set in a single column or in two columns, +% respectively. +% \item\texttt{draft}, \texttt{final} -- Overful lines are or +% aren't marked within the document, respectively. +% \item\texttt{palatino}, \texttt{nopalatino} -- The default +% roman and math font family is going to be either set to +% Palatino or left untouched, respectively. The +% \DescribeMacro{\ifthesis@palatino@}|\ifthesis@palatino@| +% conditional is set to either \texttt{true} or \texttt{false}, +% respectively. This value can be tested in the subsequently +% loaded style files. +% +% The Palatino font is a part of the visual identity of the +% Faculty of Informatics, at which the document class was +% created. +% \item\texttt{color}, \texttt{monochrome} -- Certain +% typographical elements either are or aren't going to be +% typeset in color, respectively. The +% \DescribeMacro{\ifthesis@color@}|\ifthesis@color@| +% conditional is set to either \texttt{true} or \texttt{false}, +% respectively. This value can be tested in the subsequently +% loaded style files. +% \item\texttt{table}, \texttt{oldtable} -- If the +% |\ifthesis@color@| conditional is \texttt{true}, then the +% definition of the \texttt{tabular} and \texttt{tabularx} +% commands either are or aren't going to be altered to better +% match the style, respectively. The \DescribeMacro% +% {\ifthesis@newtable@}|\ifthesis@newtable@| conditional is set +% to either \texttt{true} or \texttt{false}, respectively. +% +% The choice of the name is deliberate -- the redefinition of +% the table environments depends on the \textsf{xcolor} +% package, which needs to be loaded with the \texttt{table} +% option. Since so many other packages depend on the +% \textsf{xcolor} package and this style file is loaded at the +% very end of the preamble, there would either be a great +% chance of an option clash, or the option would have to be +% passed to the \textsf{xcolor} package before the preamble +% from the body of the \textsf{fithesis3} class thus breaking +% the encapsulation. Naming the option \texttt{table} forces +% the option to be processed by the \textsf{xcolor} package as +% well and it is therefore an elegant solution to the problem +% at hand. +% \item\texttt{lot}, \texttt{nolot} -- |\listoftables| is or +% isn't going to be included in the +% \DescribeMacro{\thesis@blocks@tables}|\thesis@blocks@tables| +% block, respectively. +% \item\texttt{lof}, \texttt{nolof} -- |\listoffigures| is or +% isn't going to be included in the +% \DescribeMacro{\thesis@blocks@tables}|\thesis@blocks@tables| +% block, respectively. +% \item\texttt{cover}, \texttt{nocover} -- The +% \DescribeMacro{\thesis@blocks@cover}|\thesis@blocks@cover| +% is or isn't going to expand to the thesis cover. +% +% The \DescribeMacro{\ifthesis@cover@}|\ifthesis@cover@| +% conditional is set to \texttt{false} or \texttt{true}, +% respectively. This value can be tested in the subsequently +% loaded style files. +% \end{itemize} +% \begin{macrocode} +\DeclareOption{10pt}{\def\thesis@ptsize{0}} +\DeclareOption{11pt}{\def\thesis@ptsize{1}} +\DeclareOption{12pt}{\def\thesis@ptsize{2}} +\newif\ifthesis@twoside@ +\DeclareOption{oneside}{% + \thesis@twoside@false\@twosidefalse\@mparswitchfalse} +\DeclareOption{twoside}{% + \thesis@twoside@true \@twosidetrue \@mparswitchtrue} +\DeclareOption{onecolumn}{\@twocolumnfalse} +\DeclareOption{twocolumn}{\@twocolumntrue} +\DeclareOption{draft}{\setlength\overfullrule{5pt}} +\DeclareOption{final}{\setlength\overfullrule{0pt}} +\newif\ifthesis@color@ +\DeclareOption{monochrome}{\thesis@color@false} +\DeclareOption{color}{\thesis@color@true} +\newif\ifthesis@palatino@ +\DeclareOption{palatino}{\thesis@palatino@true} +\DeclareOption{nopalatino}{\thesis@palatino@false} +\newif\ifthesis@newtable@ +\DeclareOption{table}{\thesis@newtable@true} +\DeclareOption{oldtable}{\thesis@newtable@false} +\DeclareOption{nolot}{\def\thesis@blocks@lot{}} +\DeclareOption{lot}{\let\thesis@blocks@lot\listoftables} +\DeclareOption{nolof}{\def\thesis@blocks@lof{}} +\DeclareOption{lof}{\let\thesis@blocks@lof\listoffigures} +\newif\ifthesis@cover@ +\DeclareOption{nocover}{\thesis@cover@false} +\DeclareOption{cover}{\thesis@cover@true} +% \end{macrocode} +% These are the default options: +% \begin{macrocode} +\ExecuteOptions{12pt,twoside,final,monochrome,palatino, + oldtable,lot,lof,nocover} +\ProcessOptions +% \end{macrocode} +% The file loads the following packages: \begin{itemize} +% \item\textsf{xcolor} -- Adds support for color manipulation. +% \item\textsf{ifxetex} -- Used to detect the \Hologo{XeTeX} +% engine. +% \item\textsf{ifluatex} -- Used to detect the \Hologo{LuaTeX} +% engine. +% \item\textsf{graphix} -- Adds support for the inclusion of +% graphics files. +% \item\textsf{pdfpages} -- Adds support for the injection of PDF +% documents into the resulting document, namely the thesis +% assignment. +% \item\textsf{hyperref} -- Adds support for injecting metadata +% into the resulting PDF document. +% \item\textsf{keyval} -- Adds support for parsing +% comma-delimited lists of key-value pairs. +% \end{itemize} +% \begin{macrocode} +\thesis@require{xcolor} +\thesis@require{graphicx} +\thesis@require{pdfpages} +\thesis@require{keyval} +\thesis@require{ifxetex} +\thesis@require{ifluatex} +% \end{macrocode} +% Using the |\ifxetex| and |\ifluatex| conditionals, a compound +% \DescribeMacro{\ifthesis@xeluatex}|\ifthesis@xeluatex| +% conditional was constructed. This conditional can be used by +% subsequently loaded style files to test,whether either the +% \Hologo{XeTeX} or the \Hologo{LuaTeX} engine is being used. +% \begin{macrocode} +{\let\x\expandafter +\x\global\x\let\x\ifthesis@xeluatex\csname if% + \ifxetex true\else + \ifluatex\x\x\x t\x\x\x r\x\x\x u\x\x\x e% + \else f\x\x\x a\x\x\x l\x\x\x s\x\x\x e% + \fi + \fi\endcsname} +% \end{macrocode} +% The following packages get only loaded, when the document is +% being typeset using the \Hologo{XeTeX} or \Hologo{LuaTeX} +% engine: \begin{itemize} +% \item\textsf{fontspec} -- Allows the selection of +% system-installed fonts. +% \item\textsf{unicode-math} -- Allows the selection of +% system-installed mathematical fonts. +% \end{itemize} +% Under \Hologo{XeTeX}, the \textsf{TeX Gyre Pagella} and +% \textsf{TeX Gyre Pagella Math} are also selected as the main text +% and math fonts. +% \begin{macrocode} +\ifthesis@xeluatex + \ifthesis@palatino@ + \thesis@require{fontspec} + \thesis@require{unicode-math} + \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} + \setmathfont[math-style=ISO,bold-style=ISO,vargreek-shape=TeX]% + {TG Pagella Math} + \fi +% \end{macrocode} +% The following packages get only loaded, when the document is +% not being typeset using the \Hologo{XeTeX} engine and the +% |\ifthesis@palatino@| conditional is \texttt{true}: +% \begin{itemize} +% \item\textsf{cmap} -- Places an an explicit \texttt{ToUnicode} +% map in the resulting PDF file, allowing for extraction of +% the text of the document. +% \item\textsf{mathpazo} -- The virtual \texttt{mathpazo} fonts +% will be used for math. +% \item\textsf{tgpagella} -- Changes the default roman font +% family to \TeX\ Gyre Pagella. +% \item\textsf{lmodern} -- Changes the default sans-serif and +% monotype font faces to Latin Modern instead of the default +% Computer Modern font family. +% \item\textsf{fontenc} -- The font encoding is set to Cork. +% \end{itemize} +% \begin{macrocode} +\else + \ifthesis@palatino@ + \RequirePackage[resetfonts]{cmap} + \thesis@require{lmodern} + \thesis@require{mathpazo} + \thesis@require{tgpagella} + \RequirePackage[T1]{fontenc} + \fi +\fi +% \end{macrocode} +% If the |\thesis@newtable@| and |\thesis@color@| conditionals are +% \texttt{true}, then the following package gets loaded: +% \begin{itemize} +% \item\textsf{tabularx} -- Provides the \texttt{tabularx} +% environment, which enables the typesetting of tables with +% variable-width columns. +% \end{itemize} +% Subsequently, the \texttt{tabular} and \texttt{tabularx} +% environments are redefined to better match the style of the given +% faculty. +% +% The |\thesis@newtable@old| and |\endthesis@newtable@old| macros +% containing the original definition of the |tabular| environment +% are always defined and are available for subsequently loaded +% styles in case the typesetting of unaltered tables is required. +% \begin{macrocode} +\let\thesis@newtable@old\tabular +\let\endthesis@newtable@old\endtabular +\ifthesis@newtable@\ifthesis@color@ + \thesis@require{tabularx} + \thesis@require{booktabs} + % The redefinition of `tabular` + \renewenvironment{tabular}% + {\rowcolors{1}{thesis@color@tableOdd}% + {thesis@color@tableEven}% + \thesis@newtable@old}% + {\endthesis@newtable@old} + % The redefinition of `tabularx` + \let\thesis@newtable@oldx\tabularx + \let\endthesis@newtable@oldx\endtabularx + \renewenvironment{tabularx}% + {\rowcolors{1}{thesis@color@tableOdd}% + {thesis@color@tableEven}% + \thesis@newtable@oldx}% + {\endthesis@newtable@oldx} + % Adjust the measurements + \setlength{\aboverulesep}{0pt} + \setlength{\belowrulesep}{0pt} + \setlength{\extrarowheight}{.75ex} +\fi\fi +% \end{macrocode} +% The \textsf{hyperref} package is configured to support both roman +% and arabic page numbering in one document and to decorate +% hyperlinks with an underline instead of a rectangular box. +% \begin{macrocode} +\thesis@require{hyperref} +\hypersetup{ + pdfborderstyle={/S/U/W 1}, % Less obtrusive borders + plainpages=false, % Multiple page numbering support + pdfpagelabels % Generate pdf page labels +} +% \end{macrocode} +% Clubs and widows are set to be infinitely bad. +% \begin{macrocode} +\widowpenalty 10000 +\clubpenalty 10000 +% \end{macrocode} +% \begin{macro}{\thesis@color@setup} +% The file defines the |\thesis@color@setup|\marg{colors} command, +% where \textit{colors} is a comma-delimited list of key-value +% pairs as defined by the \textsf{keyval} package. The command can +% be invoked either by the subsequently loaded style files or by +% the user to define which colors will be used, when the +% \texttt{color} option is specified. +% \begin{macrocode} +\def\thesis@color@setup#1{% + \setkeys{thesis@color}{#1}} +% \end{macrocode} +% \end{macro} +% The following key-value pairs are supported: +% \begin{enumerate} +% \item\marg{\texttt{links}=color} -- Sets the color of hyperref +% links to \textit{color} and stores it under the name +% \texttt{thesis@color@links}. The default color of links is +% specified by the \textsf{hyperref} package. +% \item\marg{\texttt{tableOdd}=color} -- Stores the color of the +% odd rows of the redefined \texttt{tabular} and +% \texttt{tabularx} environments under the name +% \texttt{thesis@color@tableOdd}. +% \item\marg{\texttt{tableEven}=color} -- Stores the color of the +% even rows of the redefined \texttt{tabular} and +% \texttt{tabularx} environments under the name +% \texttt{thesis@color@tableEven}. +% \item\marg{\texttt{tableEmph}=color} -- Stores the color of an +% emphasized cell in the table for usage by the user under the +% name \texttt{thesis@color@tableEmph}. +% \end{enumerate} +% \begin{macrocode} +\define@key{thesis@color}{links}{% + \definecolor{thesis@color@links}#1 + \hypersetup{linkbordercolor=thesis@color@links}} +\define@key{thesis@color}{tableOdd}{% + \definecolor{thesis@color@tableOdd}#1} +\define@key{thesis@color}{tableEven}{% + \definecolor{thesis@color@tableEven}#1} +\define@key{thesis@color}{tableEmph}{% + \definecolor{thesis@color@tableEmph}#1} +% \end{macrocode} +% The file defines several blocks to be used in the redefinitions +% of the |\thesis@preamble| and |\thesis@postable| private macros +% by the subsequently loaded style files. +% +% \begin{macro}{\thesis@blocks@frontMatter} +% The |\thesis@blocks@frontMatter| private macro sets up the style +% of the front matter of the thesis. +% \begin{macrocode} +\def\thesis@blocks@frontMatter{% + \thesis@blocks@clear + \pagestyle{plain} + \parindent 1.5em + \setcounter{page}{1} + \pagenumbering{roman}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@clear} +% The |\thesis@blocks@clear| private macro clears the current page +% along with the next left-handed (even-numbered) page, when +% double-sided typesetting is enabled. +% \begin{macrocode} +\def\thesis@blocks@clear{% + \ifthesis@twoside@% + \clearpage% + \thispagestyle{empty}% + \cleardoublepage% + \else% + \newpage% + \fi} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@clearRight} +% The |\thesis@blocks@clearRight| private macro clears the current +% page along with the next right-handed (odd-numbered) page, when +% double-sided typesetting is enabled. +% \begin{macrocode} +\def\thesis@blocks@clearRight{% + \ifthesis@twoside@% + \clearpage% + \ifodd\value{page}% + \thispagestyle{empty}% + \hbox{}% + \newpage% + \fi% + \else% + \newpage% + \fi} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@facultyLogo@monochrome} +% The |\thesis@blocks@facultyLogo@monochrome|\oarg{options} private +% macro typesets the |\thesis@logopath\thesis@facultyLogo| logo +% with the given \textit{options} passed to |\includegraphics|. +% \begin{macrocode} +\newcommand{\thesis@blocks@facultyLogo@monochrome}[1]% + [width=40mm]{{% + \edef\@path{\thesis@logopath\thesis@facultyLogo}% + \includegraphics[#1]{\@path}}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@facultyLogo@color} +% The |\thesis@blocks@facultyLogo@color|\oarg{options} private +% macro typesets either the |\thesis@logopath\thesis@facultyLogo| +% logo, if the |\ifthesis|\discretionary{}{}{}|@color@| conditional +% is \texttt{false} or the +% |\thesis@logopath\thesis@facultyLogo-color| logo +% otherwise with the given \textit{options} passed to +% |\includegraphics|. +% \begin{macrocode} +\newcommand{\thesis@blocks@facultyLogo@color}[1]% + [width=40mm]{{% + \edef\@path{\thesis@logopath\thesis@facultyLogo% + \ifthesis@color@-color\fi}% + \includegraphics[#1]{\@path}}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@universityLogo@monochrome} +% The |\thesis@blocks@universityLogo@monochrome|\oarg{options} +% private macro typesets the +% |\thesis@logopath\thesis@universityLogo| logo +% with the given \textit{options} passed to |\includegraphics|. +% \begin{macrocode} +\newcommand{\thesis@blocks@universityLogo@monochrome}[1]% + [width=40mm]{{% + \edef\@path{\thesis@logopath\thesis@universityLogo}% + \includegraphics[#1]{\@path}}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@universityLogo@color} +% The |\thesis@blocks@universityLogo@color|\oarg{options} private +% macro typesets either the |\thesis@logopath\thesis@universityLogo| +% logo, if the |\ifthesis|\discretionary{}{}{}|@color@| conditional +% is \texttt{false} or the +% |\thesis@logopath\thesis@universityLogo-color| logo otherwise +% with the given \textit{options} passed to |\includegraphics|. +% \begin{macrocode} +\newcommand{\thesis@blocks@universityLogo@color}[1]% + [width=40mm]{{% + \edef\@path{\thesis@logopath\thesis@universityLogo% + \ifthesis@color@-color\fi}% + \includegraphics[#1]{\@path}}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@cover} +% The |\thesis@blocks@cover| private macro typesets the thesis +% cover. It is composed of three private macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@blocks@cover@header}^^A +% |\thesis@blocks@cover@header| -- The header of the cover +% page +% \item\DescribeMacro{\thesis@blocks@cover@content}^^A +% |\thesis@blocks@cover@content| -- The content of the cover +% page +% \item\DescribeMacro{\thesis@blocks@cover@footer}^^A +% |\thesis@blocks@cover@footer| -- The footer of the cover +% page +% \end{itemize} +% This allows the subsequently loaded style files to only redefine +% certain parts of the cover page. +% \begin{macrocode} +\def\thesis@blocks@cover{% + \ifthesis@cover@% + \thesis@blocks@clear% + \ifthesis@twoside@\@twosidefalse\fi % Temporarily disable twoside + \begin{alwayssingle}% + \thispagestyle{empty}% + \begin{center}% + \thesis@blocks@cover@header% + \thesis@blocks@facultyLogo@monochrome\\[0.4in]% + \let\footnotesize\small% + \let\footnoterule\relax{}% + \thesis@blocks@cover@content% + \par\vfill% + \thesis@blocks@cover@footer% + \end{center}% + \end{alwayssingle}% + \ifthesis@twoside@\@twosidetrue\fi % Re-enable twoside + \fi} +% \end{macrocode} +% The output of the |\thesis@blocks@cover@header| private macro is +% controlled by the following conditionals: +% \begin{enumerate} +% \item|\ifthesis@blocks@cover@university@| -- This +% conditional expression determines, whether the university +% name is going to be included in the header of the cover. +% The default value of this conditional is \texttt{true}. +% \item|\ifthesis@blocks@cover@faculty@| -- This +% conditional expression determines, whether the faculty +% name is going to be included in the header of the cover. +% The default value of this conditional is \texttt{true}. +% \item|\ifthesis@blocks@cover@department@| -- This +% conditional expression determines, whether the department +% name is going to be included in the header of the cover. +% The default value of this conditional is \texttt{false}. +% \item|\ifthesis@blocks@cover@field@| -- This +% conditional expression determines, whether the field of +% study is going to be included in the header of the cover. +% The default value of this conditional is \texttt{false}. +% \end{enumerate} +% The sebsequently loaded style files can alter the value of these +% conditionals to alter the output of the +% |\thesis@blocks@cover@header| private macro without altering its +% definition. +% \begin{macrocode} +\newif\ifthesis@blocks@cover@university@ +\thesis@blocks@cover@university@true +\newif\ifthesis@blocks@cover@faculty@ +\thesis@blocks@cover@faculty@true +\newif\ifthesis@blocks@cover@department@ +\thesis@blocks@cover@department@false +\newif\ifthesis@blocks@cover@field@ +\thesis@blocks@cover@field@false + +\def\thesis@blocks@cover@header{% + {\sc\ifthesis@blocks@cover@university@% + \thesis@titlePage@LARGE\thesis@@{universityName}\\% + \fi\ifthesis@blocks@cover@faculty@% + \thesis@titlePage@Large\thesis@@{facultyName}\\% + \fi\ifthesis@blocks@cover@department@% + \thesis@titlePage@large\thesis@department\\% + \fi} + \ifthesis@blocks@cover@field@% + {\thesis@titlePage@large\vskip 1em% + {\bf\thesis@@{fieldTitle}:} \thesis@field}% + \fi\vskip 2em} +\def\thesis@blocks@cover@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}} +\def\thesis@blocks@cover@footer{% + {\thesis@titlePage@large\thesis@place, \thesis@@{semester}}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@blocks@titlePage} +% The |\thesis@blocks@titlePage| private macro typesets the thesis +% title page. It is composed of three private macros: +% \begin{itemize} +% \item|\thesis@blocks@titlePage@header| -- The header of the +% cover page +% \item|\thesis@blocks@titlePage@content| -- The content of the +% cover page +% \item|\thesis@blocks@titlePage@footer| -- The footer of the +% cover page +% \end{itemize} +% This allows the subsequently loaded style files to only redefine +% certain parts of the title page. Depending on the value of the +% |\ifthesis@color@| conditional, the faculty logo is loaded from +% either |\thesis@logopath|, if \texttt{false}, or from +% |\thesis@logopath color/|, if \texttt{true}. +% \begin{macrocode} +\def\thesis@blocks@titlePage{% + \thesis@blocks@clear% + \begin{alwayssingle}% + \thispagestyle{empty}% + \begin{center}% + \thesis@blocks@titlePage@header% + \thesis@blocks@facultyLogo@color\\[0.4in]% + \let\footnotesize\small% + \let\footnoterule\relax{}% + \thesis@blocks@titlePage@content% + \par\vfill% + \thesis@blocks@titlePage@footer% + \end{center}% + \end{alwayssingle}} +% \end{macrocode} +% The output of the |\thesis@blocks@titlePage@header| private macro is +% controlled by the following conditionals: +% \begin{enumerate} +% \item|\ifthesis@blocks@titlePage@university@| -- This +% conditional expression determines, whether the university +% name is going to be included in the header of the title +% page. The default value of this conditional is +% \texttt{true}. +% \item|\ifthesis@blocks@titlePage@faculty@| -- This +% conditional expression determines, whether the faculty of +% study is going to be included in the header of the title +% page. The default value of this conditional is +% \texttt{true}. +% \item|\ifthesis@blocks@titlePage@department@| -- This +% conditional expression determines, whether the department +% name is going to be included in the header of the title +% page. The default value of this conditional is +% \texttt{false}. +% \item|\ifthesis@blocks@titlePage@field@| -- This +% conditional expression determines, whether the field of +% study is going to be included in the header of the title +% page. The default value of this conditional is +% \texttt{false}. +% \end{enumerate} +% The sebsequently loaded style files can alter the value of these +% conditionals to alter the output of the +% |\thesis@blocks@titlePage@header| private macro without altering +% its definition. +% \begin{macrocode} +\newif\ifthesis@blocks@titlePage@university@ +\thesis@blocks@titlePage@university@true +\newif\ifthesis@blocks@titlePage@faculty@ +\thesis@blocks@titlePage@faculty@true +\newif\ifthesis@blocks@titlePage@department@ +\thesis@blocks@titlePage@department@false +\newif\ifthesis@blocks@titlePage@field@ +\thesis@blocks@titlePage@field@false + +\def\thesis@blocks@titlePage@header{% + {\sc\ifthesis@blocks@titlePage@university@% + \thesis@titlePage@LARGE\thesis@@{universityName}\\% + \fi\ifthesis@blocks@titlePage@faculty@% + \thesis@titlePage@Large\thesis@@{facultyName}\\% + \fi\ifthesis@blocks@titlePage@department@% + \thesis@titlePage@large\thesis@department\\% + \fi} + \ifthesis@blocks@titlePage@field@% + {\thesis@titlePage@large\vskip 1em% + {\bf\thesis@@{fieldTitle}:} \thesis@field}% + \fi\vskip 2em} +\let\thesis@blocks@titlePage@content=\thesis@blocks@cover@content +\let\thesis@blocks@titlePage@footer=\thesis@blocks@cover@footer +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@tables} +% The |\thesis@blocks@tables| private macro typesets the table of +% contents and optionally the |\listoftables| and the +% |\listoffigures|. +% \begin{macrocode} +\def\thesis@blocks@tables{% + \thesis@blocks@clear% + \tableofcontents% + \thesis@blocks@lot% + \thesis@blocks@lof} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@declaration} +% The |\thesis@blocks@declaration| private macro typesets the +% declaration text. +% \begin{macrocode} +\def\thesis@blocks@declaration{% + \thesis@blocks@clear% + \begin{alwayssingle}% + \chapter*{\thesis@@{declarationTitle}}% + \thesis@declaration% + \vskip 2cm% + \hfill\thesis@author% + \end{alwayssingle}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@thanks} +% The |\thesis@blocks@thanks| private macro typesets the +% acknowledgement, if the |\thesis@thanks| private macro is +% defined. +% \begin{macrocode} +\def\thesis@blocks@thanks{% + \ifx\thesis@thanks\undefined\else% + \thesis@blocks@clear% + \begin{alwayssingle}% + \chapter*{\vspace*{\fill}\thesis@@{thanksTitle}}% + \thesis@thanks% + \end{alwayssingle}% + \fi} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@abstract} +% The |\thesis@blocks@abstract| private macro typesets the +% abstract. +% \begin{macrocode} +\def\thesis@blocks@abstract{% + \begin{alwayssingle}% + % Start the new chapter without clearing the right page + {\def\cleardoublepage{} + \chapter*{\thesis@@{abstractTitle}}}% + \noindent\thesis@abstract% + \par\vfil\null% + \end{alwayssingle}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@abstractEn} +% The |\thesis@blocks@abstractEn| private macro typesets the +% abstract in English. If the current locale is English, the +% macro produces no output. A style file that uses this block +% needs to require the English locale. +% \begin{macrocode} +\def\thesis@blocks@abstractEn{% + \ifthesis@english\else% + \begin{alwayssingle}% + % Start the new chapter without clearing the right page + {\def\cleardoublepage{}% + \chapter*{\thesis@{english@abstractTitle}}% + \thesis@abstractEn}% + \par\vfil\null% + \end{alwayssingle}% + \fi} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@keywords} +% The |\thesis@blocks@keywords| private macro typesets the +% keywords. +% \begin{macrocode} +\def\thesis@blocks@keywords{% + \begin{alwayssingle}% + % Start the new chapter without clearing the right page + {\def\cleardoublepage{}% + \chapter*{\thesis@@{keywordsTitle}}% + \noindent\thesis@TeXkeywords}% + \par\vfil\null% + \end{alwayssingle}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@keywordsEn} +% The |\thesis@blocks@keywordsEn| private macro typesets the +% keywords in English. If the current locale is English, the +% macro produces no output. A style file that uses this block +% needs to require the English locale. +% \begin{macrocode} +\def\thesis@blocks@keywordsEn{% + \ifthesis@english\else% + \begin{alwayssingle}% + % Start the new chapter without clearing the right page + {\def\cleardoublepage{}% + \chapter*{\thesis@{english@keywordsTitle}}% + \thesis@TeXkeywordsEn}% + \par\vfil\null% + \end{alwayssingle}% + \fi} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@assignment} +% The |\thesis@blocks@assignment| private macro either: +% \begin{itemize} +% \item Expands to an empty token list, when the first +% expansion of |\thesis@assignmentPDF| yields an empty token +% list or when the |\ifthesis@blocks@assignment@| conditional +% is \texttt{false}. +% \item Typesets a placeholder page to be replaced with the +% official thesis assignment, when |\thesis@assignmentPDF| +% is undefined and the |\ifthesis@blocks|\discretionary{}{}^^A +% {}|@assignment@| conditional is \texttt{true}. +% \item Injects the PDF file(s) specified within the +% |\thesis@assignmentPDF| macro, when |\thesis@assignmentPDF| +% is defined, its first expansion yields a non-empty token list +% and the |\ifthesis@blocks@assignment@| conditional is +% \texttt{true}. +% \end{itemize} +% The default value of the \DescribeMacro{\ifthesis@blocks@assig^^A +% nment@}|\ifthesis@blocks@assignment@| conditional is +% \texttt{true}. +% \begin{macrocode} +\newif\ifthesis@blocks@assignment@ +\thesis@blocks@assignment@true +\def\thesis@blocks@assignment{% + \ifthesis@blocks@assignment@% + \ifx\thesis@assignmentFiles\undefined% + % Typeset a placeholder page. + \thesis@blocks@clear% + \begin{alwayssingle}% + \thispagestyle{empty}% + \addtocounter{page}{-\ifthesis@twoside@2\else1\fi}% + \noindent\textit{\thesis@@{assignment}}% + \end{alwayssingle}% + \else% + {\edef\@pdfList{\thesis@assignmentFiles}% + \ifx\@pdfList\empty\else + \let\ea\expandafter + % Inject the specified PDF documents. + \def\@inject##1,{\thesis@blocks@clear + \def\@args{##1}\def\@relax{\relax}% + \ifx\@args\@relax\else% + % Trim leading spaces. + \edef\@trimmed{\romannumeral-`\.##1}% + \includepdf[pages=-]\@trimmed + \ea\@inject\fi}% + \ea\@inject\@pdfList,\relax,% + \fi}% + \fi% + \fi} +% \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. +% \begin{macrocode} +\def\thesis@blocks@mainMatter{% + \thesis@blocks@clear + \setcounter{page}{1} + \pagenumbering{arabic} + \pagestyle{thesisheadings} + \parindent 1.5em\relax} +% \end{macrocode} +% \end{macro} +% The rest of the file comprises redefinitions of \LaTeX\ commands +% and private \texttt{rapport3} class macros altering the layout of +% the resulting document. Depending on the type size of 10, 11 or +% 12 points, either the \texttt{fithesis-10.clo}, +% \texttt{fithesis-11.clo} or \texttt{fithesis-12.clo} file is +% loaded from the |\thesis@stylepath| |mu| directory, respectively. +% \begin{macrocode} +% Table of contents will contain sectioning commands up to +% \subsubsection +\setcounter{tocdepth}{4} + +% Load the `fithesis-1*.clo` size option +\input\thesis@stylepath mu/fithesis-1\thesis@ptsize.clo\relax + +\def\ps@thesisheadings{% +\def\chaptermark##1{% +\markright{% +\ifnum\c@secnumdepth >\m@ne +\thechapter.\ % +\fi ##1}} +\let\@oddfoot\@empty +\let\@oddhead\@empty +\def\@oddhead{\vbox{\hbox to \textwidth{% +\hfil{\sc\rightmark}}\vskip 4pt\hrule}} +\if@twoside + \def\@evenhead{\vbox{\hbox to \textwidth{% + {\sc\rightmark}\hfil}\vskip 4pt\hrule}} +\else + \let\@evenhead\@oddhead +\fi +\def\@oddfoot{\hfil\PageFont\thepage} +\if@twoside + \def\@evenfoot{\PageFont\thepage\hfil}% +\else + \let\@evenfoot\@oddfoot +\fi +\let\@mkboth\markboth +} + +% Redefines the style of the chapter headings +\renewcommand*\chapter{% +\if@twoside + \clearpage + \thispagestyle{empty} + \cleardoublepage +\else + \clearpage +\fi +\thispagestyle{plain}% +\global\@topnum\z@ +\@afterindentfalse +\secdef\@chapter\@schapter} + +% Redefines the style of part headings +\renewcommand*\part{% +\clearpage +\thispagestyle{empty} +\cleardoublepage +\thispagestyle{empty}% +\if@twocolumn% + \onecolumn + \@tempswatrue +\else + \@tempswafalse +\fi +\hbox{}\vfil +\secdef\@part\@spart} + +\newif\if@restonecol +\def\alwayssingle{% + \@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\fi} +\def\endalwayssingle{\if@restonecol\twocolumn\fi} + +\renewcommand*\l@part[2]{% + \ifnum \c@tocdepth >-2\relax + \addpenalty{-\@highpenalty}% + \addvspace{0.5em \@plus\p@}% + \begingroup + \setlength\@tempdima{3em}% + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + {\leavevmode + \normalfont \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par + \nobreak + \global\@nobreaktrue + \everypar{\global\@nobreakfalse\everypar{}}% + \endgroup + \addvspace{0.2em \@plus\p@}% + \fi} + +\renewcommand*\l@chapter[2]{% + \ifnum \c@tocdepth >\m@ne + \addpenalty{-\@highpenalty}% + \vskip 1.0em \@plus\p@ + \setlength\@tempdima{1.5em}% + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \bfseries + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \penalty\@highpenalty + \endgroup + \fi} + +\renewcommand*\l@chapter{\@dottedtocline{1}{0em}{1.5em}} +\renewcommand*\l@section{\@dottedtocline{2}{1.5em}{2.3em}} +\renewcommand*\l@subsection{\@dottedtocline{3}{3.8em}{3.2em}} +\renewcommand*\l@subsubsection{\@dottedtocline{4}{7.0em}{3.8em}} +% \end{macrocode}\iffalse +%</base> +% \fi\file{style/mu/fithesis-10.clo} +% This file is conditionally loaded by the +% \texttt{style/mu/base.sty} file to redefine the page geometry to +% match the type size of 10 points. +% \begin{macrocode} +%<*opt> +%<*10pt> +\ProvidesFile{fithesis/style/mu/fithesis-10.clo}[2015/06/23] + +\renewcommand{\normalsize}{\fontsize\@xpt{12}\selectfont% +\abovedisplayskip 10\p@ plus2\p@ minus5\p@ +\belowdisplayskip \abovedisplayskip +\abovedisplayshortskip \z@ plus3\p@ +\belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ +\let\@listi\@listI} + +\renewcommand{\small}{\fontsize\@ixpt{11}\selectfont% +\abovedisplayskip 8.5\p@ plus3\p@ minus4\p@ +\belowdisplayskip \abovedisplayskip +\abovedisplayshortskip \z@ plus2\p@ +\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@ +\def\@listi{\leftmargin\leftmargini +\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@ +\itemsep \parsep}} + +\renewcommand{\footnotesize}{\fontsize\@viiipt{9.5}\selectfont% +\abovedisplayskip 6\p@ plus2\p@ minus4\p@ +\belowdisplayskip \abovedisplayskip +\abovedisplayshortskip \z@ plus\p@ +\belowdisplayshortskip 3\p@ plus\p@ minus2\p@ +\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 +\topsep 3\p@ plus\p@ minus\p@\parsep 2\p@ plus\p@ minus\p@ +\itemsep \parsep}} + +\renewcommand{\scriptsize}{\fontsize\@viipt{8pt}\selectfont} +\renewcommand{\tiny}{\fontsize\@vpt{6pt}\selectfont} +\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont} +\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont} +\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont} +\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont} +\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont} + +%</10pt> +% \end{macrocode} +% \file{style/mu/fithesis-11.clo} +% This file is conditionally loaded by the +% \texttt{style/mu/base.sty} file to redefine the page geometry to +% match the type size of 11 points. +% \begin{macrocode} +%<*11pt> +\ProvidesFile{fithesis/style/mu/fithesis-11.clo}[2015/06/23] + +\renewcommand{\normalsize}{\fontsize\@xipt{14}\selectfont% +\abovedisplayskip 11\p@ plus3\p@ minus6\p@ +\belowdisplayskip \abovedisplayskip +\belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@ +%\abovedisplayshortskip \z@ plus3\@p +\let\@listi\@listI} + +\renewcommand{\small}{\fontsize\@xpt{12}\selectfont% +\abovedisplayskip 10\p@ plus2\p@ minus5\p@ +\belowdisplayskip \abovedisplayskip +\abovedisplayshortskip \z@ plus3\p@ +\belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ +\def\@listi{\leftmargin\leftmargini +\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@ +\itemsep \parsep}} + +\renewcommand{\footnotesize}{\fontsize\@ixpt{11}\selectfont% +\abovedisplayskip 8\p@ plus2\p@ minus4\p@ +\belowdisplayskip \abovedisplayskip +\abovedisplayshortskip \z@ plus\p@ +\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@ +\def\@listi{\leftmargin\leftmargini +\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@ +\itemsep \parsep}} + +\renewcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont} +\renewcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont} +\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont} +\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont} +\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont} +\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont} +\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont} + +%</11pt> +% \end{macrocode} +% \file{style/mu/fithesis-12.clo} +% This file is conditionally loaded by the +% \texttt{style/mu/base.sty} file to redefine the page geometry to +% match the type size of 12 points. The type dimensions defined by +% the file are stored in the following private macros as well: +% \begin{itemize} +% \item\DescribeMacro{\thesis@titlePage@normalsize}% +% |\thesis@titlePage@normalsize| -- Equivalent to |\normalsize| +% \item\DescribeMacro{\thesis@titlePage@small}% +% |\thesis@titlePage@small| -- Equivalent to |\small| +% \item\DescribeMacro{\thesis@titlePage@footnotesize}% +% |\thesis@titlePage@footnotesize| -- Equivalent to +% |\footnotesize| +% \item\DescribeMacro{\thesis@titlePage@scriptsize}% +% |\thesis@titlePage@scriptsize| -- Equivalent to |\scriptsize| +% \item\DescribeMacro{\thesis@titlePage@tiny}% +% |\thesis@titlePage@tiny| -- Equivalent to |\tiny| +% \item\DescribeMacro{\thesis@titlePage@large}% +% |\thesis@titlePage@large| -- Equivalent to |\large| +% \item\DescribeMacro{\thesis@titlePage@Large}% +% |\thesis@titlePage@Large| -- Equivalent to |\Large| +% \item\DescribeMacro{\thesis@titlePage@LARGE}% +% |\thesis@titlePage@LARGE| -- Equivalent to |\LARGE| +% \item\DescribeMacro{\thesis@titlePage@huge}% +% |\thesis@titlePage@huge| -- Equivalent to |\huge| +% \item\DescribeMacro{\thesis@titlePage@Huge}% +% |\thesis@titlePage@Huge| -- Equivalent to |\Huge| +% \end{itemize} +% These private macros can be used to typeset elements, whose size +% should remain constant regardless of the font size setting. +% \begin{macrocode} +%<*12pt> +\ProvidesFile{fithesis/style/mu/fithesis-12.clo}[2015/06/23] +%</12pt> + +\def\thesis@titlePage@normalsize{\fontsize\@xiipt{14.5}% +\selectfont\abovedisplayskip 12\p@ plus3\p@ minus7\p@ +\belowdisplayskip \abovedisplayskip +\abovedisplayshortskip \z@ plus3\p@ +\belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@ +\let\@listi\@listI} + +\def\thesis@titlePage@small{\fontsize\@xipt{13.6}\selectfont% +\abovedisplayskip 11\p@ plus3\p@ minus6\p@ +\belowdisplayskip \abovedisplayskip +\abovedisplayshortskip \z@ plus3\p@ +\belowdisplayshortskip 6.5\p@ plus3.5\p@ minus3\p@ +\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 +\parsep 4.5\p@ plus2\p@ minus\p@ + \itemsep \parsep + \topsep 9\p@ plus3\p@ minus5\p@}} + +\def\thesis@titlePage@footnotesize{\fontsize\@xpt{12}\selectfont% +\abovedisplayskip 10\p@ plus2\p@ minus5\p@ +\belowdisplayskip \abovedisplayskip +\abovedisplayshortskip \z@ plus3\p@ +\belowdisplayshortskip 6\p@ plus3\p@ minus3\p@ +\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87 +\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@ +\itemsep \parsep}} + +\def\thesis@titlePage@scriptsize{\fontsize\@viiipt{9.5pt}\selectfont} +\def\thesis@titlePage@tiny{\fontsize\@vipt{7pt}\selectfont} +\def\thesis@titlePage@large{\fontsize\@xivpt{18pt}\selectfont} +\def\thesis@titlePage@Large{\fontsize\@xviipt{22pt}\selectfont} +\def\thesis@titlePage@LARGE{\fontsize\@xxpt{25pt}\selectfont} +\def\thesis@titlePage@huge{\fontsize\@xxvpt{30pt}\selectfont} +\def\thesis@titlePage@Huge{\fontsize\@xxvpt{30pt}\selectfont} + +%<*12pt> +\renewcommand{\normalsize}{\thesis@titlePage@normalsize} +\renewcommand{\small}{\thesis@titlePage@small} +\renewcommand{\footnotesize}{\thesis@titlePage@footnotesize} +\renewcommand{\scriptsize}{\thesis@titlePage@scriptsize} +\renewcommand{\tiny}{\thesis@titlePage@tiny} +\renewcommand{\large}{\thesis@titlePage@large} +\renewcommand{\Large}{\thesis@titlePage@Large} +\renewcommand{\LARGE}{\thesis@titlePage@LARGE} +\renewcommand{\huge}{\thesis@titlePage@huge} +\renewcommand{\Huge}{\thesis@titlePage@Huge} +%</12pt> +\let\@normalsize\normalsize +\normalsize + +\if@twoside + \oddsidemargin 0.75in + \evensidemargin 0.4in + \marginparwidth 0pt +\else + \oddsidemargin 0.75in + \evensidemargin 0.75in + \marginparwidth 0pt +\fi +\marginparsep 10pt + +\topmargin 0.4in + +\headheight 20pt +\headsep 10pt +\topskip 10pt +\footskip 30pt + +%<*10pt> +\textheight = 43\baselineskip +\advance\textheight by \topskip +\textwidth 5.0truein +\columnsep 10pt +\columnseprule 0pt + +\footnotesep 6.65pt +\skip\footins 9pt plus 4pt minus 2pt +\floatsep 12pt plus 2pt minus 2pt +\textfloatsep 20pt plus 2pt minus 4pt +\intextsep 12pt plus 2pt minus 2pt +\dblfloatsep 12pt plus 2pt minus 2pt +\dbltextfloatsep 20pt plus 2pt minus 4pt + +\@fptop 0pt plus 1fil +\@fpsep 8pt plus 2fil +\@fpbot 0pt plus 1fil +\@dblfptop 0pt plus 1fil +\@dblfpsep 8pt plus 2fil +\@dblfpbot 0pt plus 1fil +\marginparpush 5pt + +\parskip 0pt plus 1pt +\partopsep 2pt plus 1pt minus 1pt + +%</10pt> +% +%<*11pt> +\textheight = 39\baselineskip +\advance\textheight by \topskip +\textwidth 5.0truein +\columnsep 10pt +\columnseprule 0pt + +\footnotesep 7.7pt +\skip\footins 10pt plus 4pt minus 2pt +\floatsep 12pt plus 2pt minus 2pt +\textfloatsep 20pt plus 2pt minus 4pt +\intextsep 12pt plus 2pt minus 2pt +\dblfloatsep 12pt plus 2pt minus 2pt +\dbltextfloatsep 20pt plus 2pt minus 4pt + +\@fptop 0pt plus 1fil +\@fpsep 8pt plus 2fil +\@fpbot 0pt plus 1fil +\@dblfptop 0pt plus 1fil +\@dblfpsep 8pt plus 2fil +\@dblfpbot 0pt plus 1fil +\marginparpush 5pt + +\parskip 0pt plus 0pt +\partopsep 3pt plus 1pt minus 2pt + +%</11pt> +% +%<*12pt> +\textheight = 37\baselineskip +\advance\textheight by \topskip +\textwidth 5.0truein +\columnsep 10pt +\columnseprule 0pt + +\footnotesep 8.4pt +\skip\footins 10.8pt plus 4pt minus 2pt +\floatsep 14pt plus 2pt minus 4pt +\textfloatsep 20pt plus 2pt minus 4pt +\intextsep 14pt plus 4pt minus 4pt +\dblfloatsep 14pt plus 2pt minus 4pt +\dbltextfloatsep 20pt plus 2pt minus 4pt + +\@fptop 0pt plus 1fil +\@fpsep 10pt plus 2fil +\@fpbot 0pt plus 1fil +\@dblfptop 0pt plus 1fil +\@dblfpsep 10pt plus 2fil +\@dblfpbot 0pt plus 1fil +\marginparpush 7pt + +\parskip 0pt plus 0pt +\partopsep 3pt plus 2pt minus 2pt + +%</12pt> +\@lowpenalty 51 +\@medpenalty 151 +\@highpenalty 301 +\@beginparpenalty -\@lowpenalty +\@endparpenalty -\@lowpenalty +\@itempenalty -\@lowpenalty + +\def\@makechapterhead#1{% + {% + \setlength\parindent{\z@}% + \setlength\parskip {\z@}% + \ifnum + \c@secnumdepth >\m@ne + \par\nobreak + \vskip 10\p@ + \fi + \Large \ChapFont \thechapter{} \space #1\par + \nobreak + \vskip 20\p@ + }% +} + +\def\@makeschapterhead#1{% + {% + \setlength\parindent{\z@}% + \setlength\parskip {\z@}% + \Large \ChapFont #1\par + \nobreak + \vskip 20\p@ + }% +} + +\def\chapter{% + \clearpage + \thispagestyle{plain} + \global\@topnum\z@ + \@afterindentfalse + \secdef\@chapter\@schapter + } + +\def\@chapter[#1]#2{% + \ifnum \c@secnumdepth + >\m@ne + \refstepcounter{chapter}% + \typeout{\@chapapp\space\thechapter.}% + \addcontentsline{toc}{chapter}{\protect + \numberline{\thechapter}\bfseries #1} + \else% + \addcontentsline{toc}{chapter}{\bfseries #1} + \fi + \chaptermark{#1}% + \addtocontents{lof}% + {\protect\addvspace{4\p@}} + \addtocontents{lot}% + {\protect\addvspace{4\p@}} + \if@twocolumn + \@topnewpage[\@makechapterhead{#2}]% + \else + \@makechapterhead{#2}% + \@afterheading + \fi +} + +%\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]% +% \else \@makeschapterhead{#1}% +% \markright{#1} +% \@afterheading\fi} + +\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus + -.2ex}{2.3ex plus.2ex}{\reset@font\large\bfseries}} +\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex + minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}} +\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus + -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize}} +\def\paragraph{\@startsection + {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font + \normalsize\bfseries}} +\def\subparagraph{\@startsection + {subparagraph}{4}{\parindent}{3.25ex plus1ex minus + .2ex}{-1em}{\reset@font\normalsize\bfseries}} + +\setcounter{secnumdepth}{2} + +\def\appendix{\par + \setcounter{chapter}{0}% + \setcounter{section}{0}% + \def\@chapapp{\appendixname}% + \def\thechapter{\Alph{chapter}}} + +\leftmargini 2.5em +\leftmarginii 2.2em % > \labelsep + width of '(m)' +\leftmarginiii 1.87em % > \labelsep + width of 'vii.' +\leftmarginiv 1.7em % > \labelsep + width of 'M.' +\leftmarginv 1em +\leftmarginvi 1em + +\leftmargin\leftmargini +\labelsep .5em +\labelwidth\leftmargini\advance\labelwidth-\labelsep + +%<*10pt> +\def\@listI{\leftmargin\leftmargini \parsep 4\p@ plus2\p@ minus\p@% +\topsep 8\p@ plus2\p@ minus4\p@ +\itemsep 4\p@ plus2\p@ minus\p@} + +\let\@listi\@listI +\@listi + +\def\@listii{\leftmargin\leftmarginii + \labelwidth\leftmarginii\advance\labelwidth-\labelsep + \topsep 4\p@ plus2\p@ minus\p@ + \parsep 2\p@ plus\p@ minus\p@ + \itemsep \parsep} + +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii\advance\labelwidth-\labelsep + \topsep 2\p@ plus\p@ minus\p@ + \parsep \z@ \partopsep\p@ plus\z@ minus\p@ + \itemsep \topsep} + +\def\@listiv{\leftmargin\leftmarginiv + \labelwidth\leftmarginiv\advance\labelwidth-\labelsep} + +\def\@listv{\leftmargin\leftmarginv + \labelwidth\leftmarginv\advance\labelwidth-\labelsep} + +\def\@listvi{\leftmargin\leftmarginvi + \labelwidth\leftmarginvi\advance\labelwidth-\labelsep} +%</10pt> +% +%<*11pt> +\def\@listI{\leftmargin\leftmargini \parsep 4.5\p@ plus2\p@ minus\p@ +\topsep 9\p@ plus3\p@ minus5\p@ +\itemsep 4.5\p@ plus2\p@ minus\p@} + +\let\@listi\@listI +\@listi + +\def\@listii{\leftmargin\leftmarginii + \labelwidth\leftmarginii\advance\labelwidth-\labelsep + \topsep 4.5\p@ plus2\p@ minus\p@ + \parsep 2\p@ plus\p@ minus\p@ + \itemsep \parsep} + +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii\advance\labelwidth-\labelsep + \topsep 2\p@ plus\p@ minus\p@ + \parsep \z@ \partopsep \p@ plus\z@ minus\p@ + \itemsep \topsep} + +\def\@listiv{\leftmargin\leftmarginiv + \labelwidth\leftmarginiv\advance\labelwidth-\labelsep} + +\def\@listv{\leftmargin\leftmarginv + \labelwidth\leftmarginv\advance\labelwidth-\labelsep} + +\def\@listvi{\leftmargin\leftmarginvi + \labelwidth\leftmarginvi\advance\labelwidth-\labelsep} +%</11pt> +% +%<*12pt> +\def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@ +\topsep 10\p@ plus4\p@ minus6\p@ +\itemsep 5\p@ plus2.5\p@ minus\p@} + +\let\@listi\@listI +\@listi + +\def\@listii{\leftmargin\leftmarginii + \labelwidth\leftmarginii\advance\labelwidth-\labelsep + \topsep 5\p@ plus2.5\p@ minus\p@ + \parsep 2.5\p@ plus\p@ minus\p@ + \itemsep \parsep} + +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii\advance\labelwidth-\labelsep + \topsep 2.5\p@ plus\p@ minus\p@ + \parsep \z@ \partopsep \p@ plus\z@ minus\p@ + \itemsep \topsep} + +\def\@listiv{\leftmargin\leftmarginiv + \labelwidth\leftmarginiv\advance\labelwidth-\labelsep} + +\def\@listv{\leftmargin\leftmarginv + \labelwidth\leftmarginv\advance\labelwidth-\labelsep} + +\def\@listvi{\leftmargin\leftmarginvi + \labelwidth\leftmarginvi\advance\labelwidth-\labelsep} +%</12pt> +%</opt> +% \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/base.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/base.ins new file mode 100644 index 00000000000..d73cfb271b9 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/base.ins @@ -0,0 +1,6 @@ +\input ../../LICENSE +\generate{\file{fithesis-base.sty}{\from{base.dtx}{base}} + \file{fithesis-10.clo}{\from{base.dtx}{opt,10pt}} + \file{fithesis-11.clo}{\from{base.dtx}{opt,11pt}} + \file{fithesis-12.clo}{\from{base.dtx}{opt,12pt}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx new file mode 100644 index 00000000000..a21dfaa6f63 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx @@ -0,0 +1,169 @@ +% \file{style/mu/fithesis-econ.sty} +% This is the style file for the theses written at the Faculty of +% Economics and Administration 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{ht^^A +% tp://is.muni.cz/auth/do/econ/predpisy/smernice/prehled/45931^^A +% 363/Smernice2014-9.pdf}}. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis/style/mu/fithesis-econ}[2015/06/23] +% \end{macrocode} +% The file defines the color scheme of the respective faculty. +% \begin{macrocode} +\thesis@color@setup{ + links={HTML}{E68935}, + tableEmph={HTML}{E8B88B}, + tableOdd={HTML}{F5ECEB}, + tableEven={HTML}{EBD8D5}} +% \end{macrocode} +% In addition to the main locale, the file also requires the +% English locale. +% \begin{macrocode} +\thesis@requireLocale{english} +% \end{macrocode} +% The file loads the following packages: +% \begin{itemize} +% \item\textsf{tikz} -- Used for dimension arithmetic. +% \item\textsf{geometry} -- Allows for modifications of the type +% area dimensions. +% \end{itemize} +% In addition to this, the type area width is set to +% 16\,cm in accordance with the formal requirements of the faculty. +% This leads to overfull lines and is against the good conscience +% of the author of this style. +% \begin{macrocode} +\thesis@require{tikz} +\thesis@require{geometry} +\geometry{top=25mm,bottom=20mm,left=25mm,right=25mm,includeheadfoot} +% \end{macrocode} +% \begin{macro}{\thesis@blocks@cover} +% The |\thesis@blocks@cover| private macro typesets the thesis +% cover. +% \begin{macrocode} +\def\thesis@blocks@cover{% + \ifthesis@cover@ + \thesis@blocks@clear + \begin{alwayssingle} + \thispagestyle{empty} + \begin{center} + {\sc\thesis@titlePage@LARGE\thesis@@{universityName}\\% + \thesis@titlePage@Large\thesis@@{facultyName}\\} + \vfill + {\bf\thesis@titlePage@Huge\thesis@@{typeName}} + \vfill + {\thesis@titlePage@large\thesis@place + \ \thesis@year\hfill\thesis@author} + \end{center} + \end{alwayssingle} + \fi} +% \end{macrocode} +% \end{macro} +% The style file configures the title page header to include the +% name of the field of study and redefines the title page content +% not to include the author's name and the title page footer +% to include both the author's and advisor's name, the year and +% place of the thesis defense as per the requirements of the +% faculty. +% \begin{macrocode} +\thesis@blocks@titlePage@field@true +\def\thesis@blocks@titlePage@content{% + {\thesis@titlePage@Huge\bf\thesis@TeXtitle} + \ifthesis@english\else + {\\[0.1in]\thesis@titlePage@Large\bf\thesis@TeXtitleEn} + \fi {\\[0.3in]\thesis@titlePage@large\sc\thesis@@{typeName}\\}} +\def\thesis@blocks@titlePage@footer{% + {\thesis@titlePage@large + {% Calculate the width of the thesis author and advisor boxes + \let\@A\relax\newlength{\@A}\settowidth{\@A}{{% + \bf\thesis@@{advisorTitle}:}} + \let\@B\relax\newlength{\@B}\settowidth{\@B}{\thesis@advisor} + \let\@C\relax\newlength{\@C}\settowidth{\@C}{{% + \bf\thesis@@{authorTitle}:}} + \let\@D\relax\newlength{\@D}\settowidth{\@D}{\thesis@author} + \let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{% + max(\@A,\@B)} + \let\@right\relax\newlength{\@right}\pgfmathsetlength{\@right}{% + max(\@C,\@D)} + % Typeset the thesis author and advisor boxes + \vskip 2in\begin{minipage}[t]{\@left} + {\bf\thesis@@{advisorTitle}:}\\\thesis@advisor + \end{minipage}\hfill\begin{minipage}[t]{\@right} + {\bf\thesis@@{authorTitle}:}\\\thesis@author + \end{minipage}}\\[4em]\thesis@place, \thesis@year}} +% \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 and it is hidden. In case of +% double-sided typesetting, the geometry is altered according to +% the requirements of the faculty. +% \begin{macrocode} +\def\thesis@blocks@frontMatter{% + \thesis@blocks@clear + % In case of double-sided typesetting, change the geometry + \ifthesis@twoside@ + \newgeometry{top=25mm,bottom=20mm,left=35mm, + right=15mm, includeheadfoot} + \fi\pagestyle{empty} + \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}\begin{macro}{\thesis@blocks@toc} +% The |\thesis@blocks@toc| private macro typesets the table of +% contents. +% \begin{macrocode} +\def\thesis@blocks@toc{% + \thesis@blocks@clear% + \tableofcontents} +% \end{macro}\begin{macro}{\thesis@blocks@tables} +% The |\thesis@blocks@tables| private macro optionally typesets the +% |\listoftables| and |\listoffigures|. +% \begin{macrocode} +\def\thesis@blocks@tables{% + \thesis@blocks@clear% + \thesis@blocks@lot% + \thesis@blocks@lof} +% \end{macrocode} +% \end{macro} +% The style file defines the autolayout preamble as the cover and +% the title page followed by the abstracts, keywords, declaration, +% acknowledgement and table of contents. All blocks are defined in +% the \texttt{style/mu/base.sty} file, although some are redefined +% in this file. +% \begin{macrocode} +\def\thesis@preamble{% + \thesis@blocks@cover% + \thesis@blocks@frontMatter% + \thesis@blocks@titlePage% + \thesis@blocks@assignment% + \thesis@blocks@clearRight% + \thesis@blocks@abstract% + \thesis@blocks@abstractEn% + \thesis@blocks@keywords% + \thesis@blocks@keywordsEn% + \thesis@blocks@declaration% + \thesis@blocks@thanks% + \thesis@blocks@toc% + \thesis@blocks@mainMatter} +% \end{macrocode} +% The style file defines the autolayout postamble as the list of +% tables and the list of figures. All blocks are defined in the +% \texttt{style/mu/base.sty} file, although some are redefined in +% this file. +% \begin{macrocode} +\def\thesis@postamble{% + \thesis@blocks@tables} +% \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/econ.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.ins new file mode 100644 index 00000000000..a6689764cf4 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{fithesis-econ.sty}{\from{econ.dtx}{}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fi.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/fi.dtx new file mode 100644 index 00000000000..2b06f837acb --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fi.dtx @@ -0,0 +1,103 @@ +% \file{style/mu/fithesis-fi.sty} +% This is the style file for the theses written at the Faculty of +% Informatics 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://www.fi.muni.cz/docs/BP_DP_na_FI.pdf}}. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis/style/mu/fithesis-fi}[2015/06/23] +% \end{macrocode} +% The file defines the color scheme of the respective faculty. +% \begin{macrocode} +\thesis@color@setup{ + links={HTML}{FFD451}, + tableEmph={HTML}{FFD451}, + tableOdd={HTML}{FFF9E5}, + tableEven={HTML}{FFECB3}} +% \end{macrocode} +% In case of rigorous and doctoral theses, the style file hides the +% thesis assignment in accordance with the formal requirements of +% the faculty. +% \begin{macrocode} +\ifx\thesis@type\thesis@bachelors\else +\ifx\thesis@type\thesis@masters\else + \thesis@blocks@assignment@false +\fi\fi +% \end{macrocode} +% \begin{macro}{\thesis@blocks@titlePage} +% The style file redefines the cover and title page footers to +% include the thesis advisor's name and signature in case of a +% rigorous thesis. Along with the macros required by the +% locale file interface, the locale files need to define the +% following private macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@advisorSignature}% +% |\thesis@advisorSignature| -- The label of the advisor +% signature field typeset in the case of a rigorous thesis +% \end{itemize} +% \begin{macrocode} +\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} + % If this is a rigorous thesis, typeset the name of the + % thesis advisor. + \ifx\thesis@type\thesis@rigorous% + {\thesis@titlePage@large\\[0.3in] + {\bf\thesis@@{advisorTitle}:} \thesis@advisor} + \fi}% +\def\thesis@blocks@titlePage@footer{% + {\thesis@titlePage@large\thesis@place, \thesis@@{semester} + % If this is a rigorous thesis, create space for the advisor's + % signature + \ifx\thesis@type\thesis@rigorous% + \let\@A\relax\newlength{\@A} + \settowidth{\@A}{\thesis@@{advisorSignature}} + \setlength{\@A}{\@A+1cm} + \hfill\raisebox{-0.5em}{\parbox{\@A}{ + \centering + \rule{\@A}{1pt}\\ + \thesis@@{advisorSignature} + }} + \fi}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@declaration} +% The |\thesis@blocks@declaration| private macro typesets the +% declaration text. Compared to the definition within the +% \texttt{style/mu/base.sty} file, this private macro also +% typesets the advisor's name at the bottom of the page. +% \begin{macrocode} +\def\thesis@blocks@declaration{% + \thesis@blocks@clear% + \begin{alwayssingle}% + \chapter*{\thesis@@{declarationTitle}}% + \thesis@declaration% + \vskip 2cm% + \hfill\thesis@author% + \par\vfill% + \textbf{\thesis@@{advisorTitle}:} \thesis@advisor% + \par\vfil% + \end{alwayssingle}} +% \end{macrocode} +% \end{macro} +% The style file defines the autolayout preamble as the cover and +% the title page followed by the assignment, declaration, +% acknowledgement, abstract, keywords, table of contents and list +% of tables and figures as a part of the front matter. All blocks +% beside |\thesis@titlePage| 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@assignment% + \thesis@blocks@declaration% + \thesis@blocks@thanks% + \thesis@blocks@clearRight% + \thesis@blocks@abstract% + \thesis@blocks@keywords% + \thesis@blocks@tables% + \thesis@blocks@mainMatter} +% \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fi.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/fi.ins new file mode 100644 index 00000000000..ccf95062180 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fi.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{fithesis-fi.sty}{\from{fi.dtx}{}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx new file mode 100644 index 00000000000..fcab5aacf21 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx @@ -0,0 +1,38 @@ +% \file{style/mu/fithesis-fss.sty} +% This is the style file for the theses written at the Faculty of +% Sports Studies 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://www.fsps.^^A +% muni.cz/~korvas/pokyny_k_zaverecne_praci.doc}}. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis/style/mu/fithesis-fss}[2015/06/23] +% \end{macrocode} +% The file defines the color scheme of the respective faculty. +% \begin{macrocode} +\thesis@color@setup{ + links={HTML}{93BCF5}, + tableEmph={HTML}{A8BDE3}, + tableOdd={HTML}{EBEFF5}, + tableEven={HTML}{D1DAEB}} +% \end{macrocode} +% The style file configures the title page header to include the +% field name. +% \begin{macrocode} +\thesis@blocks@titlePage@field@true +% \end{macrocode} +% The style file defines the autolayout preamble as the cover and +% the title page followed by the declaration, acknowledgement +% table of contents and the optional 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@thanks% + \thesis@blocks@tables% + \thesis@blocks@mainMatter} +% \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.ins new file mode 100644 index 00000000000..cc6eba67fde --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{fithesis-fsps.sty}{\from{fsps.dtx}{}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fss.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/fss.dtx new file mode 100644 index 00000000000..1456f3f5de4 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fss.dtx @@ -0,0 +1,64 @@ +% \file{style/mu/fithesis-fss.sty} +% This is the style file for the theses written at the Faculty of +% Social Studies at the Masaryk University in Brno. Because of the +% inexistence of faculty-wide formal requirements and +% recommendations with each department defining their own with +% varying degrees of +% rigour\footnote{See \url{http://psych.fss.muni.cz/node/351}, +% \url{http://medzur.fss.muni.cz/informace-pro-studenty/pravidla^^A +% -pro-diplomky/soubory/Pravidla pro zaverecne prace na KMSZ - v^^A +% er. 2-83.doc}, \url{http://soc.fss.muni.cz/?q=node/44}, \url{h^^A +% ttp://polit.fss.muni.cz/informace-pro-studenty/pol/}, \url{htt^^A +% p://humenv.fss.muni.cz/studium/bakalarske-studium/pravidla-pro^^A +% -vypracovani-bakalarske-prace}}, this style is a mere skeleton, +% which is unlikely to satisfy the exact requirements of +% any department and will require modification by the user. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis/style/mu/fithesis-fss}[2015/06/23] +% \end{macrocode} +% The file defines the color scheme of the respective faculty. +% \begin{macrocode} +\thesis@color@setup{ + links={HTML}{58EDD7}, + tableEmph={HTML}{69D6C6}, + tableOdd={HTML}{E3F1EE}, + tableEven={HTML}{C5E3DF}} +% \end{macrocode} +% In addition to the main locale, the file also requires the +% English locale. +% \begin{macrocode} +\thesis@requireLocale{english} +% \end{macrocode} +% \begin{macro}{\thesis@blocks@frontMatter} +% The |\thesis@blocks@frontMatter| private macro sets up the style +% of the front matter of the thesis. +% \begin{macrocode} +\def\thesis@blocks@frontMatter{% + \pagestyle{plain} + \parindent 1.5em + \setcounter{page}{1} + \pagenumbering{roman}} +% \end{macrocode} +% \end{macro} +% The style file defines the autolayout preamble as the cover and +% the title page followed by the abstracts, keywords, assignment, +% declaration, 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@clearRight% + \thesis@blocks@abstract% + \thesis@blocks@abstractEn% + \thesis@blocks@keywords% + \thesis@blocks@keywordsEn% + \thesis@blocks@assignment% + \thesis@blocks@declaration% + \thesis@blocks@thanks% + \thesis@blocks@tables% + \thesis@blocks@mainMatter} +% \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/fss.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/fss.ins new file mode 100644 index 00000000000..8a2df3b0b9a --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fss.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{fithesis-fss.sty}{\from{fss.dtx}{}}} +\endbatchfile 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} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/law.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/law.ins new file mode 100644 index 00000000000..c688afd3ec6 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/law.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{fithesis-law.sty}{\from{law.dtx}{}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx new file mode 100644 index 00000000000..13b8edaf652 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx @@ -0,0 +1,157 @@ +% \file{style/mu/fithesis-med.sty} +% This is the style file for the theses written at the Faculty of +% Medicine at the Masaryk University in Brno. It has been prepared +% in accordance with the formal requirements published at the +% website of the Department of Optometry and Orthoptics\footnote^^A +% {See \url{http://is.muni.cz/do/med/zpravyprac/Optometrie/NALE^^A +% ZITOSTI_ZAVERECNE_PRACE.doc}}. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis/style/mu/fithesis-med}[2015/06/23] +% \end{macrocode} +% The file defines the color scheme of the respective faculty. +% \begin{macrocode} +\thesis@color@setup{ + links={HTML}{F58E76}, + tableEmph={HTML}{FF9D85}, + tableOdd={HTML}{FFF5F6}, + tableEven={HTML}{FFDEDF}} +% \end{macrocode} +% In addition to the main locale, the file also requires the +% English locale. +% \begin{macrocode} +\thesis@requireLocale{english} +% \end{macrocode} +% The file loads the following packages: +% \begin{itemize} +% \item\textsf{tikz} -- Used for dimension arithmetic. +% \item\textsf{geometry} -- Allows for modifications of the type +% area dimensions. +% \item\textsf{setspace} -- Allows for line height modifications. +% \end{itemize} +% In addition to this, the type area width is set to +% 16\,cm in accordance with the formal requirements of the faculty. +% This leads to overfull lines and is against the good conscience +% of the author of this style. +% \begin{macrocode} +\thesis@require{tikz} +\thesis@require{geometry} +\thesis@require{setspace} +\geometry{top=25mm,bottom=20mm,left=25mm,right=25mm,includeheadfoot} +% \end{macrocode} +% \begin{macro}{\thesis@blocks@cover} +% The |\thesis@blocks@cover| private macro typesets the thesis +% cover. +% \begin{macrocode} +\def\thesis@blocks@cover{% + \ifthesis@cover@ + \thesis@blocks@clear + \begin{alwayssingle} + \thispagestyle{empty} + \begin{center} + {\sc\thesis@titlePage@LARGE\thesis@@{universityName}\\% + \thesis@titlePage@Large\thesis@@{facultyName}\\} + \vfill + {\bf\thesis@titlePage@Huge\thesis@@{typeName}} + \vfill + {\thesis@titlePage@large\thesis@place + \ \thesis@year\hfill\thesis@author} + \end{center} + \end{alwayssingle} + \fi} +% \end{macro} +% The style file redefines the title page content +% not to include the author's name and the title page footer +% to include both the author's and advisor's name, the field of +% study and the semester and place of the thesis defense as per +% the requirements of the department. +% \begin{macrocode} +\def\thesis@blocks@titlePage@content{% + {\thesis@titlePage@Huge\bf\thesis@TeXtitle\\[0.3in]}% + {\thesis@titlePage@large{\sc\thesis@@{typeName}}\\}} +\def\thesis@blocks@titlePage@footer{% + {\thesis@titlePage@large + {% Calculate the width of the thesis author and advisor boxes + \let\@A\relax\newlength{\@A}\settowidth{\@A}{{% + \bf\thesis@@{advisorTitle}:}} + \let\@B\relax\newlength{\@B}\settowidth{\@B}{\thesis@advisor} + \let\@C\relax\newlength{\@C}\settowidth{\@C}{{% + \bf\thesis@@{authorTitle}:}} + \let\@D\relax\newlength{\@D}\settowidth{\@D}{\thesis@author} + \let\@E\relax\newlength{\@E}\settowidth{\@E}{{% + \bf\thesis@@{fieldTitle}:}} + \let\@F\relax\newlength{\@F}\settowidth{\@F}{\thesis@field} + \let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{% + max(\@A,\@B)} + \let\@right\relax\newlength{\@right}\pgfmathsetlength{\@right}{% + max(\@C,\@D,\@E,\@F)} + % Typeset the thesis author and advisor boxes + \vskip 2in\begin{minipage}[t]{\@left} + {\bf\thesis@@{advisorTitle}:}\\\thesis@advisor + \end{minipage}\hfill\begin{minipage}[t]{\@right} + {\bf\thesis@@{authorTitle}:}\\\thesis@author + \\[1em]{\bf\thesis@@{fieldTitle}:}\\\thesis@field + \end{minipage}}\\[4em]\thesis@place, \thesis@@{semester}}} +% \end{macrocode} +% \end{macro}\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 and it is hidden. In case of +% double-sided typesetting, the geometry is altered according to +% the requirements of the faculty. +% \begin{macrocode} +\def\thesis@blocks@frontMatter{% + \thesis@blocks@clear + % In case of double-sided typesetting, change the geometry + \ifthesis@twoside@ + \newgeometry{top=25mm,bottom=20mm,left=35mm, + right=15mm, includeheadfoot} + \fi\pagestyle{empty} + \parindent 1.5em + \setcounter{page}{1} + \pagenumbering{arabic}} +% \end{macrocode} +% \end{macro}\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 annotation, bibliographical entry, +% declaration, acknowledgement table of contents and the optional list +% of tables and figures as a part of the front matter. All blocks are +% defined in the \texttt{style/mu/base.sty} file, although some are +% redefined in this file. +% \begin{macrocode} +\def\thesis@preamble{% + \thesis@blocks@cover% + \thesis@blocks@frontMatter% + \thesis@blocks@titlePage% + \onehalfspacing% + \thesis@blocks@clearRight% + \thesis@blocks@abstract% + \thesis@blocks@abstractEn% + \thesis@blocks@keywords% + \thesis@blocks@keywordsEn% + \thesis@blocks@bibEntry% + \thesis@blocks@declaration% + \thesis@blocks@thanks% + \thesis@blocks@tables% + \thesis@blocks@mainMatter} +% \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/med.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/med.ins new file mode 100644 index 00000000000..7f59c26c1de --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/med.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{fithesis-med.sty}{\from{med.dtx}{}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/ped.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/ped.dtx new file mode 100644 index 00000000000..2e602fea054 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/ped.dtx @@ -0,0 +1,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} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/ped.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/ped.ins new file mode 100644 index 00000000000..802f987d456 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/ped.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{fithesis-ped.sty}{\from{ped.dtx}{}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/phil.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/phil.dtx new file mode 100644 index 00000000000..8f3a58190a1 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/phil.dtx @@ -0,0 +1,39 @@ +% \file{style/mu/fithesis-phil.sty} +% This is the style file for the theses written at the Faculty of +% Arts 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/auth/do/^^A +% 1421/4581421/Vzor_bakalarske_prace.pdf}}. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis/style/mu/fithesis-phil}[2015/06/23] +% \end{macrocode} +% The file defines the color scheme of the respective faculty. +% \begin{macrocode} +\thesis@color@setup{ + links={HTML}{6FCEF2}, + tableEmph={HTML}{78CEF0}, + tableOdd={HTML}{EBF6FA}, + tableEven={HTML}{D0EBF5}} +% \end{macrocode} +% The style file configures the title page header to include the +% department and the field name. +% \begin{macrocode} +\thesis@blocks@titlePage@department@true +\thesis@blocks@titlePage@field@true +% \end{macrocode} +% The style file defines the autolayout preamble as the cover and +% the title page followed by the declaration, acknowledgement +% table of contents and the optional 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@thanks% + \thesis@blocks@tables% + \thesis@blocks@mainMatter} +% \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/phil.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/phil.ins new file mode 100644 index 00000000000..0f6b211ca3e --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/phil.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{fithesis-phil.sty}{\from{phil.dtx}{}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx new file mode 100644 index 00000000000..ae07e515264 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx @@ -0,0 +1,352 @@ +% \file{style/mu/fithesis-sci.sty} +% This is the style file for the theses written at the Faculty of +% Science 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://www.sci.muni.cz/NW/predpisy/od/OD-2014-05.pdf}}. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis/style/mu/fithesis-sci}[2015/06/23] +% \end{macrocode} +% The file defines the color scheme of the respective faculty. +% \begin{macrocode} +\thesis@color@setup{ + links={HTML}{20E366}, + tableEmph={HTML}{8EDEAA}, + tableOdd={HTML}{EDF7F1}, + tableEven={HTML}{CCEDD8}} +% \end{macrocode} +% In addition to the main locale, the file also requires the +% Czech and English locales. +% \begin{macrocode} +\thesis@requireLocale{czech} +\thesis@requireLocale{english} +% \end{macrocode} +% The file loads the following packages: +% \begin{itemize} +% \item\textsf{tikz} -- Used for dimension arithmetic. +% \item\textsf{geometry} -- Used for the modifications of the type +% area dimensions. +% \end{itemize} +% \begin{macrocode} +\thesis@require{tikz} +\thesis@require{changepage} +% \end{macrocode} +% In case of rigorous and doctoral theses, the style file hides the +% thesis assignment in accordance with the formal requirements of +% the faculty. +% \begin{macrocode} +\ifx\thesis@type\thesis@bachelors\else +\ifx\thesis@type\thesis@masters\else + \thesis@blocks@assignment@false +\fi\fi +% \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 locale files need to define the +% following private macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@czech@bib@title} +% |\thesis@czech@bib@title| -- The title of the +% |\thesis@blocks@bib@title| block +% \item\DescribeMacro{\thesis@czech@bib@author} +% |\thesis@czech@bib@author| -- The label of the author name +% entry +% \item\DescribeMacro{\thesis@czech@bib@title} +% |\thesis@czech@bib@title| -- The label of the title name +% entry +% \item\DescribeMacro{\thesis@czech@bib@programme} +% |\thesis@czech@bib@programme| -- The label of the programme +% name entry +% \item\DescribeMacro{\thesis@czech@bib@field} +% |\thesis@czech@bib@field| -- The label of the field name +% entry +% \item\DescribeMacro{\thesis@czech@bib@advisor} +% |\thesis@czech@bib@advisor| -- The label of the advisor name +% entry +% \item\DescribeMacro{\thesis@czech@bib@academicYear} +% |\thesis@czech@bib@academicYear| -- The label of the academic +% year entry +% \item\DescribeMacro{\thesis@czech@bib@pages} +% |\thesis@czech@bib@pages| -- The label of the number of pages +% entry +% \item\DescribeMacro{\thesis@czech@bib@keywords} +% |\thesis@czech@bib@keywords| -- The label of the keywords +% entry +% \end{itemize} +% \begin{macrocode} +\def\thesis@blocks@bibEntry{% + \begin{alwayssingle} + {% Start the new chapter without clearing the right page + {\def\cleardoublepage{}% + \chapter*{\thesis@czech@bib@title}}% + % Calculate the width of the columns + \let\@A\relax\newlength{\@A}\settowidth{\@A}{{% + \bf\thesis@czech@bib@author:}} + \let\@B\relax\newlength{\@B}\settowidth{\@B}{{% + \bf\thesis@czech@bib@thesisTitle:}} + \let\@C\relax\newlength{\@C}\settowidth{\@C}{{% + \bf\thesis@czech@bib@programme:}} + \let\@D\relax\newlength{\@D}\settowidth{\@D}{{% + \bf\thesis@czech@bib@field:}} + % Unless this is a rigorous thesis, we will be typesetting the + % name of the thesis advisor. + \let\@E\relax\newlength{\@E} + \ifx\thesis@type\thesis@rigorous% + \setlength{\@E}{0pt}% + \else% + \settowidth{\@E}{{\bf\thesis@czech@bib@advisor:}} + \fi% + \let\@F\relax\newlength{\@F}\settowidth{\@F}{{% + \bf\thesis@czech@bib@academicYear:}} + \let\@G\relax\newlength{\@G}\settowidth{\@G}{{% + \bf\thesis@czech@bib@pages:}} + \let\@H\relax\newlength{\@H}\settowidth{\@H}{{% + \bf\thesis@czech@bib@keywords:}} + \let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt} + \let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{% + max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)} + \let\@right\relax\newlength{\@right}\setlength{\@right}{% + \textwidth-\@left-\@skip} + % Typeset the table + \renewcommand{\arraystretch}{2} + \noindent\begin{thesis@newtable@old}% + {@{}p{\@left}@{\hskip\@skip}p{\@right}@{}} + \textbf{\thesis@czech@bib@author:} & + \noindent\parbox[t]{\@right}{ + \thesis@author\\ + \thesis@czech@facultyName, + \thesis@czech@universityName\\ + \thesis@department + }\\ + \textbf{\thesis@czech@bib@thesisTitle:} + & \thesis@title \\ + \textbf{\thesis@czech@bib@programme:} + & \thesis@programme \\ + \textbf{\thesis@czech@bib@field:} + & \thesis@field \\ + % Unless this is a rigorous thesis, typeset the name of the + % thesis advisor. + \ifx\thesis@type\thesis@rigorous\else% + \textbf{\thesis@czech@bib@advisor:} + & \thesis@advisor \\ + \fi + \textbf{\thesis@czech@bib@academicYear:} + & \thesis@academicYear \\ + \textbf{\thesis@czech@bib@pages:} + & \thesis@pages \\ + \textbf{\thesis@czech@bib@keywords:} + & \thesis@TeXkeywords \\ + \end{thesis@newtable@old}} + \end{alwayssingle}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@bibEntryEn} +% The |\thesis@blocks@bibEntryEn| private macro typesets a +% bibliographical entry in English. Along with the macros +% required by the locale file interface, the locale files +% need to define the following private macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@english@bib@title} +% |\thesis@english@bib@title| -- The title of the +% |\thesis@blocks@bibEntryEn| block +% \item\DescribeMacro{\thesis@english@bib@author} +% |\thesis@english@bib@author| -- The label of the author name +% entry +% \item\DescribeMacro{\thesis@english@bib@title} +% |\thesis@english@bib@title| -- The label of the title name +% entry +% \item\DescribeMacro{\thesis@english@bib@programme} +% |\thesis@english@bib@programme| -- The label of the programme +% name entry +% \item\DescribeMacro{\thesis@english@bib@field} +% |\thesis@english@bib@field| -- The label of the field name +% entry +% \item\DescribeMacro{\thesis@english@bib@advisor} +% |\thesis@english@bib@advisor| -- The label of the advisor +% name entry +% \item\DescribeMacro{\thesis@english@bib@academicYear} +% |\thesis@english@bib@academicYear| -- The label of the +% academic year entry +% \item\DescribeMacro{\thesis@english@bib@pages} +% |\thesis@english@bib@pages| -- The label of the number of +% pages entry +% \item\DescribeMacro{\thesis@english@bib@keywords} +% |\thesis@english@bib@keywords| -- The label of the keywords +% entry +% \end{itemize} +% \begin{macrocode} +\def\thesis@blocks@bibEntryEn{% + {\def\thesis@locale{english} + \begin{alwayssingle} + % Start the new chapter without clearing the right page + {\def\cleardoublepage{}% + \chapter*{\thesis@english@bib@title}}% + {% Calculate the width of the columns + \let\@A\relax\newlength{\@A}\settowidth{\@A}{{% + \bf\thesis@english@bib@author:}} + \let\@B\relax\newlength{\@B}\settowidth{\@B}{{% + \bf\thesis@english@bib@thesisTitle:}} + \let\@C\relax\newlength{\@C}\settowidth{\@C}{{% + \bf\thesis@english@bib@programme:}} + \let\@D\relax\newlength{\@D}\settowidth{\@D}{{% + \bf\thesis@english@bib@field:}} + % Unless this is a rigorous thesis, we will be typesetting + % the name of the thesis advisor. + \let\@E\relax\newlength{\@E} + \ifx\thesis@type\thesis@rigorous% + \setlength{\@E}{0pt}% + \else% + \settowidth{\@E}{{\bf\thesis@english@bib@advisor:}} + \fi% + \let\@F\relax\newlength{\@F}\settowidth{\@F}{{% + \bf\thesis@english@bib@academicYear:}} + \let\@G\relax\newlength{\@G}\settowidth{\@G}{{% + \bf\thesis@english@bib@pages:}} + \let\@H\relax\newlength{\@H}\settowidth{\@H}{{% + \bf\thesis@english@bib@keywords:}} + \let\@skip\relax\newlength{\@skip}\setlength{\@skip}{16pt} + \let\@left\relax\newlength{\@left}\pgfmathsetlength{\@left}{% + max(\@A,\@B,\@C,\@D,\@E,\@F,\@G,\@H)} + \let\@right\relax\newlength{\@right}\setlength{\@right}{% + \textwidth-\@left-\@skip} + % Typeset the table + \renewcommand{\arraystretch}{2} + \noindent\begin{thesis@newtable@old}% + {@{}p{\@left}@{\hskip\@skip}p{\@right}@{}} + \textbf{\thesis@english@bib@author:} & + \noindent\parbox[t]{\@right}{ + \thesis@author\\ + \thesis@english@facultyName, + \thesis@english@universityName\\ + \thesis@departmentEn + }\\ + \textbf{\thesis@english@bib@thesisTitle:} + & \thesis@titleEn \\ + \textbf{\thesis@english@bib@programme:} + & \thesis@programmeEn \\ + \textbf{\thesis@english@bib@field:} + & \thesis@fieldEn \\ + % Unless this is a rigorous thesis, typeset the name of the + % thesis advisor. + \ifx\thesis@type\thesis@rigorous\else% + \textbf{\thesis@english@bib@advisor:} + & \thesis@advisor \\ + \fi + \textbf{\thesis@english@bib@academicYear:} + & \thesis@academicYear \\ + \textbf{\thesis@english@bib@pages:} + & \thesis@pages \\ + \textbf{\thesis@english@bib@keywords:} + & \thesis@TeXkeywordsEn \\ + \end{thesis@newtable@old}} + \end{alwayssingle} + }} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@frontMatter} +% The |\thesis@blocks@frontMatter| private macro sets up the style +% of the front matter front matter of the thesis. The front matter +% is typeset without any visible numbering, as mandated by the +% formal requirements of the faculty. +% \begin{macrocode} +\def\thesis@blocks@frontMatter{% + \pagestyle{empty} + \parindent 1.5em + \setcounter{page}{1} + \pagenumbering{roman}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@cover} +% The |\thesis@blocks@cover| private macro typesets the thesis +% cover. +% \begin{macrocode} +\def\thesis@blocks@cover{% + \ifthesis@cover@ + \thesis@blocks@clear + \ifthesis@twoside@\@twosidefalse\fi % Temporarily disable twoside + \begin{alwayssingle} + \thispagestyle{empty} + \begin{center} + {\sc\thesis@titlePage@LARGE\thesis@czech@universityName\\% + \thesis@titlePage@Large\thesis@czech@facultyName\\[0.3em]% + \thesis@titlePage@large\thesis@department} + \vfill + {\bf\thesis@titlePage@Huge\thesis@czech@typeName} + \vfill + {\thesis@titlePage@large\thesis@place + \ \thesis@year\hfill\thesis@author} + \end{center} + \end{alwayssingle} + \ifthesis@twoside@\@twosidetrue\fi % Re-enable twoside + \fi} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@titlePage} +% The |\thesis@blocks@titlePage| private macro typesets the thesis +% title page. Depending on the value of the |\ifthesis@color@| +% conditional, the faculty logo is loaded from either +% |\thesis@logopath|, if \texttt{false}, or from +% |\thesis@logopath color/|, if \texttt{true}. +% \begin{macrocode} +\def\thesis@blocks@titlePage{{% + \edef\thesis@logopath@color{\thesis@logopath\ifthesis@color@ color/\fi} + \thesis@blocks@clear + \ifthesis@twoside@\@twosidefalse\fi % Temporarily disable twoside + \begin{alwayssingle} + \thispagestyle{empty} + % The top of the page + \begin{adjustwidth}{-12mm}{} + \begin{minipage}{30mm} + \thesis@blocks@universityLogo@color[width=30mm] + \end{minipage}\begin{minipage}{89mm} + \begin{center} + {\sc\thesis@titlePage@LARGE\thesis@czech@universityName\\% + \thesis@titlePage@Large\thesis@czech@facultyName\\[0.3em]% + \thesis@titlePage@normalsize\thesis@department} + \rule{\textwidth}{2pt}\vspace*{2mm} + \end{center} + \end{minipage}\begin{minipage}{30mm} + \thesis@blocks@facultyLogo@color[width=30mm] + \end{minipage} + \end{adjustwidth} + % The middle of the page + \vfill + {\bf\thesis@titlePage@Huge\thesis@TeXtitle\\[0.8em]} + {\thesis@titlePage@large\thesis@czech@typeName\\[1em]} + {\bf\thesis@titlePage@LARGE\thesis@author}\\ + \vfill\noindent + % The bottom of the page + {\bf\thesis@titlePage@normalsize% + % Unless this is a rigorous thesis, typeset the name of the + % thesis advisor. + \ifx\thesis@type\thesis@rigorous\else% + \thesis@czech@advisorTitle: \thesis@advisor\hfill% + \fi% + \thesis@place\ \thesis@year} + \end{alwayssingle} + \ifthesis@twoside@\@twosidetrue\fi}} % Re-enable twoside +% \end{macrocode} +% \end{macro} +% The style file defines the autolayout preamble as the cover and +% the title page followed by the bibliographic entry, the abstract +% assignment, acknowledgement, table of contents and list of tables +% and figures as a part of the front matter. All the blocks +% beside |\thesis@blocks@bibEntry| and |\thesis@blocks@bibEntryEn| +% are defined in the \texttt{style/mu/base.sty} file. The entire +% front matter is typeset as though the locale were Czech in +% accordance with the formal requirements of the faculty. +% \begin{macrocode} +\def\thesis@preamble{% + {\def\thesis@locale{czech}% + \thesis@blocks@cover% + \thesis@blocks@frontMatter% + \thesis@blocks@titlePage% + \thesis@blocks@clearRight% + \thesis@blocks@bibEntry% + \thesis@blocks@bibEntryEn% + \thesis@blocks@abstract% + \thesis@blocks@abstractEn% + \thesis@blocks@assignment% + \thesis@blocks@thanks% + \thesis@blocks@declaration% + \thesis@blocks@tables}% + \thesis@blocks@mainMatter} +% \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/sci.ins b/Master/texmf-dist/source/latex/fithesis/style/mu/sci.ins new file mode 100644 index 00000000000..2911d8b6e81 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/sci.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{fithesis-sci.sty}{\from{sci.dtx}{}}} +\endbatchfile |