summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/disser/disser.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/disser/disser.cls')
-rw-r--r--Master/texmf-dist/tex/latex/disser/disser.cls40
1 files changed, 20 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls
index c76c0438dd7..4153eecd01a 100644
--- a/Master/texmf-dist/tex/latex/disser/disser.cls
+++ b/Master/texmf-dist/tex/latex/disser/disser.cls
@@ -44,8 +44,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{disser}[2015/07/25 1.3.2 %
- Document class for dissertations]
+\ProvidesClass{disser}[2016/06/26 1.4.0 Document class for dissertations]
\RequirePackage{kvoptions}
@@ -72,6 +71,8 @@
\newif\ifDis@times\Dis@timesfalse
\newif\ifDis@mtpro\Dis@mtprofalse
\newif\ifDis@natbib\Dis@natbibfalse
+\newif\ifDis@colorlinks\Dis@colorlinksfalse
+\newif\ifDis@fixint\Dis@fixintfalse
\DeclareOption{href}{\Dis@hreftrue}
\DeclareOption{subf}{\Dis@subftrue}
\DeclareOption{libcat}{\Dis@libcattrue}
@@ -79,6 +80,8 @@
\DeclareOption{facsimile}{\Dis@facsimiletrue}
\DeclareOption{noams}{\Dis@amsfalse}
\DeclareOption{natbib}{\Dis@natbibtrue}
+\DeclareOption{fixint}{\Dis@fixinttrue}
+\DeclareOption{colorlinks}{\Dis@colorlinkstrue}
\DeclareOption{a4paper}{%
\setlength\paperheight{297mm}
\setlength\paperwidth {210mm}
@@ -191,8 +194,6 @@
prefix=Dis@
}
-\DeclareBoolOption[true]{fixint}
-\DeclareBoolOption[false]{colorlinks}
\DeclareStringOption{substylefile}
\ExecuteOptions{a4paper,14pt,oneside,titlepage,onecolumn,final,openany,candidate}
@@ -349,14 +350,14 @@
\renewcommand\theparagraph{\arabic{paragraph}}
\renewcommand\thesubparagraph{\theparagraph.\arabic{subparagraph}}
-\newcommand\tocthepart{\thepart}
-\newcommand\tocthechapter{\thechapter}
-\newcommand\toctheappendix{\theappendix}
-\newcommand\tocthesection{\thesection}
-\newcommand\tocthesubsection{\thesubsection}
-\newcommand\tocthesubsubsection{\thesubsubsection}
-\newcommand\toctheparagraph{\theparagraph}
-\newcommand\tocthesubparagraph{\thesubparagraph}
+\providecommand\tocthepart{\thepart}
+\providecommand\tocthechapter{\thechapter}
+\providecommand\toctheappendix{\theappendix}
+\providecommand\tocthesection{\thesection}
+\providecommand\tocthesubsection{\thesubsection}
+\providecommand\tocthesubsubsection{\thesubsubsection}
+\providecommand\toctheparagraph{\theparagraph}
+\providecommand\tocthesubparagraph{\thesubparagraph}
\newcommand\default@the{%
\@addtoreset{footnote}{chapter}
@@ -1358,14 +1359,14 @@
\usepackage[subscriptcorrection,nofontinfo,boldalphabet]{mtpro}
}{
\PackageWarning{disser}%
- {Unable to find mtpro package. Font is unchanged.}
+ {Unable to find mtpro2 or mtpro package. Math font is unchanged.}
}
}
}
\else
\AtEndOfPackage{%
- \IfFileExists{txfonts.sty}{
- \usepackage{txfonts}
+ \IfFileExists{newtxmath.sty}{
+ \usepackage[varg,cmbraces,cmintegrals]{newtxmath}
}{
\PackageWarning{disser}%
{Unable to find txfonts package. Font is unchanged.}
@@ -1416,10 +1417,9 @@
\ifDis@natbib
\usepackage[square,comma,sort&compress,numbers]{natbib}
\else
- \newcommand\bibsection{}
- \newcommand\bibpreamble{}
- \newcommand\bibpostamble{}
- \newcommand\bibfont{\normalfont\selectfont}
+ \providecommand*\bibsection{}
+ \providecommand*\bibpreamble{}
+ \providecommand*\bibpostamble{}
\newlength\bibsep
\fi
@@ -1455,7 +1455,7 @@
\renewenvironment{thebibliography}[1]{
\bibsection
\parindent\z@
- \bibpreamble\bibfont
+ \bibpreamble\normalfont\selectfont
\list{\@biblabel{\@arabic\c@enumiv}}{\settowidth\labelwidth{\@biblabel{#1}}%
\setlength{\itemsep}{\bibsep}
\setlength{\parsep}{\bibsep}