Skip to content
Snippets Groups Projects
Commit 3ba97917 authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

The style file for FSpS, MU now includes place, date, and signature field next to the declaration.

parent ba8ee9d4
No related branches found
No related tags found
No related merge requests found
......@@ -40,8 +40,41 @@
\gdef\thesis@czech@fall{podzim}
\gdef\thesis@czech@semester{%
\thesis@{czech@\thesis@season} \thesis@seasonYear}
\gdef\thesis@czech@formattedDate{{%
\thesis@day.
\newcount\@month\expandafter\@month\thesis@month\relax
\ifnum\@month=1%
ledna
\else\ifnum\@month=2%
února
\else\ifnum\@month=3%
března
\else\ifnum\@month=4%
dubna
\else\ifnum\@month=5%
května
\else\ifnum\@month=6%
června
\else\ifnum\@month=7%
července
\else\ifnum\@month=8%
srpna
\else\ifnum\@month=9%
září
\else\ifnum\@month=10%
října
\else\ifnum\@month=11%
listopadu
\else\ifnum\@month=12%
prosince
\else
<<neznámý měsíc (\the\@month)>>
\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi
\thesis@year}}
% Různé
\gdef\thesis@czech@authorSignature{Podpis autora}
\gdef\thesis@czech@fieldTitle{Obor}
\gdef\thesis@czech@advisorTitle{Vedoucí práce}
\gdef\thesis@czech@authorTitle{Autor}
......@@ -369,41 +402,6 @@
akuzativ} vypracoval\thesis@czech@gender@koncovka\ samo%
statně s~využitím informačních zdrojů, které jsou v~práci
citovány.}
\gdef\thesis@czech@authorSignature{Podpis autora}
% Časové údaje
\gdef\thesis@czech@formattedDate{{%
\thesis@day.
\newcount\@month\expandafter\@month\thesis@month\relax
\ifnum\@month=1%
ledna
\else\ifnum\@month=2%
února
\else\ifnum\@month=3%
března
\else\ifnum\@month=4%
dubna
\else\ifnum\@month=5%
května
\else\ifnum\@month=6%
června
\else\ifnum\@month=7%
července
\else\ifnum\@month=8%
srpna
\else\ifnum\@month=9%
září
\else\ifnum\@month=10%
října
\else\ifnum\@month=11%
listopadu
\else\ifnum\@month=12%
prosince
\else
<<neznámý měsíc (\the\@month)>>
\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi
\thesis@year}}
% Bibliografický záznam
\global\let\thesis@czech@bib@author\thesis@czech@authorTitle
......
......@@ -29,8 +29,41 @@
\gdef\thesis@english@fall{Fall}
\gdef\thesis@english@semester{%
\thesis@{english@\thesis@season} \thesis@seasonYear}
\gdef\thesis@english@formattedDate{{%
\thesis@day.
\newcount\@month\expandafter\@month\thesis@month\relax
\ifnum\@month=1%
January
\else\ifnum\@month=2%
February
\else\ifnum\@month=3%
March
\else\ifnum\@month=4%
April
\else\ifnum\@month=5%
May
\else\ifnum\@month=6%
June
\else\ifnum\@month=7%
July
\else\ifnum\@month=8%
August
\else\ifnum\@month=9%
September
\else\ifnum\@month=10%
October
\else\ifnum\@month=11%
November
\else\ifnum\@month=12%
December
\else
<<unknown month (\the\@month)>>
\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi
\thesis@year}}
% Miscellaneous
\gdef\thesis@english@authorSignature{Author's signature}
\gdef\thesis@english@fieldTitle{Field of study}
\gdef\thesis@english@advisorTitle{Advisor}
\gdef\thesis@english@authorTitle{Author}
......
......@@ -40,8 +40,41 @@
\gdef\thesis@slovak@fall{jeseň}
\gdef\thesis@slovak@semester{%
\thesis@{slovak@\thesis@season} \thesis@seasonYear}
\gdef\thesis@slovak@formattedDate{{%
\thesis@day.
\newcount\@month\expandafter\@month\thesis@month\relax
\ifnum\@month=1%
januára
\else\ifnum\@month=2%
februára
\else\ifnum\@month=3%
marca
\else\ifnum\@month=4%
apríla
\else\ifnum\@month=5%
mája
\else\ifnum\@month=6%
júna
\else\ifnum\@month=7%
júla
\else\ifnum\@month=8%
augusta
\else\ifnum\@month=9%
septembra
\else\ifnum\@month=10%
októbra
\else\ifnum\@month=11%
novembra
\else\ifnum\@month=12%
decembra
\else
<<neznámy mesiac (\the\@month)>>
\fi\fi\fi\fi\fi\fi
\fi\fi\fi\fi\fi\fi
\thesis@year}}
% Rôzne
\gdef\thesis@slovak@authorSignature{Podpis autora}
\gdef\thesis@slovak@fieldTitle{Odbor}
\gdef\thesis@slovak@advisorTitle{Vedúci práce}
\gdef\thesis@slovak@authorTitle{Autor}
......
......@@ -114,6 +114,38 @@
\fi
\fi}
% \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@declaration}
% The |\thesis@blocks@declaration| macro typesets the declaration
% text. Unlike the generic |\thesis@blocks@declaration| macro from
% the \texttt{style/mu/fithesis-sci.sty} file, this definition
% includes the date and a blank line for the author's signature, as
% per the requirements of the faculty.
%
% 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}|@authorSignature| -- The
% label of the author's signature field
% \item|\thesis@|\textit{locale}|@formattedDate| -- A
% formatted date
% \end{itemize}
% \begin{macrocode}
\def\thesis@blocks@declaration{%
\thesis@blocks@clear
\begin{alwayssingle}%
\chapter*{\thesis@@{declarationTitle}}%
\thesis@declaration
\vskip 2cm%
{\let\@A\relax\newlength{\@A}
\settowidth{\@A}{\thesis@@{authorSignature}}
\setlength{\@A}{\@A+1cm}
\noindent\thesis@place, \thesis@@{formattedDate}\hfill
\begin{minipage}[t]{\@A}%
\centering\rule{\@A}{1pt}\\
\thesis@@{authorSignature}\par
\end{minipage}}
\end{alwayssingle}}
% \end{macrocode}
% \end{macro}
% Note that there is no direct support for the seminar paper and
% thesis proposal types. If you would like to change the contents
......
......@@ -341,9 +341,10 @@
% 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}
% \item\DescribeMacro{\thesis@czech@authorSignature}
% |\thesis@czech@authorSignature| -- The label of the author's
% signature field
% \item\DescribeMacro{\thesis@czech@formattedDate}
% |\thesis@czech@formattedDate| -- A formatted date
% \end{itemize}
% \begin{macrocode}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment