Skip to content
Snippets Groups Projects
Commit 7ebcd32d authored by witiko's avatar witiko
Browse files

Finalized the `fi.sty` and `sci.sty` styles.

The `\thesis@blocks@titlePage` is no longer defined in `mu/base.sty`,
but in `mu/fi.sty` instead. In case of a rigorous thesis, an
advisor signature field is added to the title page.
parent d5c3e223
No related branches found
No related tags found
No related merge requests found
\documentclass[color,cover]{fithesis3} \documentclass[color,cover]{fithesis3}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage[slovak]{babel} \usepackage[slovak]{babel}
\thesissetup{basepath=.} \thesissetup{basepath=.,type=r}
\begin{document} \begin{document}
Ahoj všetci! Ahoj všetci!
\end{document} \end{document}
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
%<*class> %<*class>
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
% \fi % \fi
\def\thesis@version{2015/04/11 v0.3.09 fithesis3 MU thesis class} \def\thesis@version{2015/04/12 v0.3.09 fithesis3 MU thesis class}
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
% This is the base file of the Czech locale. It defines all the % This is the base file of the Czech locale. It defines all the
% private macros mandated by the locale file interface. % private macros mandated by the locale file interface.
% \begin{macro}{\thesis@gender@koncovka} % \begin{macro}{\thesis@gender@koncovka}
% The locale file defines the |\thesis@gender@koncovka| macro, % The locale file also defines the |\thesis@gender@koncovka| macro,
% which expands to the correct verb ending based on the value of % which expands to the correct verb ending based on the value of
% the |\thesis@ifwoman| macro and the |\thesis@typeName@akuzativ| % the |\thesis@ifwoman| macro and the |\thesis@typeName@akuzativ|
% containing the accusative case of the thesis type name. % containing the accusative case of the thesis type name.
% \end{macro}\iffalse % \end{macro}\iffalse
%<*base> %<*base>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis3/locale/czech.def}[2015/04/08] \ProvidesFile{fithesis3/locale/czech.def}[2015/04/12]
% Symbolický odkaz na anglický překlad % Symbolický odkaz na anglický překlad
\input{\thesis@localepath english.def} \input{\thesis@localepath english.def}
...@@ -141,17 +141,22 @@ ...@@ -141,17 +141,22 @@
% It replaces the |\thesis@facultyName| placeholder with the % It replaces the |\thesis@facultyName| placeholder with the
% correct value and updates the |\thesis@placeholders@assignment| % correct value and updates the |\thesis@placeholders@assignment|
% and |\thesis@declaration| private macros in accordance with the % and |\thesis@declaration| private macros in accordance with the
% requirements of the faculty. % requirements of the faculty. The file also defines the
% |\thesis@advisorSignature| macro required by the
% |\thesis@titlePage| block defined within the
% \texttt{style/mu/fi.sty} style file.
% \iffalse % \iffalse
%<*mu/fi> %<*mu/fi>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis3/locale/mu/fi/czech.def}[2015/04/08] \ProvidesFile{fithesis3/locale/mu/fi/czech.def}[2015/04/12]
\def\thesis@facultyName{Fakulta informatiky} \def\thesis@facultyName{Fakulta informatiky}
% Zástupné texty % Zástupné texty
\def\thesis@placeholders@assignment{Místo tohoto listu vložte \def\thesis@placeholders@assignment{Místo tohoto listu vložte
kopie oficiálního podepsaného zadání práce a prohlášení kopie oficiálního podepsaného zadání práce a prohlášení
autora školního díla.} autora školního díla.}
% Ostatní
\def\thesis@declaration{% \def\thesis@declaration{%
Prohlašuji, že tato \thesis@lower{typeName} je mým původním Prohlašuji, že tato \thesis@lower{typeName} je mým původním
autorským dílem, které jsem vypracoval\thesis@gender@koncovka\ autorským dílem, které jsem vypracoval\thesis@gender@koncovka\
...@@ -159,6 +164,7 @@ ...@@ -159,6 +164,7 @@
při vypracování používal\thesis@gender@koncovka\ nebo z~nich při vypracování používal\thesis@gender@koncovka\ nebo z~nich
čerpal\thesis@gender@koncovka, v~práci řádně cituji s~uvedením čerpal\thesis@gender@koncovka, v~práci řádně cituji s~uvedením
úplného odkazu na příslušný zdroj.} úplného odkazu na příslušný zdroj.}
\def\thesis@advisorSignature{Podpis vedoucího}
% \end{macrocode}\iffalse % \end{macrocode}\iffalse
%</mu/fi> %</mu/fi>
% \fi\file{locale/mu/phil/czech.def} % \fi\file{locale/mu/phil/czech.def}
...@@ -199,7 +205,7 @@ ...@@ -199,7 +205,7 @@
% \iffalse % \iffalse
%<*mu/sci> %<*mu/sci>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis3/locale/mu/sci/czech.def}[2015/04/10] \ProvidesFile{fithesis3/locale/mu/sci/czech.def}[2015/04/12]
% Zástupné texty % Zástupné texty
\def\thesis@facultyName{Přírodovědecká fakulta} \def\thesis@facultyName{Přírodovědecká fakulta}
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
% \iffalse % \iffalse
%<*base-shared> %<*base-shared>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis3/locale/base.def}[2015/04/10] \ProvidesFile{fithesis3/locale/base.def}[2015/04/12]
% Placeholders % Placeholders
\def\thesis@placeholders@titleEn{Thesis Title} \def\thesis@placeholders@titleEn{Thesis Title}
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
\def\thesis@keywordsTitleEn{Keywords} \def\thesis@keywordsTitleEn{Keywords}
\def\thesis@thanksTitleEn{Acknowledgement} \def\thesis@thanksTitleEn{Acknowledgement}
\def\thesis@declarationTitleEn{Declaration} \def\thesis@declarationTitleEn{Declaration}
\def\thesis@winterEn{Winter} \def\thesis@winterEn{Spring}
\def\thesis@summerEn{Summer} \def\thesis@summerEn{Fall}
\def\thesis@semesterEn{\thesis@season\ \thesis@year} \def\thesis@semesterEn{\thesis@season\ \thesis@year}
\def\thesis@typeNameEn{% \def\thesis@typeNameEn{%
\ifx\thesis@type\thesis@bachelors% \ifx\thesis@type\thesis@bachelors%
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
% \begin{macro}{\thesis@gender@koncovka} % \begin{macro}{\thesis@gender@koncovka}
% The locale file defines the |\thesis@gender@koncovka| macro, % The locale file defines the |\thesis@gender@koncovka| macro,
% which expands to the correct verb ending based on the value of % which expands to the correct verb ending based on the value of
% the |\thesis@ifwoman| macro and the |\thesis@typeName@akuzativ| % the |\thesis@ifwoman| macro.
% containing the accusative case of the thesis type name.
% \end{macro}\iffalse % \end{macro}\iffalse
%<*base> %<*base>
% \fi\begin{macrocode} % \fi\begin{macrocode}
...@@ -150,11 +149,14 @@ ...@@ -150,11 +149,14 @@
% from the respective Czech locale file. % from the respective Czech locale file.
% It also updates the |\thesis@placeholders@assignment| and % It also updates the |\thesis@placeholders@assignment| and
% |\thesis@declaration| private macros in accordance with the % |\thesis@declaration| private macros in accordance with the
% requirements of the faculty. % requirements of the faculty. The file also defines the
% |\thesis@advisorSignature| macro required by the
% |\thesis@titlePage| block defined within the
% \texttt{style/mu/fi.sty} style file.
% \iffalse % \iffalse
%<*mu/fi> %<*mu/fi>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis3/locale/mu/fi/slovak.def}[2015/04/08] \ProvidesFile{fithesis3/locale/mu/fi/slovak.def}[2015/04/12]
% Symbolický odkaz na český preklad % Symbolický odkaz na český preklad
\input{\thesis@localepath mu/fi/czech.def} \input{\thesis@localepath mu/fi/czech.def}
...@@ -163,6 +165,8 @@ ...@@ -163,6 +165,8 @@
\def\thesis@assignment{Namiesto tejto stránky vložte kópiu \def\thesis@assignment{Namiesto tejto stránky vložte kópiu
oficiálneho podpísaného zadania práce a prehlásenie autora oficiálneho podpísaného zadania práce a prehlásenie autora
školského diela.} školského diela.}
% Rôzne
\def\thesis@declaration{% \def\thesis@declaration{%
Prehlasujem, že táto \thesis@lower{typeName} je mojím pôvodným Prehlasujem, že táto \thesis@lower{typeName} je mojím pôvodným
autorským dielom, ktoré som vypracoval\thesis@gender@koncovka\ autorským dielom, ktoré som vypracoval\thesis@gender@koncovka\
...@@ -170,6 +174,7 @@ ...@@ -170,6 +174,7 @@
vypracovaní používal\thesis@gender@koncovka\ alebo z~nich vypracovaní používal\thesis@gender@koncovka\ alebo z~nich
čerpal\thesis@gender@koncovka, v~práci riadne citujem čerpal\thesis@gender@koncovka, v~práci riadne citujem
s~uvedením úplného odkazu na príslušný zdroj.} s~uvedením úplného odkazu na príslušný zdroj.}
\def\thesis@advisorSignature{Podpis vedúceho}
% \end{macrocode}\iffalse % \end{macrocode}\iffalse
%</mu/fi> %</mu/fi>
% \fi\file{locale/mu/phil/slovak.def} % \fi\file{locale/mu/phil/slovak.def}
...@@ -204,8 +209,8 @@ ...@@ -204,8 +209,8 @@
% This is the Slovak locale file specific to the Faculty of % This is the Slovak locale file specific to the Faculty of
% Science at the Masaryk University in Brno. % Science at the Masaryk University in Brno.
% It defines the private macros required by the % It defines the private macros required by the
% |\thesis@blocks@bibEntry| block defined within the % |\thesis@blocks@bibEntry| block
% \texttt{style/mu/sci.sty} style file. % defined within the \texttt{style/mu/sci.sty} style file.
% It also replaces the |\thesis@facultyName| and % It also replaces the |\thesis@facultyName| and
% |\thesis@placeholders@department| placeholders with the % |\thesis@placeholders@department| placeholders with the
% correct value. The redefinitions of the |\thesis@abstractTitle| % correct value. The redefinitions of the |\thesis@abstractTitle|
...@@ -217,7 +222,7 @@ ...@@ -217,7 +222,7 @@
% \iffalse % \iffalse
%<*mu/sci> %<*mu/sci>
% \fi\begin{macrocode} % \fi\begin{macrocode}
\ProvidesFile{fithesis3/locale/mu/sci/slovak.def}[2015/04/08] \ProvidesFile{fithesis3/locale/mu/sci/slovak.def}[2015/04/12]
%% Symbolický odkaz na český preklad %% Symbolický odkaz na český preklad
\input{\thesis@localepath mu/sci/czech.def} \input{\thesis@localepath mu/sci/czech.def}
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
% \texttt{style/base.tex}, regardless of the % \texttt{style/base.tex}, regardless of the
% value of the |\thesis@style| macro. % value of the |\thesis@style| macro.
% \begin{macrocode} % \begin{macrocode}
\ProvidesPackage{fithesis3/style/mu/base}[2015/04/08] \ProvidesPackage{fithesis3/style/mu/base}[2015/04/12]
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
% \end{macrocode} % \end{macrocode}
% The file recognizes the following options: \begin{itemize} % The file recognizes the following options: \begin{itemize}
...@@ -156,41 +156,13 @@ ...@@ -156,41 +156,13 @@
{\sc \thesis@typeName}\\[0.3in] {\sc \thesis@typeName}\\[0.3in]
{\thesis@titlePage@Large\bf\thesis@author} {\thesis@titlePage@Large\bf\thesis@author}
\par\vfill \par\vfill
{\thesis@titlePage@large\thesis@place, \thesis@year} {\thesis@titlePage@large\thesis@place, \thesis@semester}
\end{center} \end{center}
\end{alwayssingle} \end{alwayssingle}
\ifthesis@twoside\@twosidetrue\fi % Re-enable twoside \ifthesis@twoside\@twosidetrue\fi % Re-enable twoside
\thesis@blocks@clear \thesis@blocks@clear
\fi} \fi}
% \end{macrocode} % \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@titlePage}
% The |\thesis@blocks@titlePage| private macro typesets the thesis
% title page. The title page is similar to the cover except for the
% fact that if color typesetting is enables, the logo is loaded
% from the |\thesis@logopath color/| directory instead of
% |\thesis@logopath|.
% \begin{macrocode}
\def\thesis@blocks@titlePage{%
\thesis@blocks@clear
\begin{alwayssingle}
\thispagestyle{empty}
\begin{center}
{\sc\thesis@universityName\\\thesis@facultyName}
\vskip 1.4em
\edef\thesis@logopath@color{\thesis@logopath\ifthesis@color color/\fi}
\includegraphics[width=40mm]{%
\thesis@logopath@color\thesis@facultyLogo}\\[0.4in]
\let\footnotesize\small
\let\footnoterule\relax{}
{\thesis@titlePage@Huge\bf\thesis@TeXtitle\par\vfil}\vskip 0.8in
{\sc \thesis@typeName}\\[0.3in]
{\thesis@titlePage@Large\bf\thesis@author}
\par\vfill
{\thesis@titlePage@large\thesis@place, \thesis@year}
\end{center}
\end{alwayssingle}
\thesis@blocks@clear}
% \end{macrocode}
% \end{macro}\begin{macro}{\thesis@blocks@tables} % \end{macro}\begin{macro}{\thesis@blocks@tables}
% The |\thesis@blocks@tables| private macro typesets the table of % The |\thesis@blocks@tables| private macro typesets the table of
% contents and optionally the |\listoftables| and the % contents and optionally the |\listoftables| and the
......
...@@ -6,7 +6,60 @@ ...@@ -6,7 +6,60 @@
% \url{https://www.fi.muni.cz/docs/BP_DP_na_FI.pdf}}. % \url{https://www.fi.muni.cz/docs/BP_DP_na_FI.pdf}}.
% \begin{macrocode} % \begin{macrocode}
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fithesis3/style/mu/fi}[2015/04/12]
% \end{macrocode} % \end{macrocode}
% \begin{macro}{\thesis@blocks@titlePage}
% The |\thesis@blocks@titlePage| private macro typesets the thesis
% title page. Along with the macros required by the
% locale file interface, the locale files need to define the
% following private macros:
% \begin{itemize}
% \item\DescribeMacro{\thesis@advisorSignature}%
% |\thesis@advisorSignature| -- The label of the advisor
% signature field typeset in the case of a rigorous thesis
% \end{itemize}
% \begin{macrocode}
\def\thesis@blocks@titlePage{%
\thesis@blocks@clear
\begin{alwayssingle}
\thispagestyle{empty}
\begin{center}
{\thesis@titlePage@normalsize\sc\thesis@universityName\\%
\thesis@facultyName}
\vskip 1.4em
\edef\thesis@logopath@color{\thesis@logopath\ifthesis@color color/\fi}
\includegraphics[width=40mm]{%
\thesis@logopath@color\thesis@facultyLogo}\\[0.4in]
\let\footnotesize\small
\let\footnoterule\relax{}
{\thesis@titlePage@Huge\bf\thesis@TeXtitle\par\vfil}\vskip 0.8in
{\thesis@titlePage@normalsize\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%
\par\vfill
{\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{center}
\end{alwayssingle}
\thesis@blocks@clear}
% \end{macrocode}
% \end{macro}
% The style file defines the autolayout preamble as the cover and % The style file defines the autolayout preamble as the cover and
% the title page followed by the assignment, declaration, % the title page followed by the assignment, declaration,
% acknowledgement, abstract, keywords, table of contents and list % acknowledgement, abstract, keywords, table of contents and list
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
% \url{http://www.sci.muni.cz/NW/predpisy/od/OD-2014-05.pdf}}. % \url{http://www.sci.muni.cz/NW/predpisy/od/OD-2014-05.pdf}}.
% \begin{macrocode} % \begin{macrocode}
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{fithesis3/style/mu/sci}[2015/04/09] \ProvidesPackage{fithesis3/style/mu/sci}[2015/04/12]
% \end{macrocode} % \end{macrocode}
% The file loads the following packages: % The file loads the following packages:
% \begin{itemize} % \begin{itemize}
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
\vfill \vfill
{\bf\thesis@titlePage@Huge\thesis@TeXtitle\\[0.8em]} {\bf\thesis@titlePage@Huge\thesis@TeXtitle\\[0.8em]}
{\thesis@titlePage@large\thesis@typeName\\[1em]} {\thesis@titlePage@large\thesis@typeName\\[1em]}
{\bf\thesis@titlePage@LARGE\thesis@author\\} {\bf\thesis@titlePage@LARGE\thesis@author}\\
\vfill\noindent \vfill\noindent
% The bottom of the page % The bottom of the page
{\bf\thesis@titlePage@large% {\bf\thesis@titlePage@large%
......
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