summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fithesis/style/mu/fithesis-base.sty
diff options
context:
space:
mode:
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.sty41
1 files changed, 31 insertions, 10 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 33a2bac9fc5..7204eb72455 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}[2016/03/22]
+\ProvidesPackage{fithesis/style/mu/fithesis-base}[2016/04/12]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption{10pt}{\def\thesis@ptsize{0}}
\DeclareOption{11pt}{\def\thesis@ptsize{1}}
@@ -405,7 +405,9 @@
\thesis@pages\ \thesis@@{bib@pages}.
\thesis@@{advisorTitle}: \thesis@advisor
\thesis@blocks@clearRight}
-\setcounter{tocdepth}{3}
+\setcounter{tocdepth}{2}
+
+\setcounter{secnumdepth}{2}
\input\thesis@stylepath mu/fithesis-1\thesis@ptsize.clo\relax
@@ -463,10 +465,27 @@
\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\fi}
\def\endalwayssingle{\if@restonecol\twocolumn\fi}
+\pdfstringdefDisableCommands{%
+ \let\MakeUppercase\relax}
+
+\renewcommand*\toc@font[1]{%
+ \ifcase #1\relax
+ \bfseries % \chapter (0)
+ \or
+ \slshape % \section (1)
+\else
+ \rmfamily % \subsection (2), \subsubsection (3)
+ % \paragraph, \subparagraph (4)
+ \fi}
+
\renewcommand*\l@part[2]{%
\ifnum \c@tocdepth >-2\relax
\addpenalty{-\@highpenalty}%
- \addvspace{0.5em \@plus\p@}%
+ \ifnum \c@tocdepth >0\relax
+ \addvspace{2.25em \@plus\p@}%
+ \else
+ \addvspace{1.0em \@plus\p@}%
+ \fi
\begingroup
\setlength\@tempdima{3em}%
\parindent \z@ \rightskip \@pnumwidth
@@ -477,13 +496,12 @@
\global\@nobreaktrue
\everypar{\global\@nobreakfalse\everypar{}}%
\endgroup
- \addvspace{0.2em \@plus\p@}%
\fi}
\renewcommand*\l@chapter[2]{%
- \ifnum \c@tocdepth >\m@ne
+ \ifnum \c@tocdepth >0\relax
\addpenalty{-\@highpenalty}%
- \vskip 1.0em \@plus\p@
+ \addvspace{1.0em \@plus\p@}%
\setlength\@tempdima{1.5em}%
\begingroup
\parindent \z@ \rightskip \@pnumwidth
@@ -494,12 +512,15 @@
#1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
\penalty\@highpenalty
\endgroup
+ \else
+ \@dottedtocline{0}{0em}{1.5em}{#1}{#2}
\fi}
-\renewcommand*\l@chapter{\@dottedtocline{1}{0em}{1.5em}}
-\renewcommand*\l@section{\@dottedtocline{2}{1.5em}{2.3em}}
-\renewcommand*\l@subsection{\@dottedtocline{3}{3.8em}{3.2em}}
-\renewcommand*\l@subsubsection{\@dottedtocline{4}{7.0em}{3.8em}}
+\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
+\renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
+\renewcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
+\renewcommand*\l@paragraph{\@dottedtocline{4}{10.0em}{5.0em}}
+\renewcommand*\l@subparagraph{\@dottedtocline{4}{12.0em}{6.0em}}
\endinput
%%
%% End of file `fithesis-base.sty'.