diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx | 51 |
1 files changed, 39 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx b/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx index 32a93f115b6..28dcb21d548 100644 --- a/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx +++ b/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx @@ -9,7 +9,7 @@ % after \texttt{style/fithesis-base.sty}, regardless of the value % of the |\thesis@style| macro. % \begin{macrocode} -\ProvidesPackage{fithesis/style/mu/fithesis-mu-base}[2022/08/15] +\ProvidesPackage{fithesis/style/mu/fithesis-mu-base}[2024/03/06] \NeedsTeXFormat{LaTeX2e} % \end{macrocode} % The file recognizes the following options: \begin{itemize} @@ -275,7 +275,7 @@ % \textsf{microtype} package gets loaded. % \begin{macrocode} \ifthesis@microtype@ - \thesis@require[final,babel]{microtype} + \thesis@require[final,babel,nopatch=item]{microtype} \fi % \end{macrocode} % Using the |\ifxetex| and |\ifluatex| conditionals, a compound @@ -639,11 +639,15 @@ % \changes{v1.1.0}{2022/08/15}{^^A % Added the \texttt{colorbold} and \texttt{nocolorbold} package % options for the Masaryk University in Brno. [TV]} +% \changes{v1.1.1}{2024/03/06}{^^A +% Only apply the \texttt{colorbold} package option if the \texttt{color} +% package option is also enabled. [VN]} % \begin{macrocode} \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} % \end{macrocode} % The file defines several blocks to be used in the redefinitions % of the |\thesis@blocks@preamble| and |\thesis@blocks@postamble| @@ -952,6 +956,7 @@ % \end{macrocode} % \changes{v1.1.0}{2022/08/17}{^^A % Typeset thesis title on cover and title pages in sans serif typeface. [VN]} +% \changes{v1.1.1}{2023/03/06}{The field of study shows only if not empty. [TV]} % \begin{macrocode} {\sf\thesis@titlePage@LARGE\thesis@upper{author}\par}% \vfill\vfill @@ -965,8 +970,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}% @@ -1099,12 +1106,14 @@ % macros so they by default start on the same page as the % the previous element and are in the lower part of the page. % [TV]} +% \changes{v1.1.1}{2024/03/06}{Typeset \cs{thesis@TeXkeywords}, +% not \cs{thesis@keywords}. [VN]} % \begin{macrocode} \def\thesis@blocks@keywords{% \begin{alwayssingle}% {\let\thesis@blocks@clear\relax% \chapter*{\vspace*{\fill}\thesis@@{keywordsTitle}}}% - \noindent\leavevmode\thesis@keywords + \noindent\leavevmode\thesis@TeXkeywords \end{alwayssingle}} % \end{macrocode} % \end{macro}\begin{macro}{\thesis@blocks@keywordsEn} @@ -1114,6 +1123,8 @@ % \changes{v0.3.46}{2017/06/02}{Simplified the definition of % \cs{thesis@blocks@keywordsEn} in % \texttt{style/mu/fithesis-base.sty}. [VN]} +% \changes{v1.1.1}{2024/03/06}{Typeset \cs{thesis@TeXkeywords}, +% not \cs{thesis@keywords}. [VN]} % \begin{macrocode} \def\thesis@blocks@keywordsEn{% \ifthesis@english\else @@ -1121,7 +1132,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} % \end{macrocode} @@ -1227,6 +1238,15 @@ \pagestyle{thesisheadings} \parindent 1.5em\relax} % \end{macrocode} +% \end{macro}\begin{macro}{\thesis@blocks@bibEntry@pagetotal} +% The |\thesis@blocks@bibEntry@pageTotal| macro typeset the total number of +% pages in the thesis in the format required by the bibliographic entry. +% \changes{v1.1.1}{2024/03/06}{Add the \cs{thesis@blocks@bibEntry@pagetotal} +% command for the Masaryk University in Brno. [TV, VN]} +% \begin{macrocode} +\def\thesis@blocks@bibEntry@pagetotal{% + \thesis@pages@preamble{} + \thesis@pages} +% \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 @@ -1240,6 +1260,8 @@ % \changes{v1.0.0}{2021/03/04}{The \cs{thesis@blocks@bibEntry} command % was expanded to more closely resemble Faculty of Science's bibEntry. % The \cs{thesis@blocks@bibEntryEn} was added. [TV]} +% \changes{v1.1.1}{2024/03/06}{If the \cs{thesis@field} key is empty string, +% the bibEntry field of study row does not appear. [TV]} % \begin{macrocode} \def\thesis@blocks@bibEntry{% \thesis@blocks@clear @@ -1281,18 +1303,22 @@ & \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}}} - +% \end{macrocode} +% \changes{v1.1.1}{2024/03/06}{If the \cs{thesis@fieldEn} key is empty string, +% the bibEntryEn field of study row does not appear. [TV]} +% \begin{macrocode} \def\thesis@blocks@bibEntryEn{% \ifthesis@english\else \thesis@blocks@clear @@ -1333,14 +1359,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}} |