From ee075ca4da3916298b49b7a85c48087f6616f7e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Novotn=C3=BD?= <witiko@gmail.com> Date: Sun, 15 May 2016 02:43:12 +0200 Subject: [PATCH] Fixed chapter numbers being printed regardless of secnumdepth for mu/. --- fithesis.dtx | 4 +++- style/mu/base.dtx | 11 ++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/fithesis.dtx b/fithesis.dtx index de10738..b981ccb 100644 --- a/fithesis.dtx +++ b/fithesis.dtx @@ -62,7 +62,9 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \changes{v0.3.38:2}{2016/05/15}{Fixed \cs{thesis@pages} not -% taking \cs{thesis@preamble} into account.} +% taking \cs{thesis@preamble} into account. Fixed the chapter +% number being printed regardless of secnumdepth by the style +% files of the Masaryk University in Brno.} % \changes{v0.3.38:1}{2016/04/18}{The \texttt{bib} key was added % on the \textsf{fithesis3} class level and is supported by the % style files of the Masaryk University in Brno.} diff --git a/style/mu/base.dtx b/style/mu/base.dtx index 62cab81..a5526be 100644 --- a/style/mu/base.dtx +++ b/style/mu/base.dtx @@ -1128,7 +1128,7 @@ % \begin{macrocode} %<*opt> %<*10pt> -\ProvidesFile{fithesis/style/mu/fithesis-10.clo}[2016/01/07] +\ProvidesFile{fithesis/style/mu/fithesis-10.clo}[2016/05/15] \renewcommand{\normalsize}{\fontsize\@xpt{12}\selectfont \abovedisplayskip 10\p@ plus2\p@ minus5\p@ @@ -1171,7 +1171,7 @@ % match the type size of 11 points. % \begin{macrocode} %<*11pt> -\ProvidesFile{fithesis/style/mu/fithesis-11.clo}[2016/01/07] +\ProvidesFile{fithesis/style/mu/fithesis-11.clo}[2016/05/15] \renewcommand{\normalsize}{\fontsize\@xipt{14}\selectfont \abovedisplayskip 11\p@ plus3\p@ minus6\p@ @@ -1240,7 +1240,7 @@ % should remain constant regardless of the font size setting. % \begin{macrocode} %<*12pt> -\ProvidesFile{fithesis/style/mu/fithesis-12.clo}[2016/01/07] +\ProvidesFile{fithesis/style/mu/fithesis-12.clo}[2016/05/15] %</12pt> \def\thesis@titlePage@normalsize{\fontsize\@xiipt{14.5}% @@ -1403,12 +1403,13 @@ \def\@makechapterhead#1{{% \setlength\parindent{\z@}% \setlength\parskip {\z@}% + \Large \ChapFont \ifnum \c@secnumdepth >\m@ne \par\nobreak \vskip 10\p@ - \fi - \Large \ChapFont \thechapter{} \space #1\par + \thechapter{} \space + \fi #1\par \nobreak \vskip 20\p@}} -- GitLab