%% %% This is file `fithesis-med.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% med.dtx %% %% 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 . %% %% %% 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. %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{fithesis/style/mu/fithesis-med}[2015/11/29] \thesis@color@setup{ links={HTML}{F58E76}, tableEmph={HTML}{FF9D85}, tableOdd={HTML}{FFF5F6}, tableEven={HTML}{FFDEDF}} \thesis@require{tikz} \thesis@require{geometry} \thesis@require{setspace} \geometry{top=25mm,bottom=20mm,left=25mm,right=25mm,includeheadfoot} \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} \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}}} \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}} \def\thesis@blocks@mainMatter{% \thesis@blocks@clear \setcounter{page}{1} \pagenumbering{arabic} \pagestyle{thesisheadings} \parindent 1.5em \onehalfspacing} \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} \def\thesis@blocks@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} \endinput %% %% End of file `fithesis-med.sty'.