summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/disser/disser.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-21 23:53:45 +0000
committerKarl Berry <karl@freefriends.org>2010-11-21 23:53:45 +0000
commit1a9e525f4cfeebc43345769293278fc86d237e0b (patch)
tree21467486865d88e8c2516ca68e54347ccbbf22d6 /Master/texmf-dist/tex/latex/disser/disser.cls
parent67db10d00fe1667acb186aa61d485eecd5a8d828 (diff)
disser 1.1.7 (22nov10)
git-svn-id: svn://tug.org/texlive/trunk@20522 c570f23f-e606-0410-a88d-b1316a301751
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, 31 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls
index 120972cdcf5..0f11530d226 100644
--- a/Master/texmf-dist/tex/latex/disser/disser.cls
+++ b/Master/texmf-dist/tex/latex/disser/disser.cls
@@ -44,16 +44,20 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{disser}[2010/05/22 1.1.6 Document class for dissertations]
+\ProvidesClass{disser}[2010/06/13 1.1.7 Document class for dissertations]
\RequirePackage{kvoptions}
\RequirePackage{ifpdf}
+\RequirePackage{ifthen}
+
+\newif\if@titlepage@en\@titlepage@enfalse
\newif\if@restonecol
\newif\if@titlepage\@titlepagetrue
\newif\if@openright\@openrightfalse
\newif\ifDis@bachelor\Dis@bachelorfalse
+\newif\ifDis@specialist\Dis@specialistfalse
\newif\ifDis@master\Dis@masterfalse
\newif\ifDis@candidate\Dis@candidatetrue
\newif\ifDis@doctor\Dis@doctorfalse
@@ -136,6 +140,15 @@
\DeclareOption{bachelor}{%
\Dis@bachelortrue
+ \Dis@specialistfalse
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreffalse
+}
+\DeclareOption{specialist}{%
+ \Dis@bachelorfalse
+ \Dis@specialisttrue
\Dis@masterfalse
\Dis@candidatefalse
\Dis@doctorfalse
@@ -143,6 +156,7 @@
}
\DeclareOption{master}{%
\Dis@bachelorfalse
+ \Dis@specialistfalse
\Dis@mastertrue
\Dis@candidatefalse
\Dis@doctorfalse
@@ -184,11 +198,12 @@
\ProcessOptions
\ifx\Dis@substylefile\@empty
- \ifDis@bachelor \renewcommand*{\Dis@substylefile}{bachelor.rtx}\fi
- \ifDis@master \renewcommand*{\Dis@substylefile}{master.rtx}\fi
- \ifDis@candidate\renewcommand*{\Dis@substylefile}{candidate.rtx}\fi
- \ifDis@doctor \renewcommand*{\Dis@substylefile}{doctor.rtx}\fi
- \ifDis@autoref \renewcommand*{\Dis@substylefile}{autoref.rtx}\fi
+ \ifDis@bachelor \renewcommand*{\Dis@substylefile}{bachelor.rtx}\fi
+ \ifDis@specialist \renewcommand*{\Dis@substylefile}{specialist.rtx}\fi
+ \ifDis@master \renewcommand*{\Dis@substylefile}{master.rtx}\fi
+ \ifDis@candidate \renewcommand*{\Dis@substylefile}{candidate.rtx}\fi
+ \ifDis@doctor \renewcommand*{\Dis@substylefile}{doctor.rtx}\fi
+ \ifDis@autoref \renewcommand*{\Dis@substylefile}{autoref.rtx}\fi
\fi
\AtEndOfClass{\input{\Dis@substylefile}}
@@ -249,11 +264,13 @@
}{}
\DeclareFontShape{OT1}{cmr}{bx}{sl}{%
<5><6><7><8><9>%
- <10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmbxsl10%
+ <10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83><42.99>%
+ <51.59>cmbxsl10%
}{}
\DeclareFontShape{OT1}{cmr}{bx}{it}{%
<5><6><7><8><9>%
- <10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83><42.99><51.59>cmbxti10%
+ <10><10.95><12><14.4><17.28><20.74><24.88><29.86><35.83><42.99>%
+ <51.59>cmbxti10%
}{}
\input{size\@ptsize.clo}
\RequirePackage{exscale}
@@ -269,6 +286,9 @@
\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
\providecommand\deflength[2]{\newlength{#1}\setlength{#1}{#2}}
+\providecommand\ifundeflength[2]{%
+\ifx#1\undefined \newlength{#1}\setlength{#1}{#2} \else \relax \fi
+}
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
@@ -1405,7 +1425,9 @@
\let\shortcite\cite
\let\citeasnoun\cite
}{%
- \def\@noitemerr{\PackageWarning{natbib}{Empty `thebibliography' environment}}
+ \def\@noitemerr{%
+ \PackageWarning{natbib}{Empty `thebibliography' environment}%
+ }
\endlist\vskip-\lastskip%
}