summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx
diff options
context:
space:
mode:
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.dtx49
1 files changed, 33 insertions, 16 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 d2c4927a7a6..d0161dfb98f 100644
--- a/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx
+++ b/Master/texmf-dist/source/latex/fithesis/style/mu/base.dtx
@@ -7,7 +7,7 @@
% after \texttt{style/fithesis-base.sty}, regardless of the value
% of the |\thesis@style| macro.
% \begin{macrocode}
-\ProvidesPackage{fithesis/style/mu/fithesis-base}[2016/06/06]
+\ProvidesPackage{fithesis/style/mu/fithesis-base}[2017/06/02]
\NeedsTeXFormat{LaTeX2e}
% \end{macrocode}
% The file recognizes the following options: \begin{itemize}
@@ -531,12 +531,19 @@
% The |\thesis@blocks@clear| macro clears the current page.
% It also clears the next left-hand (even-numbered) page, when
% double-sided typesetting is enabled.
+% \changes{v0.3.45}{2017/05/24}{\cs{thesis@blocks@clear} now only
+% sets the pagestyle to |empty|, when there is a left-hand
+% (even-numbered) page to clear. [VN]}
+% \begin{macrocode}
% \begin{macrocode}
\def\thesis@blocks@clear{%
\ifthesis@twoside@
\clearpage
- \thispagestyle{empty}%
- \cleardoublepage
+ \ifodd\value{page}\else%
+ \thispagestyle{empty}%
+ \hbox{}%
+ \newpage
+ \fi
\else
\newpage
\fi}
@@ -842,8 +849,9 @@
% \begin{macrocode}
\def\thesis@blocks@abstract{%
\begin{alwayssingle}%
- % Start the new chapter without clearing the right page
- {\def\cleardoublepage{}
+ % Start the new chapter without clearing the left page.
+ \clearpage
+ {\let\thesis@blocks@clear\relax
\chapter*{\thesis@@{abstractTitle}}}%
\noindent\thesis@abstract
\par\vfil\null
@@ -853,15 +861,19 @@
% The |\thesis@blocks@abstractEn| macro typesets the
% abstract in English. If the current locale is English, the
% macro produces no output.
+% \changes{v0.3.46}{2017/06/02}{Simplified the definition of
+% \cs{thesis@blocks@abstractEn} in
+% \texttt{style/mu/fithesis-base.sty}. [VN]}
% \begin{macrocode}
\def\thesis@blocks@abstractEn{%
\ifthesis@english\else
{\thesis@selectLocale{english}%
\begin{alwayssingle}%
- % Start the new chapter without clearing the right page
- {\def\cleardoublepage{}%
- \chapter*{\thesis@english@abstractTitle}%
- \thesis@abstractEn}%
+ % Start the new chapter without clearing the left page.
+ \clearpage
+ {\let\thesis@blocks@clear\relax
+ \chapter*{\thesis@english@abstractTitle}}%
+ \noindent\thesis@abstractEn
\par\vfil\null
\end{alwayssingle}}%
\fi}
@@ -872,8 +884,9 @@
% \begin{macrocode}
\def\thesis@blocks@keywords{%
\begin{alwayssingle}%
- % Start the new chapter without clearing the right page
- {\def\cleardoublepage{}%
+ % Start the new chapter without clearing the left page.
+ \clearpage
+ {\let\thesis@blocks@clear\relax
\chapter*{\thesis@@{keywordsTitle}}%
\noindent\thesis@TeXkeywords}%
\par\vfil\null
@@ -883,15 +896,19 @@
% The |\thesis@blocks@keywordsEn| macro typesets the
% keywords in English. If the current locale is English, the
% macro produces no output.
+% \changes{v0.3.46}{2017/06/02}{Simplified the definition of
+% \cs{thesis@blocks@keywordsEn} in
+% \texttt{style/mu/fithesis-base.sty}. [VN]}
% \begin{macrocode}
\def\thesis@blocks@keywordsEn{%
\ifthesis@english\else
{\thesis@selectLocale{english}%
\begin{alwayssingle}%
- % Start the new chapter without clearing the right page
- {\def\cleardoublepage{}%
- \chapter*{\thesis@english@keywordsTitle}%
- \thesis@TeXkeywordsEn}%
+ % Start the new chapter without clearing the left page.
+ \clearpage
+ {\let\thesis@blocks@clear\relax%
+ \chapter*{\thesis@english@keywordsTitle}}%
+ \noindent\thesis@TeXkeywordsEn
\par\vfil\null
\end{alwayssingle}}%
\fi}
@@ -1119,7 +1136,7 @@
\bfseries % \chapter (0)
\or
\slshape % \section (1)
- \else
+ \else
\rmfamily % \subsection (2), \subsubsection (3)
% \paragraph, \subparagraph (4)
\fi}