summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/disser/disser.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-12-02 14:58:50 +0000
committerKarl Berry <karl@freefriends.org>2007-12-02 14:58:50 +0000
commita06badd5ddd56caafe23bc9b1c80a2cb4cd5eec7 (patch)
treed2f4be3792761c70377ac41c078ccd50b1c8be73 /Master/texmf-dist/tex/latex/disser/disser.cls
parentc5ef0710987f248dea9df928126632d5820a6426 (diff)
disser update (30nov07)
git-svn-id: svn://tug.org/texlive/trunk@5676 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.cls441
1 files changed, 256 insertions, 185 deletions
diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls
index 13d25579cf1..91b87298aa1 100644
--- a/Master/texmf-dist/tex/latex/disser/disser.cls
+++ b/Master/texmf-dist/tex/latex/disser/disser.cls
@@ -44,33 +44,45 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{disser}[2007/06/15 Document class for dissertations.]
-\ProvidesPackage{disser}
-
+\ProvidesClass{disser}[2007/11/29 Document class for dissertations.]
\def\substyle@ext{.rtx}
\newif\if@restonecol
-\newif\if@titlepage\@titlepagetrue
-\newif\if@bachelor\@bachelorfalse
-\newif\if@master\@masterfalse
-\newif\if@candidate\@candidatefalse
-\newif\if@doctor\@doctorfalse
-\newif\if@autoref\@autoreffalse
+\newif\if@titlepage
\newif\if@openright
-\newif\ifhref\hreffalse
-\newif\ifpdf
- \ifx\pdfoutput\undefined
- \else
- \ifx\pdfoutput\relax
- \else
- \ifcase\pdfoutput
- \else
- \pdftrue
- \fi
- \fi
- \fi
+\RequirePackage{ifpdf}
+
+\newif\ifDis@bachelor
+\newif\ifDis@master
+\newif\ifDis@candidate
+\newif\ifDis@doctor
+\newif\ifDis@autoref
+
+\newif\ifDis@href
+\newif\ifDis@subf
+\newif\ifDis@times
+
+\@titlepagetrue
+\Dis@bachelorfalse
+\Dis@masterfalse
+\Dis@candidatetrue
+\Dis@doctorfalse
+\Dis@autoreffalse
+\Dis@timesfalse
+\Dis@subffalse
+\Dis@hreffalse
+
+\RequirePackage{kvoptions}[2006/08/17]
-\newif\ifsubf\subffalse
+\DeclareOption{href}{\Dis@hreftrue}
+
+\DeclareOption{subf}{\Dis@subftrue}
+
+\SetupKeyvalOptions{
+ family=Dis,
+ prefix=Dis@
+}
+\DeclareBoolOption[true]{fixint}
\DeclareOption{a4paper}{%
@@ -119,13 +131,7 @@
\DeclareOption{leqno}{\input{leqno.clo}}
\DeclareOption{fleqn}{\input{fleqn.clo}}
-\DeclareOption{times}{
- \AtEndOfPackage{%
- \usepackage{pscyr}
- \usepackage{txfonts}
- \renewcommand{\rmdefault}{ftm}
- }
-}
+\DeclareOption{times}{\Dis@timestrue}
\DeclareOption{openbib}{%
\AtEndOfPackage{%
\renewcommand\@openbib@code{%
@@ -137,25 +143,43 @@
\renewcommand\newblock{\par}
}%
}
-\DeclareOption{href}{\hreftrue}
-
-\DeclareOption{subf}{\subftrue}
\DeclareOption{bachelor}{%
- \@bachelortrue\@masterfalse\@candidatefalse\@doctorfalse\@autoreffalse
+ \Dis@bachelortrue
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreffalse
}
\DeclareOption{master}{%
- \@bachelorfalse\@mastertrue\@candidatefalse\@doctorfalse\@autoreffalse
+ \Dis@bachelorfalse
+ \Dis@mastertrue
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreffalse
}
\DeclareOption{candidate}{%
- \@bachelorfalse\@masterfalse\@candidatetrue\@doctorfalse\@autoreffalse
+ \Dis@bachelorfalse
+ \Dis@masterfalse
+ \Dis@candidatetrue
+ \Dis@doctorfalse
+ \Dis@autoreffalse
}
\DeclareOption{doctor}{%
- \@bachelorfalse\@masterfalse\@candidatefalse\@doctortrue\@autoreffalse
+ \Dis@bachelorfalse
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctortrue
+ \Dis@autoreffalse
}
\DeclareOption{autoref}{%
- \@bachelorfalse\@masterfalse\@candidatefalse\@doctorfalse\@autoreftrue
+ \Dis@bachelorfalse
+ \Dis@masterfalse
+ \Dis@candidatefalse
+ \Dis@doctorfalse
+ \Dis@autoreftrue
}
+
\DeclareRobustCommand\MakeTextUppercase{%
\@uclcnotmath{\def\i{I}\def\j{J}}{##1##2}\uppercase}
@@ -168,6 +192,8 @@
\ExecuteOptions{a4paper,14pt,oneside,titlepage,onecolumn,final,openany}
\ProcessOptions
+\ProcessKeyvalOptions{Dis}
+
\def\EC@family#1#2#3#4#5{%
\DeclareFontShape{#1}{#2}{#3}{#4}%
{<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74>%
@@ -238,23 +264,18 @@
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
-\newcommand\singlespacing {\renewcommand\baselinestretch{1}}
-\newcommand\onehalfspacing{\renewcommand\baselinestretch{1.5}}
-\newcommand\doublespacing {\renewcommand\baselinestretch{2}}
-\onehalfspacing\normalsize
+\newcommand\singlespacing {\renewcommand\baselinestretch{1}\normalsize}
+\newcommand\onehalfspacing{\renewcommand\baselinestretch{1.5}\normalsize}
+\newcommand\doublespacing {\renewcommand\baselinestretch{2}\normalsize}
+\onehalfspacing
\setlength\parskip{0\p@ \@plus \p@}
-\setcounter{topnumber}{2}
-\setcounter{bottomnumber}{1}
-\setcounter{totalnumber}{3}
-\setcounter{dbltopnumber}{2}
-\renewcommand\topfraction{.7}
-\renewcommand\bottomfraction{.3}
-\renewcommand\textfraction{.2}
-\renewcommand\floatpagefraction{.5}
-\renewcommand\dbltopfraction{.7}
-\renewcommand\dblfloatpagefraction{.5}
+
\setcounter{tocdepth}{1}
\setcounter{secnumdepth}{2}
+
+\setlength\columnsep{10\p@}
+\setlength\columnseprule{0\p@}
+
\def\@seccntformat#1{%
\csname prethe#1\endcsname%
\csname the#1\endcsname%
@@ -270,6 +291,8 @@
\@medpenalty 151
\@highpenalty 301
+%%% From File: counters.dtx
+
\newcounter{part}
\newcounter{chapter}
\newcounter{section}[chapter]
@@ -318,11 +341,13 @@
\newcommand\doctor@the \candidate@the
\newcommand\autoref@the \candidate@the
-\if@bachelor \bachelor@the \fi
-\if@master \master@the \fi
-\if@candidate \candidate@the \fi
-\if@doctor \doctor@the \fi
-\if@autoref \autoref@the \fi
+\ifDis@bachelor \bachelor@the \fi
+\ifDis@master \master@the \fi
+\ifDis@candidate\candidate@the \fi
+\ifDis@doctor \doctor@the \fi
+\ifDis@autoref \autoref@the \fi
+
+%%% From File: part.dtx
\providecommand\tocprethepart{\partname~}
\providecommand\tocpostthepart{.\@postskip}
@@ -341,7 +366,8 @@
\providecommand\prepart{}
\providecommand\postpart{\par}
-\def\partpagestyle#1{\gdef\@partpagestyle{#1}}\partpagestyle{empty}
+\def\partpagestyle#1{\gdef\@partpagestyle{#1}}
+\partpagestyle{empty}
\newcommand\part{
\if@openright
\cleardoublepage
@@ -391,6 +417,7 @@
\fi
\if@tempswa\twocolumn\fi
}
+
\newcommand*\l@part[2]
{%
\ifnum \c@tocdepth >-2\relax
@@ -411,7 +438,8 @@
}
-\newcommand*\chaptermark[1]{}
+%%% From File: chapter.dtx
+
\providecommand\tocprethechapter{\protect\chaptername~}
\providecommand\tocpostthechapter{.\@postskip}
\providecommand\tocchapterfill{\tocfill{.}}
@@ -432,24 +460,7 @@
\def\chapterpagestyle#1{\gdef\@chapterpagestyle{#1}}\chapterpagestyle{plain}
-\providecommand\tocpretheappendix{\protect\appendixname~}
-\providecommand\tocposttheappendix{.\@postskip}
-\providecommand\tocappendixfill{\tocfill{.}}
-
-\providecommand\tocappendixfont{\bfseries}
-\providecommand\tocappendixfillfont{\normalfont}
-\providecommand\tocappendixnumfont{\normalfont}
-
-\providecommand\theappendixalign{\centering}
-\providecommand\theappendixfont{\Large}
-\providecommand\pretheappendix{\protect\appendixname~}
-\providecommand\posttheappendix{\par\nobreak\vskip 5\p@}
-
-\providecommand\appendixalign{\centering}
-\providecommand\appendixfont{\Large\bfseries}
-\providecommand\preappendix{}
-\providecommand\postappendix{\par\nobreak\vskip 20\p@}
-
+\newcommand*\chaptermark[1]{}
\newcommand\chapter{%
\if@openright
\cleardoublepage
@@ -526,6 +537,23 @@
\fi
}
+\providecommand\tocpretheappendix{\protect\appendixname~}
+\providecommand\tocposttheappendix{.\@postskip}
+\providecommand\tocappendixfill{\tocfill{.}}
+
+\providecommand\tocappendixfont{\bfseries}
+\providecommand\tocappendixfillfont{\normalfont}
+\providecommand\tocappendixnumfont{\normalfont}
+
+\providecommand\theappendixalign{\centering}
+\providecommand\theappendixfont{\Large}
+\providecommand\pretheappendix{\protect\appendixname~}
+\providecommand\posttheappendix{\par\nobreak\vskip 5\p@}
+
+\providecommand\appendixalign{\centering}
+\providecommand\appendixfont{\Large\bfseries}
+\providecommand\preappendix{}
+\providecommand\postappendix{\par\nobreak\vskip 20\p@}
\newcommand\appendix{
\setcounter{chapter}{0}
\setcounter{section}{0}
@@ -592,30 +620,8 @@
\gdef\thechapter{\oldthechapter}
}
-\newcommand\nchapter[1]{%
- \chapter*{%
- \phantomchapter\addcontentsline{toc}{chapter}{#1}%
- #1%
- \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}
- }
-}
-
-\def\newcontentsname{\cyr\CYRS\cyro\cyrd\cyre\cyrr\cyrzh\cyra\cyrn\cyri\cyre}
-\def\introname{{\cyr\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}}
-\newcommand\intro{\nchapter{\introname}}
-\def\conclusionname{%
-{\cyr\CYRZ\cyra\cyrk\cyrl\cyryu\cyrch\cyre\cyrn\cyri\cyre}
-}
-\newcommand\conclusion{\nchapter{\conclusionname}}
-\def\defsname{%
-{\cyr\CYRI\cyrs\cyrp\cyro\cyrl\cyrsftsn\cyrz\cyru\cyre\cyrm\cyrery\cyre\ %
-\cyro\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri\cyrya}
-}
-\newcommand\defs{\nchapter{\defsname}}
-\def\reviewname{\cyr\CYRO\cyrb\cyrz\cyro\cyrr\ %
-\cyrl\cyri\cyrt\cyre\cyrr\cyra\cyrt\cyru\cyrr\cyrery}
-\newcommand\review{\nchapter{\reviewname}}
+%%% From File: sections.dtx
\providecommand\tocprethesection{}
\providecommand\tocpostthesection{.\@postskip}
@@ -633,8 +639,8 @@
\providecommand\postthesection{.~}
\providecommand\sectionindent{\z@}
-\providecommand\presection{-3.5ex \@plus -1ex \@minus -.2ex}
-\providecommand\postsection{2.3ex \@plus.2ex}
+\providecommand\beforesection{-3.5ex \@plus -1ex \@minus -.2ex}
+\providecommand\aftersection{2.3ex \@plus.2ex}
\providecommand\sectionalign{\raggedright}
\providecommand\tocprethesubsection{}
@@ -654,8 +660,8 @@
\providecommand\postthesubsection{.~}
\providecommand\subsectionindent{\z@}
-\providecommand\presubsection{-3.25ex\@plus -1ex \@minus -.2ex}
-\providecommand\postsubsection{1.5ex \@plus .2ex}
+\providecommand\beforesubsection{-3.25ex\@plus -1ex \@minus -.2ex}
+\providecommand\aftersubsection{1.5ex \@plus .2ex}
\providecommand\subsectionalign{\raggedright}
\providecommand\tocprethesubsubsection{}
@@ -675,8 +681,8 @@
\providecommand\postthesubsubsection{.~}
\providecommand\subsubsectionindent{\z@}
-\providecommand\presubsubsection{-3.25ex\@plus -1ex \@minus -.2ex}
-\providecommand\postsubsubsection{1.5ex \@plus .2ex}
+\providecommand\beforesubsubsection{-3.25ex\@plus -1ex \@minus -.2ex}
+\providecommand\aftersubsubsection{1.5ex \@plus .2ex}
\providecommand\subsubsectionalign{\raggedright}
\providecommand\tocpretheparagraph{}
@@ -696,8 +702,8 @@
\providecommand\posttheparagraph{.~}
\providecommand\paragraphindent{\z@}
-\providecommand\preparagraph{3.25ex \@plus1ex \@minus.2ex}
-\providecommand\postparagraph{-1em}
+\providecommand\beforeparagraph{3.25ex \@plus1ex \@minus.2ex}
+\providecommand\afterparagraph{-1em}
\providecommand\paragraphalign{\raggedright}
\providecommand\tocprethesubparagraph{}
@@ -717,8 +723,8 @@
\providecommand\postthesubparagraph{.~}
\providecommand\subparagraphindent{\parindent}
-\providecommand\presubparagraph{3.25ex \@plus1ex \@minus .2ex}
-\providecommand\postsubparagraph{-1em}
+\providecommand\beforesubparagraph{3.25ex \@plus1ex \@minus .2ex}
+\providecommand\aftersubparagraph{-1em}
\providecommand\subparagraphalign{\raggedright}
\def\@sect#1#2#3#4#5#6[#7]#8{%
@@ -754,7 +760,6 @@
\fi
\@xsect{#5}
}
-
\def\@tocline#1#2#3#4#5#6{%
\ifnum #2>\c@tocdepth \else
\vskip \z@ \@plus.2\p@
@@ -773,37 +778,27 @@
\fi
}
-\newcommand*\l@section {\@tocline{section} {1}
- {\tocsectionindent}{\tocsectionnameindent}}
-\newcommand*\l@subsection {\@tocline{subsection} {2}
- {\tocsubsectionindent}{\tocsubsectionnameindent}}
-\newcommand*\l@subsubsection{\@tocline{subsubsection}{3}
- {\tocsubsubsectionindent}{\tocsubsubsectionnameindent}}
-\newcommand*\l@paragraph {\@tocline{paragraph} {4}
- {\tocparagraphindent}{\tocparagraphnameindent}}
-\newcommand*\l@subparagraph {\@tocline{subparagraph} {5}
- {\tocsubparagraphindent}{\tocsubparagraphnameindent}}
-
-\newcommand\section{%
- \@startsection{section}{1}{\sectionindent}%
- {\presection}{\postsection}{\sectionfont\sectionalign}}
-\newcommand\subsection{%
- \@startsection{subsection}{2}{\subsectionindent}%
- {\presubsection}{\postsubsection}{\subsectionfont\subsectionalign}}
-\newcommand\subsubsection{%
- \@startsection{subsubsection}{3}{\subsubsectionindent}%
- {\presubsubsection}{\postsubsubsection}{\subsubsectionfont\subsubsectionalign}}
-\newcommand\paragraph{%
- \@startsection{paragraph}{4}{\paragraphindent}%
- {\preparagraph}{\postparagraph}{\paragraphfont\paragraphalign}}
-\newcommand\subparagraph{%
- \@startsection{subparagraph}{5}{\parindent}%
- {\presubparagraph}{\postsubparagraph}{\subparagraphfont\subparagraphalign}}
-
-\newcommand\nsection[1]{%
- \section*{\phantomsection\addcontentsline{toc}{section}{#1}#1}
+\newcommand\defsection[2]{%
+ \@namedef{l@#1}{%
+ \@tocline{#1}{#2}{\csname toc#1indent\endcsname}
+ {\csname toc#1nameindent\endcsname}
+ }
+ \@namedef{#1}{%
+ \@startsection{#1}{#2}{\csname #1indent\endcsname}
+ {\csname before#1\endcsname}{\csname after#1\endcsname}
+ {\csname #1font\endcsname\csname #1align\endcsname}
+ }
}
+\defsection{section}{1}
+\defsection{subsection}{2}
+\defsection{subsubsection}{3}
+\defsection{paragraph}{4}
+\defsection{subparagraph}{5}
+
+
+%%% From File: lists.dtx
+
\if@twocolumn
\setlength\leftmargini {2em}
\else
@@ -843,6 +838,18 @@
\newcommand\labelitemiii{\textasteriskcentered}
\newcommand\labelitemiv {\textperiodcentered}
+%%% From File: floats.dtx
+
+\setcounter{topnumber}{2}
+\setcounter{bottomnumber}{1}
+\setcounter{totalnumber}{3}
+\setcounter{dbltopnumber}{2}
+\renewcommand\topfraction{.7}
+\renewcommand\bottomfraction{.3}
+\renewcommand\textfraction{.2}
+\renewcommand\floatpagefraction{.5}
+\renewcommand\dbltopfraction{.7}
+\renewcommand\dblfloatpagefraction{.5}
\newlength\abovecaptionskip
\setlength\abovecaptionskip{10\p@}
\newlength\belowcaptionskip
@@ -879,14 +886,15 @@
\skip\@mpfootins = \skip\footins
\setlength\fboxsep{3\p@}
\setlength\fboxrule{.4\p@}
-\newenvironment{table}{\@float{table}}{\end@float}
-\newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\tablename~\thetable}
+
+%%% From File: footnote.dtx
+
\renewcommand\footnoterule{%
\kern-3\p@\hrule\@width.4\columnwidth\kern2.6\p@
}
@@ -896,6 +904,8 @@
\hb@xt@1.8em{\hss\@makefnmark}#1
}
+%%% From File: env.dtx
+
\newenvironment{description}
{\list{}{\labelwidth\z@ \itemindent-\leftmargin
\let\makelabel\descriptionlabel}}
@@ -951,7 +961,32 @@
}
\newenvironment{figure}{\@float{figure}}{\end@float}
\newenvironment{figure*}{\@dblfloat{figure}}{\end@dblfloat}
+\newenvironment{table}{\@float{table}}{\end@float}
+\newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
+\providecommand\theoremstyle{\itshape}
+\providecommand\thetheoremstyle{\bfseries}
+\providecommand\opargtheoremstyle{\rm}
+\providecommand\preopargtheorem{(}
+\providecommand\postopargtheorem{)}
+\providecommand\postthetheorem{.}
+
+\def\@begintheorem#1#2{\trivlist
+ \item[\hskip \labelsep{\thetheoremstyle #1\ %
+ #2\unskip\postthetheorem}]\theoremstyle}
+\def\@opargbegintheorem#1#2#3{\trivlist
+ \item[\hskip \labelsep{\thetheoremstyle #1\ #2\ %
+ {\opargtheoremstyle\preopargtheorem #3\postopargtheorem}}]\theoremstyle}
+\def\@endtheorem{\endtrivlist}
+
+%%% From File: page.dtx
+
+\newcommand\evenheadfont{\slshape}
+\newcommand\evenfootfont{}
+\newcommand\oddheadfont{\slshape}
+\newcommand\oddfootfont{}
+\providecommand\chaptermarkfont{\slshape}
+\providecommand\sectionmarkfont{\MakeUppercase}
\if@twoside
\def\ps@headings{%
\let\@evenfoot\@empty
@@ -974,7 +1009,7 @@
##1}%
}%
}%
- }%
+ } % \def\ps@headings
\else % \if@twoside
\def\ps@headings{%
\let\@oddfoot\@empty
@@ -1009,19 +1044,11 @@
\let\chaptermark\@gobble
\let\sectionmark\@gobble
}
-\setlength\columnsep{10\p@}
-\setlength\columnseprule{0\p@}
\pagestyle{plain}
\pagenumbering{arabic}
\if@twoside\else\raggedbottom\fi
\if@twocolumn\twocolumn\sloppy\flushbottom
\else\onecolumn\fi
-\newcommand\evenheadfont{\slshape}
-\newcommand\evenfootfont{}
-\newcommand\oddheadfont{\slshape}
-\newcommand\oddfootfont{}
-\newcommand\chaptermarkfont{\slshape}
-\newcommand\sectionmarkfont{\MakeUppercase}
\newcommand\today{}
@@ -1031,33 +1058,29 @@
\newcommand\topiclabelfont{\large}
\newcommand\topicfont{\large\bfseries}
\newcommand\instfont{\normalfont}
+ \newcommand\cdsep{~-- }
\input{titledefs\substyle@ext}
\newcommand\maketitle{
- \begin{titlepage}
- \setcounter{page}{-1}
\thispagestyle{empty}
- \vspace*{-1cm}
- \centering\instfont\@institution\par
+ \vspace*{-2cm}
+ \begin{center}
+ \instfont\@institution\par
\makeatletter
- \if@bachelor \input{bachelor\substyle@ext}\fi
- \if@master \input{master\substyle@ext}\fi
- \if@candidate\input{candidate\substyle@ext}\fi
- \if@doctor \input{doctor\substyle@ext}\fi
- \if@autoref \input{autoref\substyle@ext}\fi
+ \ifDis@bachelor \input{bachelor\substyle@ext}\fi
+ \ifDis@master \input{master\substyle@ext}\fi
+ \ifDis@candidate\input{candidate\substyle@ext}\fi
+ \ifDis@doctor \input{doctor\substyle@ext}\fi
+ \ifDis@autoref \input{autoref\substyle@ext}\fi
\enlargethispage{2cm}
\vfill
- \begin{center}
- {\@city\\\@date}
+ {\@city\cdsep\@date}
\end{center}
- {\null\endtitlepage}
- \end{titlepage}
\normalsize
+ \clearpage
+ \thispagestyle{empty}
} % \newcommand\maketitle
\setcounter{footnote}{0}
- \clearpage
- \thispagestyle{empty}
- \footskip=1cm
\else %\if@titlepage
\newcommand\maketitle{%
\par
@@ -1099,6 +1122,7 @@
\null
\vskip 2em%
\begin{center}%
+ \let\footnotesize\small
\let\footnote\thanks
{\titlefont\@title\par}%
\vskip 1.5em%
@@ -1113,6 +1137,8 @@
}
\fi % \if@titlepage
+%%% From File: toc.dtx
+
\def\@postskip{\hskip1em}
\newcommand\@pnumwidth{1.55em}
\newcommand\@tocrmarg{2.55em}
@@ -1127,7 +1153,6 @@
\let\@openbib@code\@empty
\newcommand\tableofcontents{%
- \renewcommand\contentsname\newcontentsname
\if@twocolumn
\@restonecoltrue\onecolumn
\else
@@ -1136,7 +1161,6 @@
\chapter*{\contentsname%
\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}
}%
- \thispagestyle{empty}
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
\clearpage
@@ -1185,22 +1209,72 @@
\newcommand\subitem{\@idxitem \hspace*{20\p@}}
\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
+%%% From File: custom.dtx
+
\let\@afterindentfalse\@afterindenttrue
\@afterindenttrue
\usepackage[intlimits]{amsmath}
\usepackage{amssymb,amsfonts}
-\DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n}
-\DeclareMathSymbol\intop\mathop{EulerExtension}{"52}
-\DeclareMathSymbol\ointop\mathop{EulerExtension}{"48}
+\ifDis@times
+ \AtEndOfPackage{%
+ \usepackage{pscyr}
+ \usepackage{txfonts}
+ \renewcommand{\rmdefault}{ftm}
+ }
+\fi
+\ifDis@fixint
+ \DeclareSymbolFont{EulerExtension}{U}{euex}{m}{n}
+ \DeclareMathSymbol\intop\mathop{EulerExtension}{"52}
+ \DeclareMathSymbol\ointop\mathop{EulerExtension}{"48}
+ \AtBeginDocument{%
+ \def\intkern@{\mkern -6mu }%
+ \def\ints@#1{\mkern -3mu
+ \mathop{\mkern 3mu
+ \intop
+ \ifnum #1=\z@ \intdots@ \else
+ \intkern@
+ \ifnum #1>\tw@ \intop\intkern@
+ \ifnum #1>\thr@@ \intop\intkern@ \fi
+ \fi
+ \fi
+ \intop
+ }\ilimits@
+ }%
+ \renewcommand{\iint}{\DOTSI\protect\MultiIntegral{2}}
+ \renewcommand{\iiint}{\DOTSI\protect\MultiIntegral{3}}
+ \renewcommand{\iiiint}{\DOTSI\protect\MultiIntegral{4}}
+ \renewcommand{\idotsint}{\DOTSI\protect\MultiIntegral{0}}
+ }{}
+\fi
\usepackage[square, comma, sort&compress]{natbib}
-\def\phantomchapter{%
- \ifhref
+\def\metaphantom#1{%
+ \ifDis@href
\Hy@GlobalStepCount\Hy@linkcounter
- \xdef\@currentHref{chapter*.\the\Hy@linkcounter}%
+ \xdef\@currentHref{#1*.\the\Hy@linkcounter}%
\Hy@raisedlink{\hyper@anchorstart{\@currentHref}\hyper@anchorend}%
\fi
}
+\newcommand\nchapter[1]{%
+ \chapter*{%
+ \metaphantom{chapter}\addcontentsline{toc}{chapter}{#1}%
+ #1%
+ \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}
+ }
+}
+\newcommand\nsection[1]{%
+ \section*{\metaphantom{section}%
+ \addcontentsline{toc}{section}{#1}#1}
+}
+\newcommand\nsubsection[1]{%
+ \subsection*{\metaphantom{subsection}%
+ \addcontentsline{toc}{subsection}{#1}#1}
+}
+\newcommand\nsubsubsection[1]{%
+ \subsection*{\metaphantom{subsubsection}%
+ \addcontentsline{toc}{subsubsection}{#1}#1}
+}
\renewcommand\bibsection{\nchapter{\bibname}}
+
\renewenvironment{thebibliography}[1]{%
\bibsection
\parindent \z@
@@ -1217,12 +1291,13 @@
\let\citeN\cite
\let\shortcite\cite
\let\citeasnoun\cite
+ \ifDis@autoref\setlength\bibsep{0pt}\fi
}{%
\def\@noitemerr{\PackageWarning{natbib}{Empty `thebibliography' environment}}
\endlist\vskip-\lastskip%
}
\ifpdf
- \ifhref
+ \ifDis@href
\usepackage[pdftex,unicode,hyperfigures=true]{hyperref}
\hypersetup{
colorlinks = false,
@@ -1235,23 +1310,19 @@
\pdfcompresslevel = 9
\fi
\usepackage[pdftex]{graphicx}
- \IfFileExists{cmap.sty}{%
- \usepackage{cmap}
- }{}
+ \usepackage{cmap}
\else
- \ifhref\usepackage[hypertex,colorlinks=false,hyperfigures=true]{hyperref}\fi
+ \ifDis@href\usepackage[hypertex,colorlinks=false,hyperfigures=true]{hyperref}\fi
\usepackage{graphicx}
\fi
-\ifhref\usepackage{hypernat}\fi
+\ifDis@href\usepackage{hypernat}\fi
\usepackage[rflt]{floatflt}
-\ifsubf
+\ifDis@subf
\usepackage[config,font=small,labelsep=period]{caption,subfig}
\def\thesubfigure{\textit{\asbuk{subfigure}}}
- \def\p@subfigure{\thefigure, }
+ \providecommand\thefigsubsep{,\ }
+ \def\p@subfigure{\@nameuse{thefigure}\thefigsubsep}
\fi
-
-\lccode `\-=`\-
-\defaulthyphenchar=127
\endinput
%%
%% End of file `disser.cls'.