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.sty71
1 files changed, 39 insertions, 32 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 64e22dbb4ab..98cde9e2b5c 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/11/17]
+\ProvidesPackage{fithesis/style/mu/fithesis-base}[2015/12/09]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption{10pt}{\def\thesis@ptsize{0}}
\DeclareOption{11pt}{\def\thesis@ptsize{1}}
@@ -63,15 +63,15 @@
\DeclareOption{twocolumn}{\@twocolumntrue}
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\newif\ifthesis@palatino@
+\DeclareOption{palatino}{\thesis@palatino@true}
+\DeclareOption{nopalatino}{\thesis@palatino@false}
\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}
\newif\ifthesis@newtable@
\DeclareOption{table}{\thesis@newtable@true}
\DeclareOption{oldtable}{\thesis@newtable@false}
@@ -82,9 +82,11 @@
\newif\ifthesis@cover@
\DeclareOption{nocover}{\thesis@cover@false}
\DeclareOption{cover}{\thesis@cover@true}
-\ExecuteOptions{12pt,twoside,final,monochrome,microtype,%
- palatino,oldtable,lot,lof,nocover}
-\ProcessOptions
+\DeclareOption{digital}{\ExecuteOptions{color,cover}}
+\DeclareOption{printed}{\ExecuteOptions{monochrome,nocover}}
+\ExecuteOptions{%
+ printed,12pt,twoside,final,microtype,palatino,oldtable,lot,lof}
+\ProcessOptions*
\thesis@requireLocale{english}
\thesis@require{xcolor}
\thesis@require{graphicx}
@@ -121,37 +123,40 @@
\fi
\let\thesis@newtable@old\tabular
\let\endthesis@newtable@old\endtabular
-\ifthesis@newtable@\ifthesis@color@
+\ifthesis@newtable@
+ % Load the packages.
\thesis@require{tabularx}
\thesis@require{tabu}
\thesis@require{booktabs}
- % The redefinition of `tabular`
- \renewenvironment{tabular}%
- {\rowcolors{1}{thesis@color@tableOdd}%
- {thesis@color@tableEven}%
- \thesis@newtable@old}%
- {\endthesis@newtable@old}
- % The redefinition of `tabularx`
- \let\thesis@newtable@oldx\tabularx
- \let\endthesis@newtable@oldx\endtabularx
- \renewenvironment{tabularx}%
- {\rowcolors{1}{thesis@color@tableOdd}%
- {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
+ % Adjust the measurements.
\setlength{\aboverulesep}{0pt}
\setlength{\belowrulesep}{0pt}
\setlength{\extrarowheight}{.75ex}
-\fi\fi
+ \ifthesis@color@
+ % The redefinition of `tabular`
+ \renewenvironment{tabular}%
+ {\rowcolors{1}{thesis@color@tableOdd}%
+ {thesis@color@tableEven}%
+ \thesis@newtable@old}%
+ {\endthesis@newtable@old}
+ % The redefinition of `tabularx`
+ \let\thesis@newtable@oldx\tabularx
+ \let\endthesis@newtable@oldx\endtabularx
+ \renewenvironment{tabularx}%
+ {\rowcolors{1}{thesis@color@tableOdd}%
+ {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}
+ \fi
+\fi
\thesis@require{hyperref}
\hypersetup{
pdfborderstyle={/S/U/W 1}, % Less obtrusive borders
@@ -169,6 +174,8 @@
\definecolor{thesis@color@tableEven}#1}
\define@key{thesis@color}{tableEmph}{%
\definecolor{thesis@color@tableEmph}#1}
+\def\thesis@blocks@coverMatter{%
+ \pagenumbering{gobble}}
\def\thesis@blocks@frontMatter{%
\thesis@blocks@clear
\pagestyle{plain}