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.sty24
1 files changed, 20 insertions, 4 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 edafe421ecc..8fcf5a164c9 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/08/26]
+\ProvidesPackage{fithesis/style/mu/fithesis-base}[2015/11/17]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption{10pt}{\def\thesis@ptsize{0}}
\DeclareOption{11pt}{\def\thesis@ptsize{1}}
@@ -66,6 +66,9 @@
\newif\ifthesis@color@
\DeclareOption{monochrome}{\thesis@color@false}
\DeclareOption{color}{\thesis@color@true}
+\newif\ifthesis@microtype@
+\DeclareOption{microtype}{\thesis@microtype@true}
+\DeclareOption{nomicrotype}{\thesis@microtype@false}
\newif\ifthesis@palatino@
\DeclareOption{palatino}{\thesis@palatino@true}
\DeclareOption{nopalatino}{\thesis@palatino@false}
@@ -79,15 +82,19 @@
\newif\ifthesis@cover@
\DeclareOption{nocover}{\thesis@cover@false}
\DeclareOption{cover}{\thesis@cover@true}
-\ExecuteOptions{12pt,twoside,final,monochrome,palatino,
- oldtable,lot,lof,nocover}
+\ExecuteOptions{12pt,twoside,final,monochrome,microtype,%
+ palatino,oldtable,lot,lof,nocover}
\ProcessOptions
+\thesis@requireLocale{english}
\thesis@require{xcolor}
\thesis@require{graphicx}
\thesis@require{pdfpages}
\thesis@require{keyval}
\thesis@require{ifxetex}
\thesis@require{ifluatex}
+\ifthesis@microtype@
+ \thesis@require{microtype}
+\fi
{\let\x\expandafter
\x\global\x\let\x\ifthesis@xeluatex\csname if%
\ifxetex true\else
@@ -116,6 +123,7 @@
\let\endthesis@newtable@old\endtabular
\ifthesis@newtable@\ifthesis@color@
\thesis@require{tabularx}
+ \thesis@require{tabu}
\thesis@require{booktabs}
% The redefinition of `tabular`
\renewenvironment{tabular}%
@@ -131,6 +139,14 @@
{thesis@color@tableEven}%
\thesis@newtable@oldx}%
{\endthesis@newtable@oldx}
+ % The redefinition of `tabu`
+ \let\thesis@newtable@oldtabu\tabu
+ \let\endthesis@newtable@oldtabu\endtabu
+ \renewenvironment{tabu}%
+ {\rowcolors{1}{thesis@color@tableOdd}%
+ {thesis@color@tableEven}%
+ \thesis@newtable@oldtabu}%
+ {\endthesis@newtable@oldtabu}
% Adjust the measurements
\setlength{\aboverulesep}{0pt}
\setlength{\belowrulesep}{0pt}
@@ -370,7 +386,7 @@
\pagenumbering{arabic}
\pagestyle{thesisheadings}
\parindent 1.5em\relax}
-\setcounter{tocdepth}{4}
+\setcounter{tocdepth}{3}
\input\thesis@stylepath mu/fithesis-1\thesis@ptsize.clo\relax