diff options
Diffstat (limited to 'Master/texmf-dist/source')
31 files changed, 4791 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/fithesis/LICENSE.tex b/Master/texmf-dist/source/latex/fithesis/LICENSE.tex new file mode 100644 index 00000000000..acb5b03fc7e --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/LICENSE.tex @@ -0,0 +1,48 @@ +\input docstrip.tex +\preamble + +Copyright 1998--2015 Daniel Marek (DM), Jan Pavlovič (JP), + Vít Novotný (VN), Petr Sojka (PS) +http://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml +Faculty of Informatics, Masaryk University (Brno, Czech Republic) + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version +1.3 of this license or (at your option) any later version. +The latest version of this license is available at + + http://www.latex-project.org/lppl.txt + +and version 1.3 or later is part of all distributions of LaTeX +version 2005/12/01 or later. + +This work has the LPPL maintenance status `maintained'. + +The Current Maintainer of this work is Vít Novotný (VN). +Send bug reports, requests for additions and questions +either to the fithesis discussion forum at + + http://is.muni.cz/auth/df/fithesis-sazba/ + +or to the e-mail address <witiko@mail.muni.cz>. + + +MODIFICATION ADVICE: + +If you want to customize this file, it is best to make a copy of +the source file(s) from which it was produced. Use a different +name for your copy(ies) and modify the copy(ies); this will ensure +that your modifications do not get overwritten when you install a +new release of the standard system. You should also ensure that +your modified source file does not generate any modified file with +the same name as a standard file. + +You will also need to produce your own, suitably named, .ins file to +control the generation of files from your source file; this file +should contain your own preambles for the files it generates, not +those in the standard .ins files. + +The names of the source files used are shown above. + +\endpreamble +\askforoverwritefalse diff --git a/Master/texmf-dist/source/latex/fithesis/fithesis.dtx b/Master/texmf-dist/source/latex/fithesis/fithesis.dtx new file mode 100644 index 00000000000..8fe62296ee2 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/fithesis.dtx @@ -0,0 +1,1443 @@ +% \iffalse\begin{macrocode} +%<*driver> + +\documentclass{ltxdoc} +\usepackage[utf8]{inputenc} % this file uses UTF-8 +\usepackage[english]{babel} +\usepackage{tgpagella} +\usepackage{tabularx} +\usepackage{hologo} +\usepackage{booktabs} +\usepackage[scaled=0.86]{berasans} +\usepackage[scaled=1.03]{inconsolata} +\usepackage[resetfonts]{cmap} +\usepackage[T1]{fontenc} % use 8bit fonts +\emergencystretch 2dd +\usepackage{hypdoc} + +% Making paragraphs numbered +\makeatletter +\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% + {-2.5ex\@plus -1ex \@minus -.25ex}% + {1.25ex \@plus .25ex}% + {\normalfont\normalsize\bfseries}} +\makeatother +\setcounter{secnumdepth}{4} % how many sectioning levels to assign +\setcounter{tocdepth}{4} % how many sectioning levels to show + +% ltxdoc class options +\CodelineIndex +\MakeShortVerb{|} +\EnableCrossrefs +\DoNotIndex{} +\makeatletter +\c@IndexColumns=2 +\makeatother + +\begin{document} + \RecordChanges + \DocInput{fithesis.dtx} + \PrintIndex + \PrintChanges +\end{document} + +%</driver> +% \end{macrocode} +%<*class> +\NeedsTeXFormat{LaTeX2e} +% Define `\thesis@version` and store it in the `VERSION.tex` file \fi +\def\thesis@version{2015/06/27 v0.3.19 fithesis3 MU thesis class} +% {\newwrite\f\openout\f=VERSION\write\f{\thesis@version}\closeout\f} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% \changes{v0.3.19} {2015/06/27}{Updated the license. Added the +% \texttt{fithesis-} prefix to locale files. Proof-read and +% updated the documentation. Encapsulated the +% \texttt{localeInheritance} and \texttt{styleInheritance} +% setters. Added the \cs{thesis@selectLocale}\texttt{\{...\}}, +% which acts as a replacement for +% \cs{def}\cs{thesis@locale}\texttt{\{...\}}, which also switches +% hyphenation patterns. The macro definitions inside locale files +% are now global to account for the fact that it now makes sense +% to include locale files on-site (and therefore possibly inside +% a group) using the \cs{thesis@selectLocale}. The class files +% are now generated using the XeTeX engine, which +% preserves the characters outside ASCII.} +% \changes{v0.3.18} {2015/06/24}{A bulk of changes required to submit +% the document class to CTAN: Changed the structure of the output +% \texttt{fithesis3.ctan.zip} archive. Updated the license +% notice. Added a \texttt{README} file. Canonicalized a url +% within the user guides. Renamed the root directory from +% \texttt{fithesis3/} to \texttt{fithesis/}. Refactored the +% makefiles. Added developer example files. Renamed +% \texttt{docstrip.cfg} to \texttt{LICENSE.tex} to better +% describe its role. The \texttt{fithesis.dtx} file now +% generates a \texttt{VERSION.tex} file containing the version of +% the package, when it's being typeset. Flattened the +% \texttt{logo/} directory structure. [VN]} +% \changes{v0.3.17} {2015/06/24}{Changed a forgotten +% \cs{thesis@@lower}\texttt{\{...\}} invocation in the definition +% of \cs{thesis@czech@declaration} for the Faculty of Arts into +% \cs{thesis@@lower}\texttt{\{czech@...\}}, so that the macro +% always expands to the correct output regardless of the current +% locale. This is merely a matter of consistency, since the style +% file of the Faculty of Arts only uses Czech strings within the +% Czech locale. Removed an extraneous comment. Fixed a unit test. +% Fixed a changelog entry. [VN]} +% \changes{v0.3.16} {2015/06/21}{Clubs and widows are now set to +% be infinitely bad. The \texttt{assignment} key has weaker, but +% more robust semantics now. [VN]} +% \changes{v0.3.15} {2015/06/14}{Renamed \cs{thesis@requireStyle} +% to \cs{thesis@requireWithOptions} and moved the style loader +% from the \cs{thesis@load} routine to a new +% \cs{thesis@requireStyle} macro to make the semantics of +% \cs{thesis@requireLocale} and \cs{thesis@requireStyle} more +% similar. Changed the \texttt{basepath}, \texttt{logopath}, +% \texttt{localepath} and \texttt{stylepath} keys to match the +% lower camelcasing of the rest of the keys. Added further +% description regarding the use of the \texttt{assignment} key. +% [VN]} +% \changes{v0.3.14} {2015/06/07}{Updated the documentation. [VN]} +% \changes{v0.3.13} {2015/05/30}{Fixed an inconsistency in the +% example code. Removed an extraneous \cs{thesis@blocks@clear} +% block withing the definition of \cs{thesis@blocks@frontMatter} +% in the fss style file. Added comments, fixed clubs and widows +% and removed text overflows within the user guides. Adjusted the +% colors of various style files. Removed the trailing dot in the +% bibliographic identification within the med and ped style +% files. Fixed a typo within the technical documentation. Fixed +% the twoside alignment of the \cs{thesis@blocks@bibEntry} and +% the \cs{thesis@blocks@bibEntryEn} blocks within the sci style +% file. The \cs{thesis@blocks@assignment} block no longer clears +% a page when nothing is inserted. It is also no longer +% hard-coded to be hidden for rigorous theses. Instead, the +% \cs{ifthesis@blocks@assignment} conditional can be set either +% by the subsequently loaded style files or by the user. So far, +% only the fi and sci style files set the conditional. [VN]} +% \changes{v0.3.12} {2015/05/24}{The subsections and +% subsubsections now use the correct \texttt{tocdepth}. [VN]} +% \changes{v0.3.11} {2015/05/15}{Added hyphenation into the +% technical documentation. Fixed an unterminated group. Polished +% the text of the guide. Added the \texttt{palatino} and +% \texttt{nopalatino} options. Stylistic changes to the text of +% the technical documentation. \cs{thesis@subdir} is now robust +% against relative paths. Accounted for French spacing in the +% guide. Fixed the \texttt{thesis@english@facultyName} string. +% Documentation refinements. [VN]} +% \changes{v0.3.10} {2015/05/09}{Fixed a typo in the technical +% documentation. Updated the \emph{Advanced usage} chapter of the +% user guide. The required packaged listed in Section 2.2 of the +% user guide are now always correct. Adjusted the footer spacing +% in the styles of econ and fi. Added \emph{Advanced usage} +% chapter to the user guide. Added the description of basic +% options into the user guide. Added the \texttt{table} and +% \texttt{oldtable} options. Added the \texttt{type} field to the +% guide for completeness. [VN]} +% \changes{v0.3.09} {2015/04/26}{A complete refactoring of the class. The class +% was decomposed into a base class, locale files and style files. [VN]} +% \changes{v0.3.08} {2015/03/04}{Fixed a non-terminated \cs{if} condition. +% [VN] (backport of v0.2.18)\\Fixed mostly documentation errors reported +% at the new fithesis discussion forum (-ti, eco$\rightarrow$econ, implicit +% twocolumn, example extended (font setup), etc.). [PS] (backport of v0.2.17)} +% \changes{v0.3.07} {2015/02/03}{Replaced the \cs{thesiswoman} command with +% \cs{thesisgender}. [VN]} +% \changes{v0.3.06} {2015/01/26}{Added the colorx package and the base colors +% for each faculty. If the color option is specified, the tabular environment +% gets redefined and uses the faculty colors to color alternating table rows +% to improve readability. The hyperref links in the e-version are now likewise +% colored according to the chosen faculty, in this case regardless of the +% presence of the color option. Dropped the support for typesetting theses +% outside MU. [VN]} +% \changes{v0.3.05} {2015/01/21}{Added support for change typesetting. +% Restructured the code to make it more amenable to literal programming. +% Added support for \cs{CodelineIndex} typesetting. Added information about +% the usage of \textsf{fithesis1} and \textsf{fithesis2} on the FI unix +% machines. (backport of v0.2.16) [VN]\\Minor changes throughout the text, +% added a link to the the fithesis forums [PS] (backport of v0.2.15@r14:15)} +% \changes{v0.3.04} {2015/01/14}{Import the url package to allow for the use of +% \cs{url} within the documentation. (backport of v0.2.15@r13) [VN]} +% \changes{v0.3.03} {2015/01/14}{Small fixes (added \cs{relax} at +% \cs{MainMatter}), generating both fithesis.cls (obsolete, loading +% \texttt{fithesis2.cls}) and \texttt{fithesis2.cls}, minor doc edits, +% version numbering of \texttt{.clo} fixed, switch to utf8 and ensuring that +% \texttt{.dtx} compiles. Documentation adjusted to the status quo, added +% link to discussion forum (backport of v0.2.14) [PS]} +% \changes{v0.3.02} {2015/01/13}{PDF metadata stamping added for +% \cs{thesistitle} and \cs{thesisstudent} [VN]} +% \changes{v0.3.01} {2015/01/09}{documentation now uses babel and cmap +% packages. the entire file was transcoded into utf8, \cs{thesiscolor} was +% replaced by color class option, added PDF metadata stamping support [VN]} +% \changes{v0.3.00} {2015/01/01}{fi logo is no longer special-cased (added eps +% and PDF), \cs{thesislogopath} added to set the logo directory path, +% \cs{thesiscolor} added to enable colorful typo elements [VN]} +% \changes{v0.2.12a}{2008--2011}{fork fithesis2 by Mr. Filipčík and Janoušek; +% cf. \protect\url{http://github.com/liskin/fithesis}} +% \changes{v0.2.12} {2008/07/27}{Licence change to the LPPL [JP]} +% \changes{v0.2.11} {2008/01/07}{fix missing \texttt{fi-logo.mf} [JP,PS]} +% \changes{v0.2.10} {2006/05/12}{fix EN name of Acknowledgement [JP]} +% \changes{v0.2.09} {2006/05/08}{add EN version of University name [JP]} +% \changes{v0.2.08} {2006/01/20}{add change of University name [JP]} +% \changes{v0.2.07} {2005/05/10}{escape all Czech letters [JP] +% babel is used instead of stupid package czech [JP] +% \cs{MainMatter} should be placed after \cs{tablesofcontents} [PS]} +% \changes{v0.2.06} {2004/12/22}{fix : behind Advisor [JP]} +% \changes{v0.2.05} {2004/05/13}{add English abstract [JP]} +% \changes{v0.2.04} {2004/05/13}{fix SK declaration [Peter Cerensky, JP]} +% \changes{v0.2.03} {2004/05/13}{fix title spacing [PS, JP]} +% \changes{v0.2.02} {2004/05/12}{fix encoding bug [JP]} +% \changes{v0.2.01} {2004/05/11}{add subsubsection to toc [JP]} +% \changes{v0.2.00} {2004/05/03}{add sk lang [JP, Peter Cerensky] +% set default cls class to \textsf{rapport3} [JP]} +% \changes{v0.1g} {2004/04/01}{change of default size (12pt$\rightarrow$11pt) [JP]} +% \changes{v0.1f} {2004/01/24}{add documentation for hyperref [JP]} +% \changes{v0.1e} {2004/01/07}{add Brno to MU title [JP]} +% \changes{v0.1d} {2003/03/24}{removed def schapter from fit1*.clo [JP]} +% \changes{v0.1c} {2003/02/21}{default values of \cs{facultyname} and +% \\\cs{@thesissubtitle} set for backward compatibility) [PS]} +% \changes{v0.1b} {2003/02/14}{change of default size (11pt$\rightarrow$12pt) [JP]} +% \changes{v0.1a} {2003/02/12}{minor documentation changes (CZ only, +% sorry) [PS]} +% \changes{v0.1} {2003/02/11}{new release, documentation editing (CZ only, +% sorry) [PS]} +% \changes{v0.0a} {2002}{changes by Jan Pavlovič to allow fithesis being +% backend of docbook based system for thesis writing} +% \changes{v0.0} {1998}{bachelor project of Daniel Marek under +% supervision of Petr Sojka} +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% \title{The \textsf{fithesis3} class for the typesetting of theses written +% at the Masaryk University in Brno} +% \author{Daniel Marek, Jan Pavlovič, Vít Novotný, Petr Sojka} +% \date{\today} +% \maketitle +% +% \begin{abstract} +% \noindent This document details the design and the implementation +% of the \textsf{fithesis3} document class. It contains technical +% information for anyone who wishes to extend the class with their +% locale or style files. Users who only wish to use the class are +% advised to consult the guides distributed along with the class, +% which only document the parts of the public API relevant to the +% given style files. +% \end{abstract} +% +% \tableofcontents +% +% \section{Required classes and packages} +% The class loads the \texttt{rapport3} base class and the +% following packages: \begin{itemize} +% \item\textsf{keyval} -- Adds support for parsing +% comma-delimited lists of key-value pairs. +% \item\textsf{etoolbox} -- Adds support for expanding +% code after the preamble using the |\AtPreamble| hook. +% \item\textsf{ifxetex} -- Used to detect the \Hologo{XeTeX} +% engine. +% \item\textsf{ifluatex} -- Used to detect the \Hologo{LuaTeX} +% engine. +% \item\textsf{inputenc} -- Used to enable the input UTF-8 +% encoding. This package does not get loaded under +% the \Hologo{XeTeX} and \Hologo{LuaTeX} engines. +% \end{itemize} +% The \texttt{hyperref} package is also conditionally loaded during +% the expansion of the |\thesis@load| macro (see Section +% \ref{sec:thesis@load}). Other packages may be required by the +% style files (see Section \ref{sec:style-files}) you are using. +% \begin{macrocode} +\ProvidesClass{fithesis3}[\thesis@version] +\LoadClass[a4paper]{rapport3} +\RequirePackage{keyval} +\RequirePackage{etoolbox} +\RequirePackage{ifxetex} +\RequirePackage{ifluatex} +\ifxetex\else\ifluatex\else + \RequirePackage[utf8]{inputenc} +\fi\fi +% \end{macrocode} +% \section{Public API} +% \label{sec:public-api} +% \subsection{Options} +% Any \oarg{options} passed to the class will be handed down to the +% loaded style files. The supported options are therefore documented +% in the subsections of Section \ref{sec:style-files} dedicated to +% the respective style files. +% +% \subsection{The \cs{thesissetup} macro} +% \begin{macro}{\thesissetup} +% The main public macro is the |\thesissetup|\marg{keyvals} +% command, where \textit{keyvals} is a comma-delimited list of +% key-value pairs as defined by the \textsf{keyval} package. This +% macro needs to be included prior to the beginning of a \LaTeX\ +% document. When used, the \textit{keyvals} are processed. +% +% Note that the values passed to the |\thesissetup| public macro +% may only contain one paragraph of text. If you wish to set +% multiple paragraphs of text as the value, you need to use +% the |\thesislong| public macro (see Section +% \ref{sec:thesislong}). +% \begin{macrocode} +\def\thesissetup#1{% + \setkeys{thesis}{#1}} +% \end{macrocode} +% \subsubsection{The \texttt{basePath} key} +% \begin{macro}{\thesis@basepath} +% The \marg{\texttt{basePath}=path} pair sets the \textit{path} +% containing the class files. The \textit{path} is prepended to +% every other path (|\thesis@logopath|, |\thesis@stylepath| and +% |\thesis@localepath|) used by the class. If non-empty, the +% \textit{path} gets normalized to \textit{path/}. The normalized +% \textit{path} is stored within the |\thesis@basepath| macro, +% whose implicit value is |fithesis/|. +% \begin{macrocode} +\def\thesis@basepath{fithesis/} +\define@key{thesis}{basePath}{% + \ifx\thesis@empty#1\thesis@empty% + \def\thesis@basepath{}% + \else% + \def\thesis@basepath{#1/}% + \fi} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@logopath} +% \subsubsection{The \texttt{logoPath} key} +% The \marg{\texttt{logoPath}=path} pair sets the \textit{path} +% containing the logo files, which is used by the style files to +% load the university and faculty logos. The \textit{path} is +% normalized using the |\thesis@subdir| macro and stored +% within the |\thesis@logopath| macro, whose implicit value +% is |\thesis@basepath| followed by |logo/\thesis@university/|. By +% default, this expands to \texttt{fithesis/logo/mu/}. +% \begin{macrocode} +\def\thesis@logopath{\thesis@basepath logo/\thesis@university/} +\define@key{thesis}{logoPath}{% + \def\thesis@logopath{\thesis@subdir#1% + \empty\empty\empty\empty}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@stylepath} +% \subsubsection{The \texttt{stylePath} key} +% The \marg{\texttt{stylePath}=path} pair sets the \textit{path} +% containing the style files. The \textit{path} is normalized using +% the |\thesis@subdir| macro and stored within the +% |\thesis@stylepath| macro, whose implicit value is +% |\thesis@basepath style/|. By default, this expands to +% \texttt{fithesis/style/}. +% \begin{macrocode} +\def\thesis@stylepath{\thesis@basepath style/} +\define@key{thesis}{stylePath}{% + \def\thesis@stylepath{\thesis@subdir#1% + \empty\empty\empty\empty}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@localepath} +% \subsubsection{The \texttt{localePath} key} +% The \marg{\texttt{localePath}=path} pair sets the \textit{path} +% containing the locale files. The \textit{path} is normalized +% using the |\thesis@subdir| macro and stored within the +% |\thesis@localepath| macro, whose implicit value is +% |\thesis@basepath| followed by |locale/|. By default, this +% expands to \texttt{fithesis/locale/}. +% \begin{macrocode} +\def\thesis@localepath{\thesis@basepath locale/} +\define@key{thesis}{localePath}{% + \def\thesis@localepath{\thesis@subdir#1% + \empty\empty\empty\empty}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@subdir} +% The |\thesis@subdir| macro returns |/| unchanged, coerces +% |.|, |..|, |/|\textit{path}, |./|\textit{path} and +% |../|\textit{path} to |./|, |../|, |/|\textit{path}|/|, +% |./|\textit{path}|/| and |../|\textit{path}|/|, respectively, and +% prefixes any other \textit{path} with |\thesis@basepath|. +% \begin{macrocode} +\def\thesis@subdir#1#2#3#4\empty{% + \ifx#1\empty% <empty> -> <basepath> + \thesis@basepath + \else + \if#1/% + \ifx#2\empty% / -> / + /% + \else% /<path> -> /<path>/ + #1#2#3#4/% + \fi + \else% + \if#1.% + \ifx#2\empty% . -> ./ + ./% + \else + \if#2.% + \ifx#3\empty% .. -> ../ + ../% + \else + \if#3/% ../<path> -> ../<path>/ + ../#4/% + \else + \thesis@basepath#1#2#3#4/% + \fi + \fi + \else + \if#2/% ./<path> -> ./<path>/ + ./#3#4/% + \else + \thesis@basepath#1#2#3#4/% + \fi + \fi + \fi + \else + \thesis@basepath#1#2#3#4/% + \fi + \fi% + \fi} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@def} +% The |\thesis@def|\oarg{key}\marg{name} macro defines +% the |\thesis@|\textit{name} macro to expand +% to either <<\textit{key}>>, if specified, or to +% <<\textit{name}>>. The macro serves to provide placeholder +% strings for macros with no default value. +% \begin{macrocode} +\newcommand{\thesis@def}[2][]{% + \expandafter\def\csname thesis@#2\endcsname{% + <<\ifx\thesis@empty#1\thesis@empty#2\else#1\fi>>}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@declaration} +% \subsubsection{The \texttt{declaration} key} +% The \marg{\texttt{declaration}=text} pair sets the +% declaration \textit{text} to be included into the document. +% The \textit{text} is stored within the |\thesis@declaration| +% macro, whose implicit value is +% |\thesis@@{declaration}|. +% \begin{macrocode} +\def\thesis@declaration{\thesis@@{declaration}} +\long\def\KV@thesis@declaration#1{% + \long\def\thesis@declaration{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\ifthesis@woman} +% \subsubsection{The \texttt{gender} key} +% The \marg{\texttt{gender}=char} pair sets the author's gender to +% either a male, if \textit{char} is the character \texttt{m}, or +% to a female. The gender can be tested using the +% |\ifthesis@woman| \ldots |\else| \ldots |\fi| conditional. The +% implicit gender is male. +% \begin{macrocode} +\newif\ifthesis@woman\thesis@womanfalse +\define@key{thesis}{gender}{% + \def\thesis@male{m}% + \def\thesis@arg{#1}% + \ifx\thesis@male\thesis@arg% + \thesis@womanfalse% + \else% + \thesis@womantrue% + \fi} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@author} +% \subsubsection{The \texttt{author} key} +% The \marg{\texttt{author}=name} pair sets the author's full name +% to \textit{name}. The \textit{name} is parsed using the +% \DescribeMacro{\thesis@parseAuthor}|\thesis@parseAuthor| macro +% and stored within the following macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@author}|\thesis@author| +% -- The full name of the author. +% \item\DescribeMacro{\thesis@author@head}|\thesis@author@head| +% -- The first space-delimited part of the name. This +% corresponds to the author's first name. +% \item\DescribeMacro{\thesis@author@tail}|\thesis@author@tail| +% -- The full name without the first space-delimited part of +% the name. This corresponds to the author's surname. +% \end{itemize} +% \begin{macrocode} +\def\thesis@parseAuthor#1{% + \def\thesis@author{#1}% + \def\thesis@author@head{\expandafter\expandafter\expandafter% + \@gobble\thesis@head#1 \relax}% + \def\thesis@author@tail{\thesis@tail#1 \relax}} +\thesis@def{author}% +\thesis@def[author]{author@head}% +\thesis@def[author]{author@tail}% +\define@key{thesis}{author}{% + \thesis@parseAuthor{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@id} +% \subsubsection{The \texttt{id} key} +% The \marg{\texttt{id}=identifier} pair sets the identifier +% of the thesis author to \textit{identifier}. This usually +% corresponds to the unique identifier of the author within the +% information system of the given university. +% \begin{macrocode} +\thesis@def{id} +\define@key{thesis}{id}{% + \def\thesis@id{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@type} +% \subsubsection{The \texttt{type} key} +% The \marg{\texttt{type}=type} pair sets the type of the thesis +% to \textit{type}. The following types of theses are recognized: +% \begin{center}\begin{tabular}{lc}\toprule +% The thesis type & The value of \textit{type} \\\midrule +% Bachelor's thesis & \texttt{bc} \\ +% Master's thesis & \texttt{mgr} \\ +% Doctoral thesis & \texttt{d} \\ +% Rigorous thesis & \texttt{r} \\\bottomrule +% \end{tabular}\end{center} +% The \textit{type} is stored within the |\thesis@type| macro, +% whose implicit value is |bc|. For the ease of testing of the +% thesis type via |\ifx| conditions within style and locale files, +% the \DescribeMacro{\thesis@bachelors}|\thesis@bachelors|, +% \DescribeMacro{\thesis@masters}|\thesis@masters|, +% \DescribeMacro{\thesis@doctoral}|\thesis@doctoral| and +% \DescribeMacro{\thesis@rigorous}|\thesis@rigorous| macros +% containing the corresponding \textit{type} values are available +% as a part of the private API. +% \begin{macrocode} +\def\thesis@bachelors{bc} +\def\thesis@masters{mgr} +\def\thesis@doctoral{d} +\def\thesis@rigorous{r} +\let\thesis@type\thesis@bachelors +\define@key{thesis}{type}{% + \def\thesis@type{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@university} +% \subsubsection{The \texttt{university} key} +% The \marg{\texttt{university}=identifier} pair sets the +% identifier of the university, at which the thesis is being +% written, to \textit{identifier}. The \textit{identifier} is +% stored within the |\thesis@university| macro, whose +% implicit value is \texttt{mu}. This value corresponds to the +% Masaryk University in Brno. +% \begin{macrocode} +\def\thesis@university{mu} +\define@key{thesis}{university}{% + \def\thesis@university{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@faculty} +% \subsubsection{The \texttt{faculty} key} +% The \marg{\texttt{faculty}=identifier} pair sets the faculty, at +% which the thesis is being written, to \textit{domain}. The +% following faculty \textit{identifier}s are recognized at the +% Masaryk University in Brno: +% \begin{center}\begin{tabularx}{\textwidth}{Xc}\toprule +% The faculty & The \textit{domain} name \\\midrule +% The Faculty of Informatics & \texttt{fi} \\ +% The Faculty of Science & \texttt{sci} \\ +% The Faculty of Law & \texttt{law} \\ +% The Faculty of Economics and Administration & \texttt{econ} \\ +% The Faculty of Social Studies & \texttt{fss} \\ +% The Faculty of Medicine & \texttt{med} \\ +% The Faculty of Education & \texttt{ped} \\ +% The Faculty of Arts & \texttt{phil} \\ +% The Faculty of Sports Studies & \texttt{fsps} \\\bottomrule +% \end{tabularx}\end{center} +% The \textit{identifier} is stored within the |\thesis@faculty| +% macro, whose implicit value is \texttt{fi}. +% \begin{macrocode} +\def\thesis@faculty{fi} +\define@key{thesis}{faculty}{% + \def\thesis@faculty{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@department} +% \subsubsection{The \texttt{department} key} +% The \marg{\texttt{department}=name} pair sets the name of the +% department, at which the thesis is being written, to +% \textit{name}. Unlike the university and faculty identifiers, the +% department \textit{name} is only used for typesetting and it +% should therefore be specified in plain language with optional +% \TeX\ macros. The \textit{name} is stored within the +% |\thesis@department| macro. +% \begin{macrocode} +\thesis@def{department} +\define@key{thesis}{department}{% + \def\thesis@department{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@departmentEn} +% \subsubsection{The \texttt{departmentEn} key} +% The \marg{\texttt{departmentEn}=name} pair sets the English +% name of the department, at which the thesis is being written, to +% \textit{name}. The \textit{name} is stored within the +% |\thesis@departmentEn| macro. +% \begin{macrocode} +\thesis@def{departmentEn} +\define@key{thesis}{departmentEn}{% + \def\thesis@departmentEn{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@programme} +% \subsubsection{The \texttt{programme} key} +% The \marg{\texttt{programme}=name} pair sets the name of the +% author's study programme to \textit{name}. Unlike the university +% and faculty identifiers, the programme \textit{name} is only used +% for typesetting and it should therefore be specified in plain +% language with optional \TeX\ macros. The \textit{name} is stored +% within the |\thesis@programme| macro. +% \begin{macrocode} +\thesis@def{programme} +\define@key{thesis}{programme}{% + \def\thesis@programme{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@programmeEn} +% \subsubsection{The \texttt{programmeEn} key} +% The \marg{\texttt{programmeEn}=name} pair sets the English name +% of the author's study programme to \textit{name}. The +% \textit{name} is stored within the |\thesis@programmeEn| macro. +% \begin{macrocode} +\thesis@def{programmeEn} +\define@key{thesis}{programmeEn}{% + \def\thesis@programmeEn{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@field} +% \subsubsection{The \texttt{field} key} +% The \marg{\texttt{field}=name} pair sets the name of the author's +% field of study to \textit{name}. Unlike the university and +% faculty identifiers, the \textit{name} of the field of study is +% only used for typesetting and it should therefore be specified in +% plain language with optional \TeX\ macros. The \textit{name} is +% stored within the |\thesis@field| macro. +% \begin{macrocode} +\thesis@def{field} +\define@key{thesis}{field}{% + \def\thesis@field{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@fieldEn} +% \subsubsection{The \texttt{fieldEn} key} +% The \marg{\texttt{fieldEn}=name} pair sets the English name of +% the author's field of stufy to \textit{name}. The \textit{name} +% is stored within the |\thesis@fieldEn| macro. +% \begin{macrocode} +\thesis@def{fieldEn} +\define@key{thesis}{fieldEn}{% + \def\thesis@fieldEn{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@universityLogo} +% \subsubsection{The \texttt{universityLogo} key} +% The \marg{\texttt{universityLogo}=filename} pair sets the +% filename of the logo file to be used as the university logo to +% \textit{filename}. The \textit{filename} is stored within the +% |\thesis@universityLogo| macro, whose implicit value is +% \texttt{fithesis-base}. The \texttt{fithesis-} prefix serves to +% prevent package clashes with other similarly named files within +% the \TeX\ directory structure. The logo file is loaded from the +% |\thesis@logopath|\discretionary{}{}{}|\thesis@universityLogo| +% path. +% \begin{macrocode} +\def\thesis@universityLogo{fithesis-base} +\define@key{thesis}{universityLogo}{% + \def\thesis@universityLogo{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@facultyLogo} +% \subsubsection{The \texttt{facultyLogo} key} +% The \marg{\texttt{facultyLogo}=filename} pair sets the filename +% of the logo file to be used as the faculty logo to +% \textit{filename}. The \textit{filename} is stored within the +% |\thesis@|\discretionary{}{}{}|facultyLogo| macro, whose +% implicit value is |fithesis-\thesis@faculty|. The +% \texttt{fithesis-} prefix serves to prevent package clashes with +% other similarly named files within the \TeX\ directory structure. +% The logo file is loaded from the +% |\thesis@logopath\thesis@facultyLogo| path. +% \begin{macrocode} +\def\thesis@facultyLogo{fithesis-\thesis@faculty} +\define@key{thesis}{facultyLogo}{% + \def\thesis@facultyLogo{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@style} +% \subsubsection{The \texttt{style} key} +% The \marg{\texttt{style}=filename} pair sets the filename of the +% style file to be used to \textit{filename}. The \textit{filename} +% is stored within the |\thesis@style| macro, whose +% implicit value is |\thesis@university/fithesis-\thesis@faculty|. +% When the \textit{filename} is an empty token string, no style +% files will be loaded during the main routine (see Section +% \ref{sec:thesis@load}). +% \begin{macrocode} +\def\thesis@style{\thesis@university/fithesis-\thesis@faculty} +\define@key{thesis}{style}{% + \def\thesis@style{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@style@inheritance} +% \subsubsection{The \texttt{styleInheritance} key} +% The \marg{\texttt{styleInheritance}=bool} pair either enables, +% if \textit{bool} is \texttt{true} or unspecified, or disables the +% inheritance for style files. The setting affects the function of +% the |\thesis@requireStyle| macro (see Section +% \ref{sec:reflection}) and can be tested using the +% |\ifthesis@style@inheritance| \ldots |\else| \ldots |\fi| +% conditional. Inheritance is enabled for style files by default. +% \begin{macrocode} +\newif\ifthesis@style@inheritance\thesis@style@inheritancetrue +\define@key{thesis}{styleInheritance}[true]{% + \begingroup + \def\@true{true}% + \def\@arg{#1}% + \ifx\@true\@arg + \endgroup\thesis@style@inheritancetrue + \else + \endgroup\thesis@style@inheritancefalse + \fi} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@locale} +% \subsubsection{The \texttt{locale} key} +% The \marg{\texttt{locale}=name} pair sets the name of the main +% locale to \textit{name}. The \textit{name} is stored within the +% |\thesis@locale| macro, whose implicit value is the main +% language of either the \textsf{babel} or the \textsf{polyglossia} +% package, or \texttt{english}, when undefined. When the +% \textit{name} is an empty token string, no locale files will be +% loaded during the main routine (see Section +% \ref{sec:thesis@load}). +% \begin{macrocode} +\def\thesis@locale{% + % Babel / polyglossia detection + \ifx\languagename\undefined% + english\else\languagename\fi} +\define@key{thesis}{locale}{% + \def\thesis@locale{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\ifthesis@english} +% The English locale is special. Several parts of the document will +% typically be typeset in both the current locale and English. +% However, if the current locale is English, this would result in +% duplicity. To avoid this, the |\ifthesis@english| \ldots |\else| +% \ldots |\fi| conditional is made available for testing, whether +% or not the current locale is English. +% \begin{macrocode} +\def\ifthesis@english{ + \expandafter\def\expandafter\@english\expandafter{\string% + \english}% + \expandafter\expandafter\expandafter\def\expandafter% + \expandafter\expandafter\@locale\expandafter\expandafter% + \expandafter{\expandafter\string\csname\thesis@locale\endcsname}% + \expandafter\csname\expandafter i\expandafter f\ifx\@locale% + \@english% + true% + \else% + false% + \fi\endcsname} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@locale@inheritance} +% \subsubsection{The \texttt{localeInheritance} key} +% The \marg{\texttt{localeInheritance}=bool} pair either enables, +% if \textit{bool} is \texttt{true} or unspecified, or disables the +% inheritance. The setting affects the function of +% the |\thesis@requireLocale| macro (see Section +% \ref{sec:reflection}) and can be tested using the +% |\ifthesis@locale@inheritance| \ldots |\else| \ldots |\fi| +% conditional. Inheritance is enabled for locale files by default. +% \begin{macrocode} +\newif\ifthesis@locale@inheritance\thesis@locale@inheritancetrue +\define@key{thesis}{localeInheritance}[true]{% + \begingroup + \def\@true{true}% + \def\@arg{#1}% + \ifx\@true\@arg + \endgroup\thesis@locale@inheritancetrue + \else + \endgroup\thesis@locale@inheritancefalse + \fi} +% \end{macrocode} +% \end{macro} +% \subsubsection{The \texttt{date} key} +% The \marg{\texttt{date}=date} pair sets the date of the thesis +% defence to \textit{date}, where \textit{date} is a string +% in the \texttt{YYYY/MM/DD} format, where \texttt{YYYY} stands +% for full year, \texttt{MM} stands for month and \texttt{DD} +% stands for day. The \textit{date} is parsed and stored using +% the \DescribeMacro{\thesis@parseDate}|\thesis@parseDate| +% macro within the following macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@date}|\thesis@date| -- The entire +% \textit{date} +% \item\DescribeMacro{\thesis@year}|\thesis@year| -- The +% \texttt{YYYY} part of \textit{date} +% \item\DescribeMacro{\thesis@month}|\thesis@month| -- The +% \texttt{MM} part of \textit{date} +% \item\DescribeMacro{\thesis@day}|\thesis@day| -- The +% \texttt{DD} part of \textit{date} +% \item\DescribeMacro{\thesis@season}|\thesis@season| -- Expands +% to either: +% \begin{itemize} +% \item\texttt{winter} if \texttt{MM} $<7$. +% \item\texttt{summer} if \texttt{MM} $\geq7$. +% \end{itemize} +% \item\DescribeMacro{\thesis@academicYear}|\thesis@academicYear| +% -- The academic year of the given semester: +% \begin{itemize} +% \item\texttt{YYYY/YYYY}$+1$ in case of a summer semester +% \item\texttt{YYYY}$-1$\texttt{/YYYY} in case of a winter +% semester +% \end{itemize} +% \end{itemize} +% To set up the default values, the |\thesis@parseDate| macro is +% called with the fully expanded |\the\year/\the\month/\the\day| +% string. +% \begin{macrocode} +\def\thesis@parseDate#1/#2/#3|{{ + % Basic info + \gdef\thesis@date{#1/#2/#3}% + \gdef\thesis@year{#1}% + \gdef\thesis@month{#2}% + \gdef\thesis@day{#3}% + + % Season and academic year + \newcount\@year \expandafter\@year \thesis@year \relax% + \newcount\@month\expandafter\@month\thesis@month\relax% + \ifnum\@month<7% + \gdef\thesis@season{winter}% + \advance\@year-1\edef\@yearA{\the\@year}% + \advance\@year 1\edef\@yearB{\the\@year}% + \else% + \gdef\thesis@season{summer}% + \edef\@yearA{\the\@year}% + \advance\@year 1\edef\@yearB{\the\@year}% + \fi% + \global\edef\thesis@academicYear{\@yearA/\@yearB}}} + +\edef\thesis@date{\the\year/\the\month/\the\day}% +\expandafter\thesis@parseDate\thesis@date|% + +\define@key{thesis}{date}{{% + \edef\@date{#1}% + \expandafter\thesis@parseDate\@date|}} +% \end{macrocode} +% \begin{macro}{\thesis@place} +% \subsubsection{The \texttt{place} key} +% The \marg{\texttt{place}=place} pair sets the location of the +% faculty, at which the thesis is being prepared, to \textit{place}. +% The \textit{place} is stored within the |\thesis@place| +% macro, whose implicit value is \texttt{Brno}. +% \begin{macrocode} +\def\thesis@place{Brno} +\define@key{thesis}{place}{% + \def\thesis@place{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@title} +% \subsubsection{The \texttt{title} key} +% The \marg{\texttt{title}=title} pair sets the title of the +% thesis to \textit{title}. The \textit{title} is stored within the +% |\thesis@title| macro. +% \begin{macrocode} +\thesis@def{title} +\define@key{thesis}{title}{% + \def\thesis@title{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@TeXtitle} +% \subsubsection{The \texttt{TeXtitle} key} +% The \marg{\texttt{TeXtitle}=title} pair sets the \TeX\ title of +% the thesis to \textit{title}. The \textit{title} is used, when +% typesetting the title, whereas |\thesis@title| is a plain text, +% which gets included in the PDF header of the resulting document. +% The \textit{title} is stored within the |\thesis@TeXtitle| macro, +% whose implicit value is |\thesis@title|. +% \begin{macrocode} +\def\thesis@TeXtitle{\thesis@title} +\define@key{thesis}{TeXtitle}{% + \def\thesis@TeXtitle{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@titleEn} +% \subsubsection{The \texttt{titleEn} key} +% The \marg{\texttt{titleEn}=title} pair sets the English title of +% the thesis to \textit{title}. The \textit{title} is stored within +% the |\thesis@titleEn| macro. +% \begin{macrocode} +\thesis@def{titleEn} +\define@key{thesis}{titleEn}{% + \def\thesis@titleEn{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@TeXtitleEn} +% \subsubsection{The \texttt{TeXtitleEn} key} +% The \marg{\texttt{TeXtitleEn}=title} pair sets the English \TeX\ +% title of the thesis to \textit{title}. The \textit{title} is +% used, when typesetting the title, whereas |\thesis@titleEn| is a +% plain text, which gets included in the PDF header of the +% resulting document. The \textit{title} is stored within the +% |\thesis@TeXtitleEn| macro, whose implicit value is +% |\thesis@titleEn|. +% \begin{macrocode} +\def\thesis@TeXtitleEn{\thesis@titleEn} +\define@key{thesis}{TeXtitleEn}{% + \def\thesis@TeXtitleEn{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@keywords} +% \subsubsection{The \texttt{keywords} key} +% The \marg{\texttt{keywords}=list} pair sets the keywords of the +% thesis to the comma-delimited \textit{list}. The \textit{list} +% is stored within the |\thesis@keywords| macro. +% \begin{macrocode} +\thesis@def{keywords} +\define@key{thesis}{keywords}{% + \def\thesis@keywords{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@TeXkeywords} +% \subsubsection{The \texttt{TeXkeywords} key} +% The \marg{\texttt{TeXkeywords}=list} pair sets the \TeX\ keywords +% of the thesis to the comma-delimited \textit{list}. The +% \textit{list} is used, when typesetting the keywords, whereas +% |\thesis@|\discretionary{}{}{}|keywords| is a plain text, which +% gets included in the PDF header of the resulting document. The +% \textit{list} is stored within the |\thesis@TeXkeywords| macro. +% \begin{macrocode} +\def\thesis@TeXkeywords{\thesis@keywords} +\define@key{thesis}{TeXkeywords}{% + \def\thesis@TeXkeywords{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@keywordsEn} +% \subsubsection{The \texttt{keywordsEn} key} +% The \marg{\texttt{keywordsEn}=list} pair sets the English +% keywords of the thesis to the comma-delimited \textit{list}. The +% \textit{list} is stored within the |\thesis@keywordsEn| macro. +% \begin{macrocode} +\thesis@def{keywordsEn} +\define@key{thesis}{keywordsEn}{% + \def\thesis@keywordsEn{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@TeXkeywordsEn} +% \subsubsection{The \texttt{TeXkeywordsEn} key} +% The \marg{\texttt{TeXkeywordsEn}=list} pair sets the English +% \TeX\ keywords of the thesis to the comma-delimited +% \textit{list}. The \textit{list} is used, when typesetting the +% keywords, whereas |\thesis@keywordsEn| is a plain text, which +% gets included in the PDF header of the resulting document. The +% \textit{list} is stored within the |\thesis@TeXkeywordsEn| macro. +% \begin{macrocode} +\def\thesis@TeXkeywordsEn{\thesis@keywordsEn} +\define@key{thesis}{TeXkeywordsEn}{% + \def\thesis@TeXkeywordsEn{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@abstract} +% \subsubsection{The \texttt{abstract} key} +% The \marg{\texttt{abstract}=text} pair sets the abstract of the +% thesis to \textit{text}. The \textit{text} is stored within the +% |\thesis@abstract| macro. +% \begin{macrocode} +\thesis@def{abstract} +\long\def\KV@thesis@abstract#1{% + \long\def\thesis@abstract{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@abstractEn} +% \subsubsection{The \texttt{abstractEn} key} +% The \marg{\texttt{abstractEn}=text} pair sets the English +% abstract of the thesis to \textit{text}. The \textit{text} +% is stored within the |\thesis@abstractEn| macro. +% \begin{macrocode} +\thesis@def{abstractEn} +\long\def\KV@thesis@abstractEn#1{% + \long\def\thesis@abstractEn{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@advisor} +% \subsubsection{The \texttt{advisor} key} +% The \marg{\texttt{advisor}=name} pair sets the thesis advisor's +% full name to \textit{name}. The \textit{name} is stored within +% the |\thesis@advisor| macro. +% \begin{macrocode} +\thesis@def{advisor} +\define@key{thesis}{advisor}{\def\thesis@advisor{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@thanks} +% \subsubsection{The \texttt{thanks} key} +% The \marg{\texttt{thanks}=text} pair sets the acknowledgement +% text to \textit{text}. The \textit{text} is stored within +% the |\thesis@thanks| macro. +% \begin{macrocode} +\long\def\KV@thesis@thanks#1{% + \long\def\thesis@thanks{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\thesis@assignmentFiles} +% \subsubsection{The \texttt{assignment} key} +% The \marg{\texttt{assignment}=list} pair sets the comma-delimited +% list of paths to the PDF files containing the thesis assignment +% to \textit{list}. The \textit{list} is stored within the +% |\thesis@assignmentFiles| macro. +% \begin{macrocode} +\define@key{thesis}{assignment}{% + \def\thesis@assignmentFiles{#1}} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\ifthesis@auto} +% \subsubsection{The \texttt{autoLayout} key} +% The \marg{\texttt{autoLayout}=bool} pair either enables, +% if \textit{bool} is \texttt{true} or unspecified, or disables +% autolayout. Autolayout injects the +% |\thesis@preamble| and |\thesis@postamble| macros +% at the beginning and the end of the document, respectively. The +% setting can be tested using the |\ifthesis@auto| \ldots |\else| +% \ldots |\fi| conditional. The autolayout is enabled by default. +% \begin{macrocode} +\newif\ifthesis@auto\thesis@autotrue +\define@key{thesis}{autoLayout}[true]{% + \def\@true{true}% + \def\@arg{#1}% + \ifx\@true\@arg% + \thesis@autotrue% + \else% + \thesis@autofalse% + \fi} +% \end{macrocode} +% \end{macro} ^^A The nested \ifthesis@auto macro definition +% \end{macro} ^^A The \thesissetup macro definition +% The \DescribeMacro{\thesis@preamble}|\thesis@postamble| +% and \DescribeMacro{\thesis@postamble}|\thesis@preamble| +% macros are defined as empty token strings by default and +% are subject to redefinition by the style files. +% \begin{macrocode} +\def\thesis@preamble{} +\def\thesis@postamble{} +% \end{macrocode} +% \subsection{The \cs{thesislong} macro}\label{sec:thesislong} +% \begin{macro}{\thesislong} +% The public macro |\thesislong|\marg{key}\marg{value}, where +% \textit{value} may contain multiple paragraphs of text, can be +% used as an alternative to the |\thesissetup| public macro, which +% only permits a single paragraph as the \textit{value}, for the +% following \textit{key}s: +% \begin{itemize} +% \item\texttt{abstract} +% \item\texttt{abstractEn} +% \item\texttt{thanks} +% \item\texttt{declaration} +% \end{itemize} +% \begin{macrocode} +\long\def\thesislong#1#2{% + \csname KV@thesis@#1\endcsname{#2}} +% \end{macrocode} +% \end{macro} +% \section{Private API} +% \subsection{Main routine}\label{sec:thesis@load} +% \begin{macro}{\thesis@load} +% The |\thesis@load| macro is responsible for preparing the +% environment for, and consequently loading, the necessary locale +% and style files. By default, the |\thesis@load| macro gets +% expanded at the end of the preamble, +% but it can be expanded manually prior to that point, if necessary +% to prevent package clashes. The \DescribeMacro{\ifthesis@loaded} +% |\ifthesis@loaded| semaphore ensures that the expansion is only +% performed once. +% \begin{macrocode} +\newif\ifthesis@loaded\thesis@loadedfalse +\AtEndPreamble{\thesis@load} +\def\thesis@load{% + \ifthesis@loaded\else% + \thesis@loadedtrue + \makeatletter% +% \end{macrocode} +% First, the main locale is selected and its files are loaded using +% the |\thesis@selectLocale| macro. +% \begin{macrocode} + \ifx\thesis@locale\empty\else + \thesis@selectLocale{\thesis@locale} + \fi +% \end{macrocode} +% Consequently, the style files are loaded. +% \begin{macrocode} + \ifx\thesis@style\empty\else + \thesis@requireStyle{\thesis@style} + \fi +% \end{macrocode} +% With the placeholder strings loaded from the locale files, we +% can now inject metadata into the resulting PDF file. To this +% end, the \textsf{hyperref} package is conditionally included with +% the \texttt{unicode} option. Consequently, the following values +% are assigned to the PDF headers:\begin{itemize} +% \item\texttt{Title} is set to |\thesis@title|. +% \item\texttt{Author} is set to |\thesis@author|. +% \item\texttt{Keywords} is set to |\thesis@keywords|. +% \item\texttt{Creator} is set to \texttt{\thesis@version}. +% \end{itemize} +% \begin{macrocode} + \thesis@require{hyperref}% + {\hypersetup{unicode, + pdftitle={\thesis@title},% + pdfauthor={\thesis@author},% + pdfkeywords={\thesis@keywords},% + pdfcreator={\thesis@version},% + }}% +% \end{macrocode} +% If autolayout is enabled, the |\thesis@preamble| and +% |\thesis@postamble| macros are scheduled for expansion at the +% beginning and at the end of the document, respectively. +% \begin{macrocode} + \ifthesis@auto% + \AtBeginDocument{\thesis@preamble}% + \AtEndDocument{\thesis@postamble}% + \fi% +% \end{macrocode} +% Lastly, the \DescribeMacro{\thesis@pages}|\thesis@pages| +% macro definition containing the length of the document is +% scheduled to be included in the auxiliary file. +% \begin{macrocode} + \AtEndDocument{% + % Define \thesis@pages for the next run + \write\@auxout{\noexpand\gdef\noexpand% + \thesis@pages{\thepage}}} + \makeatother% + \fi} +% \end{macrocode} +% \end{macro} +% \subsection{File manipulation macros}\label{sec:reflection} +% \begin{macro}{\thesis@exists} +% The |\thesis@exists|\marg{file}\marg{tokens} macro is +% used to test for the existence of a given \textit{file}. If the +% \textit{file} exists, the macro expands to \textit{tokens}. +% Otherwise, a class warning is written to the output. +% \begin{macrocode} +\def\thesis@exists#1#2{% + \IfFileExists{#1}{#2}{% + \ClassWarning{fithesis3}{File #1 doesn't exist}}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@input} +% The |\thesis@input|\marg{file} macro inputs the given +% \textit{file}, if it exists. +% \begin{macrocode} +\def\thesis@input#1{% + \thesis@exists{#1}{\input{#1}}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@require} +% The |\thesis@require| \marg{package} expands to +% |\RequirePackage|\marg{package}, if the specified +% \textit{package} has not yet been loaded. +% \begin{macrocode} +\def\thesis@require#1{% + \@ifpackageloaded{#1}{}{\RequirePackage{#1}}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@requireWithOptions} +% The |\thesis@requireWithOptions|\marg{package} expands to +% |\RequirePackageWithOptions|\marg{package}, if the specified +% \textit{package} exists and has not yet been loaded. +% \begin{macrocode} +\def\thesis@requireWithOptions#1{\thesis@exists{#1.sty}{% + \@ifpackageloaded{#1}{}{\RequirePackageWithOptions{#1}}}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@requireStyle} +% If inheritance is enabled for style files, then the +% |\thesis@requireStyle|\marg{style} macro sequentially +% loads each of the following files, provided they exist: +% \begin{enumerate} +% \item|\thesis@stylepath fithesis-base.sty| +% \item|\thesis@stylepath\thesis@university/fithesis-base.sty| +% \item|\thesis@stylepath| \textit{style}|.sty| +% \end{enumerate}If inheritance is disabled for style files, then +% only the last listed file is loaded. The \texttt{fithesis-} +% prefix serves to prevent package clashes with other similarly +% named package files within the \TeX\ directory structure. +% \begin{macrocode} +\def\thesis@requireStyle#1{% + \ifthesis@style@inheritance% + \thesis@requireWithOptions{\thesis@stylepath fithesis-base}% + \thesis@requireWithOptions{\thesis@stylepath\thesis@university% + /fithesis-base} + \fi% + \thesis@requireWithOptions{\thesis@stylepath#1}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@requireLocale} +% If inheritance is enabled for style files, then the +% |\thesis@requireStyle|\marg{locale} macro sequentially +% loads each of the following locale files, provided they exist: +% \begin{enumerate} +% \item|\thesis@localepath fithesis-|\textit{locale}|.def| +% \item|\thesis@localepath\thesis@university/fithesis-|^^A +% \textit{locale}|.def| +% \item|\thesis@localepath\thesis@university/\thesis@faculty/|^^A +% |fithesis-|\textit{locale}|.def| +% \end{enumerate} If inheritance is disabled for locale files, then +% only the first listed file is loaded. The \texttt{fithesis-} +% prefix serves to prevent clashes with other similarly named files +% within the \TeX\ directory structure. To prevent undesirable side +% effects from locale files being loaded multiple times, the +% |\thesis@|\textit{locale}|@required| macro is defined as a flag, +% which prevents future invocations with the same \textit{locale}. +% The macro can be used within both locale and style files, +% although the usage within locale files is strongly discouraged to +% prevent circular dependencies. +% \begin{macrocode} +\def\thesis@requireLocale#1{% + % Ignore redundant requests + \expandafter\ifx\csname thesis@#1@required\endcsname\relax% + \expandafter\def\csname thesis@#1@required\endcsname{}% + {\makeatletter % Enable requiring from within the document + \thesis@input{\thesis@localepath fithesis-#1.def}% + \ifthesis@locale@inheritance% + \thesis@input{\thesis@localepath\thesis@university/% + fithesis-#1.def}% + \thesis@input{\thesis@localepath\thesis@university/% + \thesis@faculty/fithesis-#1.def}% + \fi} + \fi} +% \end{macrocode}\end{macro} +% \subsection{String manipulation macros} +% \begin{macro}{\thesis@} +% The |\thesis@|\marg{name} macro expands to |\thesis@|^^A +% \textit{name}, where \textit{name} gets fully expanded and can +% therefore contain active characters and command sequences. +% \begin{macrocode} +\def\thesis@#1{\csname thesis@#1\endcsname} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@@} +% The |\thesis@@|\marg{name} macro expands to |\thesis@|^^A +% \textit{locale}|@|\textit{name}, where \textit{locale} +% corresponds to the name of the current locale. The \textit{name} +% gets fully expanded and can therefore contain active characters +% and command sequences. +% \begin{macrocode} +\def\thesis@@#1{\thesis@{\thesis@locale @#1}} +% \end{macrocode} +% \end{macro} +% The \DescribeMacro{\thesis@lower}|\thesis@lower| +% and \DescribeMacro{\thesis@upper}|\thesis@upper| +% macros are used for upper- and lowercasing within +% locale files. To cast the |\thesis@|\textit{name} macro +% to the lower- or uppercase, |\thesis@lower{|\textit{name}|}| or +% |\thesis@upper{|\textit{name}|}| would be used, respectively. +% The \textit{name} gets fully expanded and can therefore contain +% active characters and command sequences. +% \begin{macrocode} +\def\thesis@lower#1{{% + \let\ea\expandafter% + \ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\lowercase\ea\ea\ea + \ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea{\ea\ea\ea\ea\ea\ea\ea\ea\ea + \ea\ea\ea\ea\ea\ea\@gobble\ea\ea\ea\string\ea\csname\csname the% + sis@#1\endcsname\endcsname}}} +\def\thesis@upper#1{{% + \let\ea\expandafter% + \ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\uppercase\ea\ea\ea + \ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea\ea{\ea\ea\ea\ea\ea\ea\ea\ea\ea + \ea\ea\ea\ea\ea\ea\@gobble\ea\ea\ea\string\ea\csname\csname the% + sis@#1\endcsname\endcsname}}} +% \end{macrocode} +% The \DescribeMacro{\thesis@@lower}|\thesis@@lower| +% and \DescribeMacro{\thesis@@upper}|\thesis@@upper| +% macros are used for upper- and lowercasing current +% \textit{locale} strings within style files. To cast the +% |\thesis@|\textit{locale}|@|\textit{name} macro to the +% lower- or uppercase, |\thesis@@lower{|\textit{name}|}| or +% |\thesis@@upper{|\textit{name}|}| would be used, +% respectively. The \textit{name} gets fully expanded and can +% therefore contain active characters and command sequences. +% \begin{macrocode} +\def\thesis@@lower#1{\thesis@lower{\thesis@locale @#1}} +\def\thesis@@upper#1{\thesis@upper{\thesis@locale @#1}} +% \end{macrocode} +% The \DescribeMacro{\thesis@head}|\thesis@head| +% and \DescribeMacro{\thesis@tail}|\thesis@tail| +% macros are used for retrieving a head or a tail of +% space-separated token sequences, which end with |\relax|. +% \begin{macrocode} +\def\thesis@head#1 #2{% + \ifx\relax#2% + \expandafter\@gobbletwo% + \else% + \ #1% + \fi% + \thesis@head#2}% +\def\thesis@tail#1 #2{% + \ifx\relax#2% + #1% + \expandafter\@gobbletwo% + \fi% + \thesis@tail#2}% +% \end{macrocode} +% \subsection{General purpose macros} +% The \DescribeMacro{\thesis@pages}|\thesis@pages| macro is defined +% at the beginning of the second \LaTeX\ run as a part of the main +% routine (see Section \ref{sec:thesis@load}). During the first +% run, the macro expands to \texttt{??}. +% \begin{macrocode} +\ifx\thesis@pages\undefined\def\thesis@pages{??}\fi +% \end{macrocode} +% \DescribeMacro{\thesis@selectLocale}|\thesis@selectLocale|\marg{locale} +% macro redefines the |\thesis@locale| macro to \textit{locale}, +% loads the locale files of \textit{locale} and switches to the +% hyphenation patterns of \textit{locale}. +% \begin{macrocode} +\def\thesis@selectLocale#1{% + \edef\thesis@locale{#1}% + \thesis@requireLocale{\thesis@locale}% + \expandafter\language\csname l@\thesis@locale\endcsname} +% \end{macrocode} +% \iffalse +%</class> +% ^^A Old fithesis classes +%<*oldclass1> + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{oldfithesis1}[2015/03/04 old fithesis will load fithesis3 MU thesis class] + +\ClassWarning{oldfithesis1}{% + You are using the fithesis class, which has been deprecated. + The fithesis3 class will be used instead. + For more information, see <http://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml>% +}\LoadClass{fithesis3} + +%</oldclass1> +% +%<*oldclass2> + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{oldfithesis2}[2015/03/04 old fithesis2 will load fithesis3 MU thesis class] + +\ClassWarning{oldfithesis2}{% + You are using the fithesis2 class, which has been deprecated. + The fithesis3 class will be used instead. + For more information, see <http://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml>% +}\LoadClass{fithesis3} + +%</oldclass2> +% \fi +% +% \subsection{Locale files} +% \label{sec:locale-files} +% Locale files contain macro definitions for various locales. They +% live in the \texttt{locale/} subtree and they are loaded during +% the main routine (see Section \ref{sec:thesis@load}). +% +% When creating a new locale file, it is advisable to create one +% self-contained \texttt{dtx} file, which is then partitioned into +% locale files via the \textsf{docstrip} tool based on the +% respective \texttt{ins} file. A \DescribeMacro{\file} macro +% |\file|\marg{filename} is available for the sectioning of the +% documentation of various files within the \texttt{dtx} file. For +% more information about \texttt{dtx} files and the +% \textsf{docstrip} tool, consult the \textsf{dtxtut, docstrip, +% doc} and \textsf{ltxdoc} manuals. +% +% Mind that the name of the locale is also used to load hyphenation +% patterns, which is why it shouldn't be arbitrary. To see the +% names of the hyphenation patterns, consult the \textsf{hyph-utf8} +% manual. +% +% \subsubsection{Interface} +% The union of locale files loaded via the locale file inheritance +% scheme (see the definition of the |\thesis@requireLocale| macro +% in Section \ref{sec:reflection}) needs to globally define the +% following macros: +% \begin{itemize} +% \item|\thesis@|\textit{locale}|@universityName| -- The name of +% the university +% \item|\thesis@|\textit{locale}|@facultyName| -- The name of the +% faculty +% \item|\thesis@|\textit{locale}|@assignment| -- The instructions +% to replace the current page with the official thesis assignment +% \item|\thesis@|\textit{locale}|@declaration| -- The thesis +% declaration text +% \item|\thesis@|\textit{locale}|@fieldTitle| -- The title of +% the field of study entry +% \item|\thesis@|\textit{locale}|@advisorTitle| -- The title of +% the advisor entry +% \item|\thesis@|\textit{locale}|@authorTitle| -- The title of +% the author entry +% \item|\thesis@|\textit{locale}|@abstractTitle| -- The title of +% the abstract section +% \item|\thesis@|\textit{locale}|@keywordsTitle| -- The title of +% the keywords section +% \item|\thesis@|\textit{locale}|@thanksTitle| -- The title of +% the acknowledgement section +% \item|\thesis@|\textit{locale}|@declarationTitle| -- The title +% of the declaration section +% \item|\thesis@|\textit{locale}|@idTitle| -- The title of the +% thesis author's identifier field +% \item|\thesis@|\textit{locale}|@winter| -- The name of the +% winter semester +% \item|\thesis@|\textit{locale}|@summer| -- The name of the +% summer semester +% \item|\thesis@|\textit{locale}|@semester| -- The full name of +% the current semester +% \item|\thesis@|\textit{locale}|@typeName| -- The name of the +% thesis type +% \end{itemize} where \textit{locale} is the name of the locale. +% +% \def\file#1{\paragraph{The \texttt{#1} file}} +% \subsubsection{English locale files} +% \input{locale/english.dtx} +% \subsubsection{Czech locale files} +% \input{locale/czech.dtx} +% \subsubsection{Slovak locale files} +% \input{locale/slovak.dtx} +% +% \subsection{Style files} +% \label{sec:style-files} +% Style files define the structure and the look of the resulting +% document. They live in the \texttt{style/} subtree and they are +% loaded during the main routine (see Section +% \ref{sec:thesis@load}). +% +% When creating a new style file, it is advisable to create one +% self-contained \texttt{dtx} file, which can contain several +% files to be extracted via the \textsf{docstrip} tool based on the +% respective \texttt{ins} file. A \DescribeMacro{\file} macro +% |\file|\marg{filename} is available for the sectioning of the +% documentation of various files within the \texttt{dtx} file. +% For more information about \texttt{dtx} files and the +% \textsf{docstrip} tool, consult the \textsf{dtxtut, docstrip, +% doc} and \textsf{ltxdoc} manuals. +% +% \subsubsection{Interface} +% The union of style files loaded via the style file inheritance +% scheme (see the definition of the |\thesis@requireStyle| macro in +% Section \ref{sec:reflection}) should globally define at least one +% of the following macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@preamble} +% |\thesis@preamble| -- If autolayout is +% enabled, then this macro is expanded at the +% very beginning of the document. +% \item\DescribeMacro{\thesis@postamble} +% |\thesis@postamble| -- If autolayout is +% enabled, then this macro is expanded at the +% very end of the document. +% \end{itemize} +% +% \subsubsection{Base style files} +% \input{style/base.dtx} +% \input{style/mu/base.dtx} +% \subsubsection{The style files of the Faculty of Informatics} +% \input{style/mu/fi.dtx} +% \subsubsection{The style files of the Faculty of Science} +% \input{style/mu/sci.dtx} +% \subsubsection{The style files of the Faculty of Arts} +% \input{style/mu/phil.dtx} +% \subsubsection{The style files of the Faculty of Education} +% \input{style/mu/ped.dtx} +% \subsubsection{The style files of the Faculty of Social Studies} +% \input{style/mu/fss.dtx} +% \subsubsection{The style files of the Faculty of Law} +% \input{style/mu/law.dtx} +% \subsubsection{The style files of the Faculty of Economics and +% Administration} +% \input{style/mu/econ.dtx} +% \subsubsection{The style files of the Faculty of Medicine} +% \input{style/mu/med.dtx} +% \subsubsection{The style files of the Faculty of Sports Studies} +% \input{style/mu/fsps.dtx} diff --git a/Master/texmf-dist/source/latex/fithesis/fithesis.ins b/Master/texmf-dist/source/latex/fithesis/fithesis.ins new file mode 100644 index 00000000000..c9aaccfbeea --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/fithesis.ins @@ -0,0 +1,5 @@ +\input ./LICENSE +\generate{\file{fithesis.cls}{\from{fithesis.dtx}{oldclass1}} + \file{fithesis2.cls}{\from{fithesis.dtx}{oldclass2}} + \file{fithesis3.cls}{\from{fithesis.dtx}{class}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/locale/czech.dtx b/Master/texmf-dist/source/latex/fithesis/locale/czech.dtx new file mode 100644 index 00000000000..05264cd3494 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/locale/czech.dtx @@ -0,0 +1,318 @@ +% \file{locale/fithesis-czech.def} +% This is the base file of the Czech locale. It defines all the +% private macros mandated by the locale file interface. +% \begin{macro}{\thesis@czech@gender@koncovka} +% The locale file also defines the |\thesis@czech@gender@koncovka| +% macro, which expands to the correct verb ending based on the +% value of the |\thesis@ifwoman| macro and the +% |\thesis@czech@typeName@akuzativ| containing the accusative case +% of the thesis type name. +% \end{macro}\iffalse +%<*base> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/fithesis-czech.def}[2015/06/26] + +% Pomocná makra +\gdef\thesis@czech@gender@koncovka{% + \ifthesis@woman a\fi} + +% Zástupné texty +\gdef\thesis@czech@universityName{Název univerzity} +\gdef\thesis@czech@facultyName{Název fakulty} +\gdef\thesis@czech@assignment{Místo tohoto listu vložte kopii + oficiálního podepsaného zadání práce.} +\gdef\thesis@czech@declaration{Text prohlášení ...} + +% Různé +\gdef\thesis@czech@fieldTitle{Obor} +\gdef\thesis@czech@advisorTitle{Vedoucí práce} +\gdef\thesis@czech@authorTitle{Autor} +\gdef\thesis@czech@abstractTitle{Shrnutí} +\gdef\thesis@czech@keywordsTitle{Klíčová slova} +\gdef\thesis@czech@thanksTitle{Poděkování} +\gdef\thesis@czech@declarationTitle{Prohlášení} +\gdef\thesis@czech@idTitle{ID} +\gdef\thesis@czech@winter{Jaro} +\gdef\thesis@czech@summer{Podzim} +\gdef\thesis@czech@semester{% + \thesis@{czech@\thesis@season} \thesis@year} +\gdef\thesis@czech@typeName{% + \ifx\thesis@type\thesis@bachelors% + Bakalářská práce% + \else\ifx\thesis@type\thesis@masters% + Diplomová práce% + \else\ifx\thesis@type\thesis@doctoral% + Disertační práce% + \else\ifx\thesis@type\thesis@rigorous% + Rigorózní práce% + \else% + <<Neznámý typ práce (\thesis@type)>>% + \fi\fi\fi\fi} +\gdef\thesis@czech@typeName@akuzativ{% + \ifx\thesis@type\thesis@bachelors% + Bakalářskou práci% + \else\ifx\thesis@type\thesis@masters% + Diplomovou práci% + \else\ifx\thesis@type\thesis@doctoral% + Disertační práci% + \else\ifx\thesis@type\thesis@rigorous% + Rigorózní práci% + \else% + <<Neznámý typ práce (\thesis@type)>>% + \fi\fi\fi\fi} +% \end{macrocode}\iffalse +%</base> +% \fi\file{locale/mu/fithesis-czech.def} +% This is the Czech locale file specific to the Masaryk +% University in Brno. It replaces the \texttt{universityName} +% placeholder with the correct value and defines the +% \texttt{declaration} and \texttt{idTitle} strings. +% \iffalse +%<*mu> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fithesis-czech.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@czech@universityName{Masarykova Univerzita} +\gdef\thesis@czech@declaration{Prohlašuji, že jsem + \thesis@lower{czech@typeName@akuzativ} zpracoval% + \thesis@czech@gender@koncovka\ samostatně a + použil\thesis@czech@gender@koncovka\ jen prameny + uvedené~v seznamu literatury.} + +% Různé +\gdef\thesis@czech@idTitle{UČO} +% \end{macrocode}\iffalse +%</mu> +% \fi\file{locale/mu/law/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of Law at +% the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value, defines +% the \texttt{facultyLongName} required by the +% |\thesis@blocks@cover| and the |\thesis@blocks@titlePage| blocks +% and replaces the \texttt{abstractTitle} string in accordance +% with the requirements of the faculty. +% \iffalse +%<*mu/law> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/law/fithesis-czech.def}[2015/06/26] + +% Různé +\gdef\thesis@czech@abstractTitle{Abstrakt} + +% Zástupné texty +\gdef\thesis@czech@facultyName{Právnická fakulta} +\gdef\thesis@czech@facultyLongName{Právnická fakulta Masarykovy + univerzity} +% \end{macrocode}\iffalse +%</mu/law> +% \fi\file{locale/mu/fsps/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of Sports +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the \texttt{fieldTitle} string in accordance with the +% common usage at the faculty. +% \iffalse +%<*mu/fsps> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fsps/fithesis-czech.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Fakulta sportovních studií} + +% Různé +\gdef\thesis@czech@fieldTitle{Specializace} +% \end{macrocode}\iffalse +%</mu/fsps> +% \fi\file{locale/mu/fss/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of Social +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} and \texttt{assignment} placeholders with +% the correct values. +% \iffalse +%<*mu/fss> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fss/fithesis-czech.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Fakulta sociálních studií} +\gdef\thesis@czech@assignment{Místo tohoto listu + vložte kopie oficiálního podepsaného zadání práce nebo + prohlášení autora školního díla nebo obojí~v závislosti na + požadavcích příslušné katedry.} + +% \end{macrocode}\iffalse +%</mu/fss> +% \fi\file{locale/mu/econ/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Economics and Administration at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. +% \iffalse +%<*mu/econ> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/econ/fithesis-czech.def}[2015/06/26] +\gdef\thesis@czech@facultyName{Ekonomicko-správní fakulta} +% \end{macrocode}\iffalse +%</mu/econ> +% \fi\file{locale/mu/med/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Medicine at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value and redefines the \texttt{abstractTitle} string in +% accordance with the common usage at the faculty. The file also +% defines the \texttt{bib@title} and \texttt{bib@pages} strings +% required by the |\thesis@blocks@bibEntry| block defined within +% the \texttt{style/mu/fithesis-med.sty} style file. +% \iffalse +%<*mu/med> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/med/fithesis-czech.def}[2015/06/26] + +% Různé +\gdef\thesis@czech@abstractTitle{Anotace} + +% Zástupné texty +\gdef\thesis@czech@facultyName{Lékařská fakulta} + +% Bibliografický záznam +\gdef\thesis@czech@bib@title{Bibliografický záznam} +\gdef\thesis@czech@bib@pages{str} +% \end{macrocode}\iffalse +%</mu/med> +% \fi\file{locale/mu/fi/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Informatics at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value and redefines the \texttt{declaration} string in +% accordance with the requirements of the faculty. The file also +% defines the \texttt{advisorSignature} string required by the +% |\thesis@blocks@titlePage| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-fi.sty} +% style file. +% \iffalse +%<*mu/fi> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fi/fithesis-czech.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Fakulta informatiky} +\gdef\thesis@czech@assignment{Místo tohoto listu + vložte kopie oficiálního podepsaného zadání práce a + prohlášení autora školního díla.} +\gdef\thesis@czech@declaration{% + Prohlašuji, že tato \thesis@lower{czech@typeName} je mým + původním autorským dílem, které jsem vypracoval% + \thesis@czech@gender@koncovka\ samostatně. Všechny zdroje, + prameny a literaturu, které jsem při vypracování + používal\thesis@czech@gender@koncovka\ nebo z~nich + čerpal\thesis@czech@gender@koncovka, v~práci řádně cituji + s~uvedením úplného odkazu na příslušný zdroj.} + +% Ostatní +\gdef\thesis@czech@advisorSignature{Podpis vedoucího} +% \end{macrocode}\iffalse +%</mu/fi> +% \fi\file{locale/mu/phil/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Arts at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. It also redefines the \texttt{declaration}, +% \texttt{typeName} and \texttt{typeName@akuzativ} strings in +% accordance with the requirements of the faculty. +% \iffalse +%<*mu/phil> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/phil/fithesis-czech.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Filozofická fakulta} +\gdef\thesis@czech@declaration{% + Prohlašuji, že jsem \thesis@lower{czech@typeName@akuzativ} + vypracoval\thesis@czech@gender@koncovka\ samostatně~s využitím + uvedené literatury.} + +% Ostatní +\gdef\thesis@czech@typeName{% + \ifx\thesis@type\thesis@bachelors% + Bakalářská diplomová práce% + \else\ifx\thesis@type\thesis@masters% + Magisterská diplomová práce% + \else\ifx\thesis@type\thesis@doctoral% + Disertační práce% + \else% + <<Neznámý typ práce (\thesis@type)>>% + \fi\fi\fi} +\gdef\thesis@czech@typeName@akuzativ{% + \ifx\thesis@type\thesis@bachelors% + Diplomovou práci% + \else\ifx\thesis@type\thesis@masters% + Diplomovou práci% + \else\ifx\thesis@type\thesis@doctoral% + Disertační práci% + \else% + <<Neznámý typ práce (\thesis@type)>>% + \fi\fi\fi} +% \end{macrocode}\iffalse +%</mu/phil> +% \fi\file{locale/mu/ped/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of +% Education at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. The file also defines the +% \texttt{bib@title} and \texttt{bib@pages} strings required by the +% |\thesis@blocks@bibEntry| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-ped.sty} +% style file. +% \iffalse +%<*mu/ped> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/ped/fithesis-czech.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Pedagogická fakulta} + +% Bibliografický záznam +\gdef\thesis@czech@bib@title{Bibliografický záznam} +\gdef\thesis@czech@bib@pages{str} +% \end{macrocode}\iffalse +%</mu/ped> +% \fi\file{locale/mu/sci/fithesis-czech.def} +% This is the Czech locale file specific to the Faculty of Science +% at the Masaryk University in Brno. It defines the private macros +% required by the |\thesis@blocks@|\discretionary{}{}{}|bibEntry| +% block defined within the +% \texttt{style/mu/fithesis-sci.sty} style file. It also +% replaces the \texttt{facultyName} placeholder with the correct +% value and redefines the \texttt{abstractTitle} and +% \texttt{declaration} strings in accordance with the formal +% requirements of the faculty. +% \iffalse +%<*mu/sci> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/sci/fithesis-czech.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@czech@facultyName{Přírodovědecká fakulta} + +% Ostatní +\gdef\thesis@czech@abstractTitle{Abstrakt} +\gdef\thesis@czech@declaration{% + Prohlašuji, že jsem svoji \thesis@lower{czech@typeName@% + akuzativ} vypracoval\thesis@czech@gender@koncovka\ samo% + statně s~využitím informačních zdrojů, které jsou v~práci + citovány.} + +% Bibliografický záznam +\gdef\thesis@czech@bib@title{Bibliografický záznam} +\global\let\thesis@czech@bib@author\thesis@czech@authorTitle +\gdef\thesis@czech@bib@thesisTitle{Název práce} +\gdef\thesis@czech@bib@programme{Studijní program} +\global\let\thesis@czech@bib@field\thesis@czech@fieldTitle +\global\let\thesis@czech@bib@advisor\thesis@czech@advisorTitle +\gdef\thesis@czech@bib@academicYear{Akademický rok} +\gdef\thesis@czech@bib@pages{Počet stran} +\global\let\thesis@czech@bib@keywords\thesis@czech@keywordsTitle +% \end{macrocode}\iffalse +%</mu/sci> +% \fi diff --git a/Master/texmf-dist/source/latex/fithesis/locale/czech.ins b/Master/texmf-dist/source/latex/fithesis/locale/czech.ins new file mode 100644 index 00000000000..65f9a2d2b65 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/locale/czech.ins @@ -0,0 +1,13 @@ +\input ../LICENSE +\generate{\file{fithesis-czech.def}{\from{czech.dtx}{base}} + \file{mu/fithesis-czech.def}{\from{czech.dtx}{mu}} + \file{mu/law/fithesis-czech.def}{\from{czech.dtx}{mu/law}} + \file{mu/fsps/fithesis-czech.def}{\from{czech.dtx}{mu/fsps}} + \file{mu/fss/fithesis-czech.def}{\from{czech.dtx}{mu/fss}} + \file{mu/econ/fithesis-czech.def}{\from{czech.dtx}{mu/econ}} + \file{mu/med/fithesis-czech.def}{\from{czech.dtx}{mu/med}} + \file{mu/fi/fithesis-czech.def}{\from{czech.dtx}{mu/fi}} + \file{mu/phil/fithesis-czech.def}{\from{czech.dtx}{mu/phil}} + \file{mu/ped/fithesis-czech.def}{\from{czech.dtx}{mu/ped}} + \file{mu/sci/fithesis-czech.def}{\from{czech.dtx}{mu/sci}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/locale/english.dtx b/Master/texmf-dist/source/latex/fithesis/locale/english.dtx new file mode 100644 index 00000000000..44453fb4031 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/locale/english.dtx @@ -0,0 +1,246 @@ +% \file{locale/fithesis-english.def} +% This is the base file of the English locale. It defines all the +% private macros mandated by the locale file interface. +% \iffalse +%<*base> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/fithesis-english.def}[2015/06/26] + +% Placeholders +\gdef\thesis@english@universityName{University name} +\gdef\thesis@english@facultyName{Faculty name} +\gdef\thesis@english@assignment{Replace this page with a copy + of the official signed thesis assignment.} +\gdef\thesis@english@declaration{Declaration text ...} + +% Miscellaneous +\gdef\thesis@english@fieldTitle{Field of study} +\gdef\thesis@english@advisorTitle{Advisor} +\gdef\thesis@english@authorTitle{Author} +\gdef\thesis@english@abstractTitle{Abstract} +\gdef\thesis@english@keywordsTitle{Keywords} +\gdef\thesis@english@thanksTitle{Acknowledgement} +\gdef\thesis@english@declarationTitle{Declaration} +\gdef\thesis@english@idTitle{ID} +\gdef\thesis@english@winter{Spring} +\gdef\thesis@english@summer{Fall} +\gdef\thesis@english@semester{% + \thesis@{english@\thesis@season} \thesis@year} +\gdef\thesis@english@typeName{% + \ifx\thesis@type\thesis@bachelors% + Bachelor's Thesis% + \else\ifx\thesis@type\thesis@masters% + Master's Thesis% + \else\ifx\thesis@type\thesis@doctoral% + Doctoral Thesis% + \else\ifx\thesis@type\thesis@rigorous% + Rigorous Thesis% + \else% + <<Unknown thesis type (\thesis@type)>>% + \fi\fi\fi\fi} +% \end{macrocode}\iffalse +%</base> +% \fi\file{locale/mu/fithesis-english.def} +% This is the English locale file specific to the Masaryk +% University in Brno. It replaces the \texttt{universityName} +% placeholder with the correct value and defines the +% \texttt{declaration} and \texttt{idTitle} strings. +% \iffalse +%<*mu> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fithesis-english.def}[2015/06/26] +\gdef\thesis@english@universityName{Masaryk University} +\gdef\thesis@english@declaration{% + Hereby I declare that this paper is my original authorial work, + which I have worked out by my own. All sources, references and + literature used or excerpted during elaboration of this work are + properly cited and listed in complete reference to the due source.} + +% Miscellaneous +\gdef\thesis@english@idTitle{UČO} +% \end{macrocode}\iffalse +%</mu> +% \fi\file{locale/mu/law/fithesis-english.def} +% This is the English locale file specific to the Faculty of Law at +% the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% defines the \texttt{facultyLongName} required by the +% |\thesis@blocks@cover| and the |\thesis@blocks@titlePage| blocks. +% \iffalse +%<*mu/law> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/law/fithesis-english.def}[2015/06/26] +\gdef\thesis@english@facultyName{Faculty of Law} +\gdef\thesis@english@facultyLongName{The Faculty of Law of the + Masaryk University} +% \end{macrocode}\iffalse +%</mu/law> +% \fi\file{locale/mu/fsps/fithesis-english.def} +% This is the English locale file specific to the Faculty of Sports +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the \texttt{fieldTitle} string in accordance with the +% common usage at the faculty. +% \iffalse +%<*mu/fsps> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fsps/fithesis-english.def}[2015/06/26] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Sports Studies} + +% Miscellaneous +\gdef\thesis@english@fieldTitle{Specialization} +% \end{macrocode}\iffalse +%</mu/fsps> +% \fi\file{locale/mu/fss/fithesis-english.def} +% This is the English locale file specific to the Faculty of Social +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} and \texttt{assignment} strings with the +% correct values. +% \iffalse +%<*mu/fss> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fss/fithesis-english.def}[2015/06/26] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Social Studies} +\gdef\thesis@english@assignment{Replace this page with a copy + of the official signed thesis assignment or the copy of the + Statement of an Author or both, depending on the requirements of + the respective department.} +% \end{macrocode}\iffalse +%</mu/fss> +% \fi\file{locale/mu/econ/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Economics and Administration at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. +% \iffalse +%<*mu/econ> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/econ/fithesis-english.def}[2015/06/26] +\gdef\thesis@english@facultyName{Faculty of Economics + and Administration} +% \end{macrocode}\iffalse +%</mu/econ> +% \fi\file{locale/mu/med/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Medicine at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value and redefines the \texttt{abstractTitle} string +% with the common usage at the faculty. The file also defines +% the \texttt{bib@title} and \texttt{bib@pages} strings required +% by the |\thesis@blocks@bibEntry| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-med.sty} +% style file. +% \iffalse +%<*mu/med> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/med/fithesis-english.def}[2015/06/26] + +% Miscellaneous +\gdef\thesis@english@abstractTitle{Annotation} + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Medicine} + +% Bibliographic entry +\gdef\thesis@english@bib@title{Bibliographic record} +\gdef\thesis@english@bib@pages{p} +% \end{macrocode}\iffalse +%</mu/med> +% \fi\file{locale/mu/fi/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Informatics at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the string in accordance with the requirements of the +% faculty. The file also defines the \texttt{advisorSignature} +% string required by the |\thesis@blocks@titlePage| block defined +% within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-fi.sty} +% style file. +% \iffalse +%<*mu/fi> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fi/fithesis-english.def}[2015/06/26] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Informatics} +\gdef\thesis@english@assignment{Replace this page with a copy + of the official signed thesis assignment and the copy of the + Statement of an Author.} + +% Others +\gdef\thesis@english@advisorSignature{Signature of Thesis + \thesis@english@advisorTitle} +% \end{macrocode}\iffalse +%</mu/fi> +% \fi\file{locale/mu/phil/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Arts at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. +% \iffalse +%<*mu/phil> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/phil/fithesis-english.def}[2015/06/26] +\gdef\thesis@english@facultyName{Faculty of Arts} +% \end{macrocode}\iffalse +%</mu/phil> +% \fi\file{locale/mu/ped/fithesis-english.def} +% This is the Slovak locale file specific to the Faculty of +% Education at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value. The file +% also defines the \texttt{bib@title} and \texttt{bib@pages} +% strings required by the |\thesis@blocks@bibEntry| block defined +% within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-ped.sty} +% style file. +% \iffalse +%<*mu/ped> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/ped/fithesis-english.def}[2015/06/26] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Education} + +% Bibliographic entry +\gdef\thesis@english@bib@title{Bibliographic record} +\gdef\thesis@english@bib@pages{p} +% \end{macrocode}\iffalse +%</mu/ped> +% \fi\file{locale/mu/sci/fithesis-english.def} +% This is the English locale file specific to the Faculty of +% Science at the Masaryk University in Brno. It defines the +% private macros required by the |\thesis@blocks@bibEntryEn| block +% defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-sci.sty} +% style file. It also replaces the \texttt{facultyName} +% placeholder with the correct value and redefines the +% \texttt{advisorTitle} string in accordance with the formal +% requirements of the faculty. +% \iffalse +%<*mu/sci> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/sci/fithesis-english.def}[2015/06/26] + +% Placeholders +\gdef\thesis@english@facultyName{Faculty of Science} + +% Miscellaneous +\global\let\thesis@english@advisorTitleEn=\thesis@english@bib@advisor + +% Bibliographic entry +\gdef\thesis@english@bib@title{Bibliographic entry} +\global\let\thesis@english@bib@author\thesis@english@authorTitle +\gdef\thesis@english@bib@thesisTitle{Title of Thesis} +\gdef\thesis@english@bib@programme{Degree Programme} +\global\let\thesis@english@bib@field\thesis@english@fieldTitle +\gdef\thesis@english@bib@advisor{Supervisor} +\gdef\thesis@english@bib@academicYear{Academic Year} +\gdef\thesis@english@bib@pages{Number of Pages} +\global\let\thesis@english@bib@keywords\thesis@english@keywordsTitle +% \end{macrocode}\iffalse +%</mu/sci> +% \fi diff --git a/Master/texmf-dist/source/latex/fithesis/locale/english.ins b/Master/texmf-dist/source/latex/fithesis/locale/english.ins new file mode 100644 index 00000000000..0fb30f4bbe8 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/locale/english.ins @@ -0,0 +1,13 @@ +\input ../LICENSE +\generate{\file{fithesis-english.def}{\from{english.dtx}{base}} + \file{mu/fithesis-english.def}{\from{english.dtx}{mu}} + \file{mu/law/fithesis-english.def}{\from{english.dtx}{mu/law}} + \file{mu/fsps/fithesis-english.def}{\from{english.dtx}{mu/fsps}} + \file{mu/fss/fithesis-english.def}{\from{english.dtx}{mu/fss}} + \file{mu/econ/fithesis-english.def}{\from{english.dtx}{mu/econ}} + \file{mu/med/fithesis-english.def}{\from{english.dtx}{mu/med}} + \file{mu/fi/fithesis-english.def}{\from{english.dtx}{mu/fi}} + \file{mu/phil/fithesis-english.def}{\from{english.dtx}{mu/phil}} + \file{mu/ped/fithesis-english.def}{\from{english.dtx}{mu/ped}} + \file{mu/sci/fithesis-english.def}{\from{english.dtx}{mu/sci}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/locale/slovak.dtx b/Master/texmf-dist/source/latex/fithesis/locale/slovak.dtx new file mode 100644 index 00000000000..65425da8e7a --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/locale/slovak.dtx @@ -0,0 +1,298 @@ +% \file{locale/fithesis-slovak.def} +% This is the base file of the Slovak locale. It defines all the +% private macros mandated by the locale file interface. +% \begin{macro}{\thesis@slovak@gender@koncovka} +% The locale file also defines the |\thesis@slovak@gender@koncovka| +% macro, which expands to the correct verb ending based on the +% value of the |\thesis@ifwoman| macro and the +% |\thesis@slovak@typeName@akuzativ| containing the accusative case +% of the thesis type name. +% \end{macro}\iffalse +%<*base> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/fithesis-slovak.def}[2015/06/26] + +% Pomocná makrá +\gdef\thesis@slovak@gender@koncovka{% + \ifthesis@woman a\fi} + +% Zástupné texty +\gdef\thesis@slovak@universityName{Názov univerzity} +\gdef\thesis@slovak@facultyName{Názov fakulty} +\gdef\thesis@slovak@assignment{Namiesto tejto stránky vložte kópiu + oficiálneho podpísaného zadania práce.} +\gdef\thesis@slovak@declaration{Text prehlásenie ...} + +% Rôzne +\gdef\thesis@slovak@fieldTitle{Odbor} +\gdef\thesis@slovak@advisorTitle{Vedúci práce} +\gdef\thesis@slovak@authorTitle{Autor} +\gdef\thesis@slovak@abstractTitle{Zhrnutie} +\gdef\thesis@slovak@keywordsTitle{Kľúčové slová} +\gdef\thesis@slovak@thanksTitle{Poďakovanie} +\gdef\thesis@slovak@declarationTitle{Prehlásenie} +\gdef\thesis@slovak@idTitle{ID} +\gdef\thesis@slovak@winter{Jar} +\gdef\thesis@slovak@summer{Jeseň} +\gdef\thesis@slovak@semester{% + \thesis@{slovak@\thesis@season} \thesis@year} +\gdef\thesis@slovak@typeName{% + \ifx\thesis@type\thesis@bachelors% + Bakalárska práca% + \else\ifx\thesis@type\thesis@masters% + Diplomová práca% + \else\ifx\thesis@type\thesis@doctoral% + Dizertačná práca% + \else\ifx\thesis@type\thesis@rigorous% + Rigorózna práca% + \else% + <<Neznámy typ práce (\thesis@type)>>% + \fi\fi\fi\fi} +\gdef\thesis@slovak@typeName@akuzativ{% + \ifx\thesis@type\thesis@bachelors% + Bakalársku prácu% + \else\ifx\thesis@type\thesis@masters% + Diplomovú prácu% + \else\ifx\thesis@type\thesis@doctoral% + Dizertačnú prácu% + \else\ifx\thesis@type\thesis@rigorous% + Rigoróznu prácu% + \else% + <<Neznámy typ práce (\thesis@type)>>% + \fi\fi\fi\fi} +% \end{macrocode}\iffalse +%</base> +% \fi\file{locale/mu/fithesis-slovak.def} +% This is the Slovak locale file specific to the Masaryk +% University in Brno. It replaces the \texttt{universityName} +% placeholder with the correct value and defines the +% \texttt{declaration} and \texttt{idTitle} strings. +% \iffalse +%<*mu> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fithesis-slovak.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@slovak@universityName{Masarykova Univerzita} +\gdef\thesis@slovak@declaration{% + Prehlašujem, že som predloženú \thesis@lower{% + slovak@typeName@akuzativ} vypracoval% + \thesis@slovak@gender@koncovka\ samostatne len s~použitím + uvedenej literatúry a prameňov.} + +% Rôzne +\gdef\thesis@slovak@idTitle{UČO} +% \end{macrocode}\iffalse +%</mu> +% \fi\file{locale/mu/law/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of Law at +% the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value, defines +% the \texttt{facultyLongName} required by the +% |\thesis@blocks@cover| and the |\thesis@blocks@titlePage| blocks +% and replaces the \texttt{abstractTitle} string in accordance +% with the requirements of the faculty. +% \iffalse +%<*mu/law> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/law/fithesis-slovak.def}[2015/06/26] + +% Rôzne +\gdef\thesis@slovak@abstractTitle{Abstrakt} + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Právnická fakulta} +\gdef\thesis@slovak@facultyLongName{Právnická fakulta Masarykovej + univerzity} +% \end{macrocode}\iffalse +%</mu/law> +% \fi\file{locale/mu/fsps/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of Sports +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the \texttt{fieldTitle} string in accordance with the +% common usage at the faculty. +% \iffalse +%<*mu/fsps> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fsps/fithesis-slovak.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Fakulta športových štúdií} + +% Rôzne +\gdef\thesis@slovak@fieldTitle{Špecializácie} +% \end{macrocode}\iffalse +%</mu/fsps> +% \fi\file{locale/mu/fss/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of Social +% Studies at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} and \texttt{assignment} strings with the +% correct values. +% \iffalse +%<*mu/fss> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fss/fithesis-slovak.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Fakulta sociálnych štúdií} +\gdef\thesis@slovak@assignment{Namiesto tejto stránky vložte kópiu + oficiálneho podpísaného zadania práce alebo prehlásenie autora + školského diela alebo obidve~v závislosti na požiadavkách + príslušnej katedry.} +% \end{macrocode}\iffalse +%</mu/fss> +% \fi\file{locale/mu/econ/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Economics and Administration at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. +% \iffalse +%<*mu/econ> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/econ/fithesis-slovak.def}[2015/06/26] +\gdef\thesis@slovak@facultyName{Ekonomicko-správna fakulta} +% \end{macrocode}\iffalse +%</mu/econ> +% \fi\file{locale/mu/med/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Medicine at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value and redefines the \texttt{abstractTitle} +% string in accordance with the common usage at the faculty. +% The file also defines the \texttt{bib@title} and +% \texttt{bib@pages} strings required by the +% |\thesis@blocks@bibEntry| block defined within the +% \texttt{style/mu/fithesis-med.sty} style file. + +% \iffalse +%<*mu/med> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/med/fithesis-slovak.def}[2015/06/26] + +% Rôzne +\gdef\thesis@slovak@abstractTitle{Anotácie} + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Lekárska fakulta} + +% Bibliografický zoznam +\gdef\thesis@slovak@bib@title{Bibliografický záznam} +\gdef\thesis@slovak@bib@pages{str} +% \end{macrocode}\iffalse +%</mu/med> +% \fi\file{locale/mu/fi/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Informatics at the Masaryk University in Brno. It replaces the +% \texttt{facultyName} placeholder with the correct value and +% redefines the \texttt{declaration} string in accordance with the +% requirements of the faculty. The file also defines the +% \texttt{advisorSignature} string required by the +% |\thesis@blocks@titlePage| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-fi.sty} +% style file. +% \iffalse +%<*mu/fi> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/fi/fithesis-slovak.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Fakulta informatiky} +\gdef\thesis@slovak@assignment{Namiesto tejto stránky vložte kópiu + oficiálneho podpísaného zadania práce a prehlásenie autora + školského diela.} +\gdef\thesis@slovak@declaration{% + Prehlasujem, že táto \thesis@lower{slovak@typeName} je mojím + pôvodným autorským dielom, ktoré som vypracoval% + \thesis@slovak@gender@koncovka\ samostatne. Všetky zdroje, + pramene a literatúru, ktoré som pri vypracovaní + používal\thesis@slovak@gender@koncovka\ alebo z~nich + čerpal\thesis@slovak@gender@koncovka, v~práci riadne citujem + s~uvedením úplného odkazu na príslušný zdroj.} + +% Rôzne +\gdef\thesis@slovak@advisorSignature{Podpis vedúceho} +% \end{macrocode}\iffalse +%</mu/fi> +% \fi\file{locale/mu/phil/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Arts at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. It also defines the \texttt{declaration} string +% and redefines the \texttt{typeName} and +% \texttt{typeName@akuzativ} strings in accordance with the +% requirements of the faculty. +% \iffalse +%<*mu/phil> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/phil/fithesis-slovak.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Filozofická fakulta} +\gdef\thesis@slovak@declaration{% + Prehlašujem, že som predloženú \thesis@lower{% + slovak@typeName@akuzativ} vypracoval% + \thesis@slovak@gender@koncovka\ samostatne na + základe vlastných zistení a len s~použitím + uvedenej literatúry a prameňov.} + +% Rôzne +\gdef\thesis@slovak@typeName{% + \ifx\thesis@type\thesis@bachelors% + Bakalárska diplomová práca% + \else\ifx\thesis@type\thesis@masters% + Magisterská diplomová práca% + \else\ifx\thesis@type\thesis@doctoral% + Dizertačná práca% + \else% + <<Neznámy typ práce (\thesis@type)>>% + \fi\fi\fi} +\gdef\thesis@slovak@typeName@akuzativ{% + \ifx\thesis@type\thesis@bachelors% + Diplomovú prácu% + \else\ifx\thesis@type\thesis@masters% + Diplomovú prácu% + \else\ifx\thesis@type\thesis@doctoral% + Dizertačnú prácu% + \else% + <<Neznámý typ práce (\thesis@type)>>% + \fi\fi\fi} +% \end{macrocode}\iffalse +%</mu/phil> +% \fi\file{locale/mu/ped/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Education at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. The file also defines the +% \texttt{bib@title} and \texttt{bib@pages} strings required by the +% |\thesis@blocks@bibEntry| block defined within the +% \texttt{style/mu/\discretionary{}{}{}fithesis-ped.sty} +% style file. +% \iffalse +%<*mu/ped> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/ped/fithesis-slovak.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Pedagogická fakulta} + +% Bibliografický zoznam +\gdef\thesis@slovak@bib@title{Bibliografický záznam} +\gdef\thesis@slovak@bib@pages{str} +% \end{macrocode}\iffalse +%</mu/ped> +% \fi\file{locale/mu/sci/fithesis-slovak.def} +% This is the Slovak locale file specific to the Faculty of +% Science at the Masaryk University in Brno. +% It replaces the \texttt{facultyName} placeholder with the +% correct value. +% \iffalse +%<*mu/sci> +% \fi\begin{macrocode} +\ProvidesFile{fithesis/locale/mu/sci/fithesis-slovak.def}[2015/06/26] + +% Zástupné texty +\gdef\thesis@slovak@facultyName{Prírodovedecká fakulta} +% \end{macrocode}\iffalse +%</mu/sci> +% \fi diff --git a/Master/texmf-dist/source/latex/fithesis/locale/slovak.ins b/Master/texmf-dist/source/latex/fithesis/locale/slovak.ins new file mode 100644 index 00000000000..cebead058eb --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/locale/slovak.ins @@ -0,0 +1,13 @@ +\input ../LICENSE +\generate{\file{fithesis-slovak.def}{\from{slovak.dtx}{base}} + \file{mu/fithesis-slovak.def}{\from{slovak.dtx}{mu}} + \file{mu/law/fithesis-slovak.def}{\from{slovak.dtx}{mu/law}} + \file{mu/fsps/fithesis-slovak.def}{\from{slovak.dtx}{mu/fsps}} + \file{mu/fss/fithesis-slovak.def}{\from{slovak.dtx}{mu/fss}} + \file{mu/econ/fithesis-slovak.def}{\from{slovak.dtx}{mu/econ}} + \file{mu/med/fithesis-slovak.def}{\from{slovak.dtx}{mu/med}} + \file{mu/fi/fithesis-slovak.def}{\from{slovak.dtx}{mu/fi}} + \file{mu/phil/fithesis-slovak.def}{\from{slovak.dtx}{mu/phil}} + \file{mu/ped/fithesis-slovak.def}{\from{slovak.dtx}{mu/ped}} + \file{mu/sci/fithesis-slovak.def}{\from{slovak.dtx}{mu/sci}}} +\endbatchfile diff --git a/Master/texmf-dist/source/latex/fithesis/style/base.dtx b/Master/texmf-dist/source/latex/fithesis/style/base.dtx new file mode 100644 index 00000000000..6207856ebf1 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/base.dtx @@ -0,0 +1,9 @@ +% \file{style/fithesis-base.sty} +% If inheritance is enabled for style files, then this file is +% always the first style file to be loaded, regardless of the +% value of the |\thesis@style| macro. This style file is +% currently a dummy file. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fithesis/style/fithesis-base}[2015/06/23] +% \end{macrocode} diff --git a/Master/texmf-dist/source/latex/fithesis/style/base.ins b/Master/texmf-dist/source/latex/fithesis/style/base.ins new file mode 100644 index 00000000000..894b041e4db --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/base.ins @@ -0,0 +1,3 @@ +\input ../LICENSE +\generate{\file{fithesis-base.sty}{\from{base.dtx}{}}} +\endbatchfile 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..c6f623b92b3 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx @@ -0,0 +1,1309 @@ +% \iffalse +%<*base> +% \fi\file{style/mu/fithesis-base.sty} +% This is the base style file for theses written at the Masaryk +% University in Brno. When inheritance is enabled for style files, +% this file is always the second style file to be loaded right +% after \texttt{style/fithesis-base.sty}, regardless of the value +% of the |\thesis@style| macro. +% \begin{macrocode} +\ProvidesPackage{fithesis/style/mu/fithesis-base}[2015/06/27] +\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. +% \item\texttt{oneside}, \texttt{twoside} -- The document is +% going to be either single- or double-sided, respectively. In a +% double-sided document, headers, page numbering, margin notes +% and several other elements will be arranged based on the parity +% of the page. Blank pages will also be inserted prior the +% beginning of each chapter to ensure that it starts on a +% right-hand (odd-numbered) page. The +% \DescribeMacro{\ifthesis@twoside@}|\ifthesis@twoside@| +% conditional is set to either \texttt{false} or \texttt{true}, +% respectively. +% \item\texttt{onecolumn}, \texttt{twocolumn} -- The document +% is going to be set in either a single column or in two +% columns, respectively. +% \item\texttt{draft}, \texttt{final} -- Overful lines either are +% or aren't marked within the document, respectively, and +% graphics either aren't or are inserted into 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@|^^A +% \discretionary{}{}{}|palatino@| conditional is set to either +% \texttt{true} or \texttt{false}, respectively. 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. +% \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 option 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| either is +% or isn't going to be included in the +% \DescribeMacro{\thesis@blocks@tables}|\thesis@|^^A +% \discretionary{}{}{}|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@|^^A +% \discretionary{}{}{}|blocks@tables| block, respectively. +% \item\texttt{cover}, \texttt{nocover} -- The +% \DescribeMacro{\thesis@blocks@cover}|\thesis@blocks@cover| +% either is going to expand to either the thesis cover or +% produces no output, respectively. The +% \DescribeMacro{\ifthesis@cover@}|\ifthesis@cover@| +% conditional is set to \texttt{false} or \texttt{true}, +% respectively. +% \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 the injection of +% 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} or \Hologo{LuaTeX}, 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} or \Hologo{LuaTeX} engine +% and the |\ifthesis@palatino@| conditional is \texttt{true}: +% \begin{itemize} +% \item\textsf{cmap} -- Places an explicit \texttt{ToUnicode} +% map in the resulting PDF file, allowing for the extraction of +% the text from the document. +% \item\textsf{mathpazo} -- Changes the default math font family +% to \texttt{mathpazo}. +% \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 +% flexible-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 a table user under the name +% \texttt{thesis@color@tableEmph}. This color is meant to be +% used manually by the user. +% \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| macros +% by the subsequently loaded style files. +% +% \begin{macro}{\thesis@blocks@frontMatter} +% The |\thesis@blocks@frontMatter| 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| macro clears the current page. +% It also clears the next left-hand (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| macro clears the current +% page. It also clears the next right-hand (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} +% 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} +% 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} +% 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} +% macro typesets either the |\thesis@logopath\thesis@universityLogo| +% logo, if the |\ifthesis|\discretionary{}{}{}|@color@| conditional +% is \texttt{false}, or the +% |\thesis@logopath\thesis@universityLogo|\discretionary{}{}{}|-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| macro typesets the thesis +% cover. It is composed of three 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| 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 modify the value of these +% conditionals to alter the output of the +% |\thesis@blocks@cover@header| 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| macro typesets the thesis +% title page. It is composed of three 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. +% \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| 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 modify the value of these +% conditionals to alter the output of the +% |\thesis@blocks@titlePage@header| 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| 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| 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| macro typesets the +% acknowledgement, if the |\thesis@thanks| macro is +% defined. Otherwise, the macro produces no output. +% \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| 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| macro typesets the +% abstract in English. If the current locale is English, the +% macro produces no output. +% \begin{macrocode} +\def\thesis@blocks@abstractEn{% + \ifthesis@english\else% + {\thesis@selectLocale{english}% + \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| 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| macro typesets the +% keywords in English. If the current locale is English, the +% macro produces no output. +% \begin{macrocode} +\def\thesis@blocks@keywordsEn{% + \ifthesis@english\else% + {\thesis@selectLocale{english}% + \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| macro either: +% \begin{itemize} +% \item Produces no output, when the first expansion of +% |\thesis@|\discretionary{}{}{}|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| 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 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 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..97d75552c51 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/econ.dtx @@ -0,0 +1,163 @@ +% \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/27] +% \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} +% 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| 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 in accordance with the formal +% 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| 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| 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| macro typesets the table of +% contents. +% \begin{macrocode} +\def\thesis@blocks@toc{% + \thesis@blocks@clear% + \tableofcontents} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@tables} +% The |\thesis@blocks@tables| 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} +% All blocks within the autolayout preamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. +% \begin{macrocode} +\def\thesis@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..0f3ca4af74f --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fi.dtx @@ -0,0 +1,100 @@ +% \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/27] +% \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 macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@advisorSignature}% +% |\thesis@advisorSignature| -- The label of the advisor +% signature field typeset in the case of rigorous theses +% \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| macro typesets the +% declaration text. Compared to the definition within the +% \texttt{style/mu/base.sty} file, this 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} +% All blocks within the autolayout preamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. +% \begin{macrocode} +\def\thesis@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..617c89c10dd --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fsps.dtx @@ -0,0 +1,36 @@ +% \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/27] +% \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} +% All blocks within the autolayout preamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. +% \begin{macrocode} +\def\thesis@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..612639532a5 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/fss.dtx @@ -0,0 +1,58 @@ +% \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{\raggedright 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/27] +% \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} +% \begin{macro}{\thesis@blocks@frontMatter} +% The |\thesis@blocks@frontMatter| 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} +% All blocks within the autolayout preamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. +% \begin{macrocode} +\def\thesis@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..f93c0928dbc --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/law.dtx @@ -0,0 +1,81 @@ +% \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/27] +% \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} +% 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 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| macro sets up the style +% of the front matter of the thesis. The page numbering is arabic +% in accordance with the formal requirements of the faculty. +% \begin{macrocode} +\def\thesis@blocks@frontMatter{% + \thesis@blocks@clear + \pagestyle{plain} + \parindent 1.5em + \setcounter{page}{1} + \pagenumbering{arabic}} +% \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@mainMatter} +% The |\thesis@blocks@mainMatter| macro sets up the style +% of the main matter of the thesis. The page numbering doesn't +% reset at the beginning of the main thesis in accordance with the +% formal requirements of the faculty. +% \begin{macrocode} +\def\thesis@blocks@mainMatter{% + \thesis@blocks@clear + \pagestyle{thesisheadings} + \parindent 1.5em\relax} +% \end{macrocode} +% \end{macro} +% All blocks within the autolayout preamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. +% \begin{macrocode} +\def\thesis@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} +% All blocks within the autolayout postamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. +% \begin{macrocode} +\def\thesis@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..5d7ee581b5c --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/med.dtx @@ -0,0 +1,150 @@ +% \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/27] +% \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} +% 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| 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 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 in +% accordance with 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} +% \begin{macro}{\thesis@blocks@frontMatter} +% The |\thesis@blocks@frontMatter| macro sets up the style of the +% front matter of the thesis. The page numbering is arabic in +% accordance with the formal requirements 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| macro typesets a +% bibliographical entry. Along with the macros required by the +% locale file interface, the \textit{locale} files need to define +% the following macros: +% \begin{itemize} +% \item|\thesis@|\emph{locale}|@bib@title| -- The title of the +% entire 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} +% All blocks within the autolayout postamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. +% \begin{macrocode} +\def\thesis@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..28e3ac5da4d --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/ped.dtx @@ -0,0 +1,71 @@ +% \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/27] +% \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} +% 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| macro typesets a +% bibliographical entry. Along with the macros required by the +% locale file interface, the \textit{locale} files need to define +% the following macros: +% \begin{itemize} +% \item|\thesis@|\emph{locale}|@bib@title| -- The title of the +% entire 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} +% All blocks within the autolayout postamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. +% \begin{macrocode} +\def\thesis@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..62b6d2040b4 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/phil.dtx @@ -0,0 +1,37 @@ +% \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/27] +% \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} +% All blocks within the autolayout postamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-base.sty} file. +% \begin{macrocode} +\def\thesis@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..01e6c19ac98 --- /dev/null +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/sci.dtx @@ -0,0 +1,344 @@ +% \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/27] +% \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} +% The file freely uses Czech locale strings within the macros. +% \begin{macrocode} +\thesis@requireLocale{czech} +% \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| macro typesets a +% bibliographical entry. Along with the macros required by the +% locale file interface, the locale files need to define the +% following macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@czech@bib@title} +% |\thesis@czech@bib@title| -- The title of the entire 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 of study +% 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| 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 macros: +% \begin{itemize} +% \item\DescribeMacro{\thesis@english@bib@title} +% |\thesis@english@bib@title| -- The title of the entire 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 of +% study 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{% + {\thesis@selectLocale{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| 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| 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| 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{% + \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} +% All blocks within the autolayout postamble that are not defined +% within this file are defined in the +% \texttt{style/mu/fithesis-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{% + {\thesis@selectLocale{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 |