summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-mu-base.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-mu-base.sty')
-rw-r--r--Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-mu-base.sty38
1 files changed, 22 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-mu-base.sty b/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-mu-base.sty
index 3b639a43483..2e4a437be8b 100644
--- a/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-mu-base.sty
+++ b/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-mu-base.sty
@@ -6,9 +6,9 @@
%%
%% base.dtx (with options: `base')
%%
-%% Copyright 1998--2022 Daniel Marek (DM), Jan Pavlovič (JP),
-%% Vít Novotný (VN), Tereza Vrabcová (TV),
-%% Petr Sojka (PS)
+%% Copyright 1998--2024 Daniel Marek (DM), Jan Pavlovič (JP),
+%% Petr Sojka (PS), Vít Starý Novotný (VN),
+%% Tereza Vrabcová (TV)
%% http://www.fi.muni.cz/tech/unix/tex/fithesis.xhtml
%% Faculty of Informatics, Masaryk University (Brno, Czech Republic)
%%
@@ -24,7 +24,7 @@
%%
%% This work has the LPPL maintenance status `maintained'.
%%
-%% The Current Maintainer of this work is Vít Novotný (VN).
+%% The Current Maintainer of this work is Vít Starý Novotný (VN).
%% Send bug reports, requests for additions and questions
%% either to the fithesis discussion forum at
%%
@@ -50,7 +50,7 @@
%%
%% The names of the source files used are shown above.
%%
-\ProvidesPackage{fithesis/style/mu/fithesis-mu-base}[2022/08/15]
+\ProvidesPackage{fithesis/style/mu/fithesis-mu-base}[2024/03/06]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption{10pt}{\def\thesis@ptsize{0}}
\DeclareOption{11pt}{\def\thesis@ptsize{1}}
@@ -115,7 +115,7 @@
\thesis@require{booktabs}
\thesis@require{tikz}
\ifthesis@microtype@
- \thesis@require[final,babel]{microtype}
+ \thesis@require[final,babel,nopatch=item]{microtype}
\fi
{\let\x\expandafter
\x\global\x\let\x\ifthesis@xeluatex\csname if%
@@ -268,7 +268,8 @@
\let\thesis@bfseries@old\bfseries
\def\bfseries{%
\ifthesis@sansbold@\sffamily\fi
- \ifthesis@colorbold@\color{thesis@color@secondary}\fi\thesis@bfseries@old}
+ \ifthesis@color@\ifthesis@colorbold@\color{thesis@color@secondary}\fi\fi
+ \thesis@bfseries@old}
\def\thesis@blocks@coverMatter{%
\pagenumbering{gobble}}
\def\thesis@blocks@frontMatter{%
@@ -398,8 +399,10 @@
{\sf\thesis@titlePage@large\thesis@@{bib@programme}: \thesis@programme\par}%
\fi
\ifthesis@blocks@titlePage@field@
+ \ifx\thesis@field\empty\else
\vspace{0.25cm}%
{\sf\thesis@titlePage@large\thesis@@{fieldTitle}: \thesis@field@name\par}%
+ \fi
\fi
\vfill
{\sf\thesis@titlePage@large\thesis@place, \thesis@@{semester}%
@@ -467,7 +470,7 @@
\begin{alwayssingle}%
{\let\thesis@blocks@clear\relax%
\chapter*{\vspace*{\fill}\thesis@@{keywordsTitle}}}%
- \noindent\leavevmode\thesis@keywords
+ \noindent\leavevmode\thesis@TeXkeywords
\end{alwayssingle}}
\def\thesis@blocks@keywordsEn{%
\ifthesis@english\else
@@ -475,7 +478,7 @@
\begin{alwayssingle}%
{\let\thesis@blocks@clear\relax%
\chapter*{\vspace*{\fill}\thesis@english@keywordsTitle}}%
- \noindent\leavevmode\thesis@keywordsEn
+ \noindent\leavevmode\thesis@TeXkeywordsEn
\end{alwayssingle}}%
\fi}
\def\thesis@rewind{%
@@ -528,6 +531,8 @@
\pagenumbering{arabic}
\pagestyle{thesisheadings}
\parindent 1.5em\relax}
+\def\thesis@blocks@bibEntry@pagetotal{%
+ \thesis@pages@preamble{} + \thesis@pages}
\def\thesis@blocks@bibEntry{%
\thesis@blocks@clear
\chapter*{\thesis@@{bib@title}}
@@ -568,18 +573,18 @@
& \thesis@title \\
\textbf{\thesis@@{bib@programme}:}
& \thesis@programme \\
- \textbf{\thesis@@{bib@field}:}
- & \thesis@field \\
+ \ifx\thesis@field\empty\else
+ \textbf{\thesis@@{bib@field}:}%
+ & \thesis@field \\\fi
\textbf{\thesis@@{bib@advisor}:}
& \thesis@advisor \\
\textbf{\thesis@@{bib@academicYear}:}
& \thesis@academicYear \\
\textbf{\thesis@@{bib@pages}:}
- & \thesis@pages@preamble{} + \thesis@pages \\
+ & \thesis@blocks@bibEntry@pagetotal \\
\textbf{\thesis@@{bib@keywords}:}
& \thesis@TeXkeywords \\
\end{thesis@newtable@old}}}
-
\def\thesis@blocks@bibEntryEn{%
\ifthesis@english\else
\thesis@blocks@clear
@@ -620,14 +625,15 @@
& \thesis@titleEn \\
\textbf{\thesis@english@bib@programme:}
& \thesis@programmeEn \\
- \textbf{\thesis@english@bib@field:}
- & \thesis@fieldEn \\
+ \ifx\thesis@fieldEn\empty\else
+ \textbf{\thesis@english@bib@field:}%
+ & \thesis@fieldEn@name \\\fi
\textbf{\thesis@english@bib@advisor:}
& \thesis@advisor \\
\textbf{\thesis@english@bib@academicYear:}
& \thesis@academicYear \\
\textbf{\thesis@english@bib@pages:}
- & \thesis@pages@preamble{} + \thesis@pages \\
+ & \thesis@blocks@bibEntry@pagetotal \\
\textbf{\thesis@english@bib@keywords:}
& \thesis@TeXkeywordsEn \\
\end{thesis@newtable@old}}