diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-base.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-base.sty | 207 |
1 files changed, 101 insertions, 106 deletions
diff --git a/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-base.sty b/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-base.sty index 98cde9e2b5c..87f2473b9b8 100644 --- a/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-base.sty +++ b/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-base.sty @@ -49,7 +49,7 @@ %% %% The names of the source files used are shown above. %% -\ProvidesPackage{fithesis/style/mu/fithesis-base}[2015/12/09] +\ProvidesPackage{fithesis/style/mu/fithesis-base}[2016/01/07] \NeedsTeXFormat{LaTeX2e} \DeclareOption{10pt}{\def\thesis@ptsize{0}} \DeclareOption{11pt}{\def\thesis@ptsize{1}} @@ -158,9 +158,7 @@ \fi \fi \thesis@require{hyperref} -\hypersetup{ - pdfborderstyle={/S/U/W 1}, % Less obtrusive borders - plainpages=false} % Multiple page numbering support +\hypersetup{pdfborderstyle={/S/U/W 1}} % Less obtrusive borders \widowpenalty 10000 \clubpenalty 10000 \def\thesis@color@setup#1{% @@ -183,23 +181,23 @@ \setcounter{page}{1} \pagenumbering{roman}} \def\thesis@blocks@clear{% - \ifthesis@twoside@% - \clearpage% + \ifthesis@twoside@ + \clearpage \thispagestyle{empty}% - \cleardoublepage% - \else% - \newpage% + \cleardoublepage + \else + \newpage \fi} \def\thesis@blocks@clearRight{% - \ifthesis@twoside@% - \clearpage% + \ifthesis@twoside@ + \clearpage \ifodd\value{page}% \thispagestyle{empty}% \hbox{}% - \newpage% - \fi% - \else% - \newpage% + \newpage + \fi + \else + \newpage \fi} \newcommand{\thesis@blocks@facultyLogo@monochrome}[1]% [width=40mm]{{% @@ -207,7 +205,7 @@ \includegraphics[#1]{\@path}}} \newcommand{\thesis@blocks@facultyLogo@color}[1]% [width=40mm]{{% - \edef\@path{\thesis@logopath\thesis@facultyLogo% + \edef\@path{\thesis@logopath\thesis@facultyLogo \ifthesis@color@-color\fi}% \includegraphics[#1]{\@path}}} \newcommand{\thesis@blocks@universityLogo@monochrome}[1]% @@ -216,22 +214,22 @@ \includegraphics[#1]{\@path}}} \newcommand{\thesis@blocks@universityLogo@color}[1]% [width=40mm]{{% - \edef\@path{\thesis@logopath\thesis@universityLogo% + \edef\@path{\thesis@logopath\thesis@universityLogo \ifthesis@color@-color\fi}% \includegraphics[#1]{\@path}}} \def\thesis@blocks@cover{% - \ifthesis@cover@% - \thesis@blocks@clear% + \ifthesis@cover@ + \thesis@blocks@clear \begin{alwayssingle}% \thispagestyle{empty}% \begin{center}% - \thesis@blocks@cover@header% + \thesis@blocks@cover@header \thesis@blocks@facultyLogo@monochrome\\[0.4in]% - \let\footnotesize\small% + \let\footnotesize\small \let\footnoterule\relax{}% - \thesis@blocks@cover@content% - \par\vfill% - \thesis@blocks@cover@footer% + \thesis@blocks@cover@content + \par\vfill + \thesis@blocks@cover@footer \end{center}% \end{alwayssingle}% \fi} @@ -245,14 +243,14 @@ \thesis@blocks@cover@field@false \def\thesis@blocks@cover@header{% - {\sc\ifthesis@blocks@cover@university@% + {\sc\ifthesis@blocks@cover@university@ \thesis@titlePage@LARGE\thesis@@{universityName}\\% - \fi\ifthesis@blocks@cover@faculty@% + \fi\ifthesis@blocks@cover@faculty@ \thesis@titlePage@Large\thesis@@{facultyName}\\% - \fi\ifthesis@blocks@cover@department@% + \fi\ifthesis@blocks@cover@department@ \thesis@titlePage@large\thesis@department\\% \fi} - \ifthesis@blocks@cover@field@% + \ifthesis@blocks@cover@field@ {\thesis@titlePage@large\vskip 1em% {\bf\thesis@@{fieldTitle}:} \thesis@field}% \fi\vskip 2em} @@ -264,17 +262,17 @@ \def\thesis@blocks@cover@footer{% {\thesis@titlePage@large\thesis@place, \thesis@@{semester}}} \def\thesis@blocks@titlePage{% - \thesis@blocks@clear% + \thesis@blocks@clear \begin{alwayssingle}% \thispagestyle{empty}% \begin{center}% - \thesis@blocks@titlePage@header% + \thesis@blocks@titlePage@header \thesis@blocks@facultyLogo@color\\[0.4in]% - \let\footnotesize\small% + \let\footnotesize\small \let\footnoterule\relax{}% - \thesis@blocks@titlePage@content% - \par\vfill% - \thesis@blocks@titlePage@footer% + \thesis@blocks@titlePage@content + \par\vfill + \thesis@blocks@titlePage@footer \end{center}% \end{alwayssingle}} \newif\ifthesis@blocks@titlePage@university@ @@ -287,38 +285,38 @@ \thesis@blocks@titlePage@field@false \def\thesis@blocks@titlePage@header{% - {\sc\ifthesis@blocks@titlePage@university@% + {\sc\ifthesis@blocks@titlePage@university@ \thesis@titlePage@LARGE\thesis@@{universityName}\\% - \fi\ifthesis@blocks@titlePage@faculty@% + \fi\ifthesis@blocks@titlePage@faculty@ \thesis@titlePage@Large\thesis@@{facultyName}\\% - \fi\ifthesis@blocks@titlePage@department@% + \fi\ifthesis@blocks@titlePage@department@ \thesis@titlePage@large\thesis@department\\% \fi} - \ifthesis@blocks@titlePage@field@% + \ifthesis@blocks@titlePage@field@ {\thesis@titlePage@large\vskip 1em% {\bf\thesis@@{fieldTitle}:} \thesis@field}% \fi\vskip 2em} \let\thesis@blocks@titlePage@content=\thesis@blocks@cover@content \let\thesis@blocks@titlePage@footer=\thesis@blocks@cover@footer \def\thesis@blocks@tables{% - \thesis@blocks@clear% - \tableofcontents% - \thesis@blocks@lot% + \thesis@blocks@clear + \tableofcontents + \thesis@blocks@lot \thesis@blocks@lof} \def\thesis@blocks@declaration{% - \thesis@blocks@clear% + \thesis@blocks@clear \begin{alwayssingle}% \chapter*{\thesis@@{declarationTitle}}% - \thesis@declaration% + \thesis@declaration \vskip 2cm% - \hfill\thesis@author% + \hfill\thesis@author \end{alwayssingle}} \def\thesis@blocks@thanks{% - \ifx\thesis@thanks\undefined\else% - \thesis@blocks@clear% + \ifx\thesis@thanks\undefined\else + \thesis@blocks@clear \begin{alwayssingle}% \chapter*{\vspace*{\fill}\thesis@@{thanksTitle}}% - \thesis@thanks% + \thesis@thanks \end{alwayssingle}% \fi} \def\thesis@blocks@abstract{% @@ -326,18 +324,18 @@ % Start the new chapter without clearing the right page {\def\cleardoublepage{} \chapter*{\thesis@@{abstractTitle}}}% - \noindent\thesis@abstract% - \par\vfil\null% + \noindent\thesis@abstract + \par\vfil\null \end{alwayssingle}} \def\thesis@blocks@abstractEn{% - \ifthesis@english\else% + \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}% - \par\vfil\null% + \par\vfil\null \end{alwayssingle}}% \fi} \def\thesis@blocks@keywords{% @@ -346,46 +344,46 @@ {\def\cleardoublepage{}% \chapter*{\thesis@@{keywordsTitle}}% \noindent\thesis@TeXkeywords}% - \par\vfil\null% + \par\vfil\null \end{alwayssingle}} \def\thesis@blocks@keywordsEn{% - \ifthesis@english\else% + \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}% - \par\vfil\null% + \par\vfil\null \end{alwayssingle}}% \fi} \newif\ifthesis@blocks@assignment@ \thesis@blocks@assignment@true \def\thesis@blocks@assignment{% - \ifthesis@blocks@assignment@% - \ifx\thesis@assignmentFiles\undefined% + \ifthesis@blocks@assignment@ + \ifx\thesis@assignmentFiles\undefined % Typeset a placeholder page. - \thesis@blocks@clear% + \thesis@blocks@clear \begin{alwayssingle}% \thispagestyle{empty}% \addtocounter{page}{-\ifthesis@twoside@2\else1\fi}% \noindent\textit{\thesis@@{assignment}}% \end{alwayssingle}% - \else% + \else {\edef\@pdfList{\thesis@assignmentFiles}% \ifx\@pdfList\empty\else \let\ea\expandafter % Inject the specified PDF documents. \def\@inject##1,{\thesis@blocks@clear \def\@args{##1}\def\@relax{\relax}% - \ifx\@args\@relax\else% + \ifx\@args\@relax\else % Trim leading spaces. \edef\@trimmed{\romannumeral-`\.##1}% \includepdf[pages=-]\@trimmed \ea\@inject\fi}% \ea\@inject\@pdfList,\relax,% \fi}% - \fi% + \fi \fi} \def\thesis@blocks@mainMatter{% \thesis@blocks@clear @@ -398,56 +396,53 @@ \input\thesis@stylepath mu/fithesis-1\thesis@ptsize.clo\relax \def\ps@thesisheadings{% -\def\chaptermark##1{% -\markright{% -\ifnum\c@secnumdepth >\m@ne -\thechapter.\ % -\fi ##1}} -\let\@oddfoot\@empty -\let\@oddhead\@empty -\def\@oddhead{\vbox{\hbox to \textwidth{% -\hfil{\sc\rightmark}}\vskip 4pt\hrule}} -\if@twoside - \def\@evenhead{\vbox{\hbox to \textwidth{% - {\sc\rightmark}\hfil}\vskip 4pt\hrule}} -\else - \let\@evenhead\@oddhead -\fi -\def\@oddfoot{\hfil\PageFont\thepage} -\if@twoside - \def\@evenfoot{\PageFont\thepage\hfil}% -\else - \let\@evenfoot\@oddfoot -\fi -\let\@mkboth\markboth -} + \def\chaptermark##1{% + \markright{% + \ifnum\c@secnumdepth >\m@ne + \thechapter.\ % + \fi ##1}} + \let\@oddfoot\@empty + \let\@oddhead\@empty + \def\@oddhead{% + \vbox{% + \hbox to \textwidth{% + \hfil{\sc\rightmark}}% + \vskip 4pt\hrule}} + \if@twoside + \def\@evenhead{% + \vbox{% + \hbox to \textwidth{% + {\sc\rightmark}% + \hfil} + \vskip 4pt\hrule}} + \else + \let\@evenhead\@oddhead + \fi + \def\@oddfoot{\hfil\PageFont\thepage} + \if@twoside + \def\@evenfoot{\PageFont\thepage\hfil}% + \else + \let\@evenfoot\@oddfoot + \fi + \let\@mkboth\markboth} \renewcommand*\chapter{% -\if@twoside - \clearpage - \thispagestyle{empty} - \cleardoublepage -\else - \clearpage -\fi -\thispagestyle{plain}% -\global\@topnum\z@ -\@afterindentfalse -\secdef\@chapter\@schapter} + \thesis@blocks@clear + \thispagestyle{plain}% + \global\@topnum\z@ + \@afterindentfalse + \secdef\@chapter\@schapter} \renewcommand*\part{% -\clearpage -\thispagestyle{empty} -\cleardoublepage -\thispagestyle{empty}% -\if@twocolumn% - \onecolumn - \@tempswatrue -\else - \@tempswafalse -\fi -\hbox{}\vfil -\secdef\@part\@spart} + \thesis@blocks@clear + \if@twocolumn + \onecolumn + \@tempswatrue + \else + \@tempswafalse + \fi + \hbox{}\vfil + \secdef\@part\@spart} \newif\if@restonecol \def\alwayssingle{% |