summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/disser/disser.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-16 19:57:36 +0000
committerKarl Berry <karl@freefriends.org>2009-11-16 19:57:36 +0000
commit494bd0475fd9f4b8ad307a7fb97b96d1f8093936 (patch)
tree5b95640ef51caa72822a1478b49449c29c009b24 /Master/texmf-dist/tex/latex/disser/disser.cls
parent7c71adc8d8bd0bf2195bb57a46f7029642681503 (diff)
disser 1.1.3 (6nov09)
git-svn-id: svn://tug.org/texlive/trunk@16036 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.cls79
1 files changed, 41 insertions, 38 deletions
diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls
index 2e33f682d9d..40c950266f2 100644
--- a/Master/texmf-dist/tex/latex/disser/disser.cls
+++ b/Master/texmf-dist/tex/latex/disser/disser.cls
@@ -44,7 +44,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{disser}[2009/06/11 1.1.2 Document class for dissertations]
+\ProvidesClass{disser}[2009/11/05 1.1.3 Document class for dissertations]
\def\substyle@ext{.rtx}
@@ -301,6 +301,7 @@
\newcounter{subsubsection}[subsection]
\newcounter{paragraph}[subsubsection]
\newcounter{subparagraph}[paragraph]
+
\newcounter{figure}[chapter]
\newcounter{table}[chapter]
@@ -474,6 +475,7 @@
\providecommand\chapterindent{0pt}
\newcommand*\chaptermark[1]{}
+
\newcommand\chapter{%
\if@openright
\cleardoublepage
@@ -1251,62 +1253,62 @@
\newcommand\@pnumwidth{1.55em}
\newcommand\@tocrmarg{2.55em}
\newcommand\@dotsep{4.5}
-\def\tocfill#1{
- \leaders\hbox{$\m@th\mkern\@dotsep mu\hbox{#1}\mkern\@dotsep mu$}
+\def\tocfill#1{%
+ \leaders\hbox{$\m@th\mkern\@dotsep mu\hbox{#1}\mkern\@dotsep mu$}%
}
-\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
-\newdimen\bibindent
-\setlength\bibindent{1.5em}
-\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
-\let\@openbib@code\@empty
+
+\newcommand\tocsection{\chapter*{\contentsname}}
\newcommand\tableofcontents{%
- \if@twocolumn
- \@restonecoltrue\onecolumn
- \else
- \@restonecolfalse
- \fi
- \chapter*{\contentsname%
- \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}
- }%
+ \if@twocolumn\@restonecoltrue\onecolumn%
+ \else\@restonecolfalse\fi%
+ \tocsection%
+ \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
\clearpage
}
+\newcommand\lofsection{\nchapter{\listfigurename}}
+
\newcommand\listoffigures{%
- \if@twocolumn\@restonecoltrue\onecolumn
- \else\@restonecolfalse\fi
- \nchapter{%
- \listfigurename%
- \@mkboth{\MakeUppercase\listfigurename}{\MakeUppercase\listfigurename}%
- }%
+ \if@twocolumn\@restonecoltrue\onecolumn%
+ \else\@restonecolfalse\fi%
+ \lofsection%
+ \@mkboth{\MakeUppercase\listfigurename}{\MakeUppercase\listfigurename}%
\@starttoc{lof}%
\if@restonecol\twocolumn\fi
}
+
\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+
+\newcommand\lotsection{\nchapter{\listtablename}}
+
\newcommand\listoftables{%
- \if@twocolumn
- \@restonecoltrue\onecolumn
- \else
- \@restonecolfalse
- \fi
- \nchapter{%
- \listtablename%
- \@mkboth{\MakeUppercase\listtablename}{\MakeUppercase\listtablename}%
- }%
+ \if@twocolumn\@restonecoltrue\onecolumn%
+ \else\@restonecolfalse\fi%
+ \lotsection%
+ \@mkboth{\MakeUppercase\listtablename}{\MakeUppercase\listtablename}%
\@starttoc{lot}%
\if@restonecol\twocolumn\fi
}
+
\let\l@table\l@figure
\newenvironment{thebibliography}[1]{}{}
-\newenvironment{theindex}{
- \if@twocolumn\@restonecolfalse
- \else\@restonecoltrue\fi
+\newdimen\bibindent
+\setlength\bibindent{1.5em}
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib@code\@empty
+
+\providecommand\indexsection{\twocolumn[\@makeschapterhead{\indexname}]}
+
+\newenvironment{theindex}{%
+ \if@twocolumn\@restonecolfalse%
+ \else\@restonecoltrue\fi%
\columnseprule \z@
\columnsep 35\p@
- \twocolumn[\@makeschapterhead{\indexname}]%
+ \indexsection%
\@mkboth{\MakeUppercase\indexname}{\MakeUppercase\indexname}%
\thispagestyle{plain}
\parindent\z@
@@ -1316,6 +1318,7 @@
\newcommand\@idxitem{\par\hangindent 40\p@}
\newcommand\subitem{\@idxitem \hspace*{20\p@}}
\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
+\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
%%% From File: custom.dtx
@@ -1391,7 +1394,7 @@
}{}
\fi
-\usepackage[square, comma, sort&compress, numbers]{natbib}
+\usepackage[square,comma,sort&compress,numbers]{natbib}
\renewcommand\bibsection{\nchapter{\bibname}}
@@ -1427,7 +1430,7 @@
\ifpdf
\ifDis@href
- \usepackage[pdftex,unicode,hyperfigures=true]{hyperref}
+ \usepackage[pdftex,unicode]{hyperref}
\hypersetup{
colorlinks = false,
bookmarksopen = true,
@@ -1442,7 +1445,7 @@
\usepackage{cmap}
\else
\ifDis@href
- \usepackage[hypertex,colorlinks=false,hyperfigures=true]{hyperref}
+ \usepackage[hypertex,colorlinks=false]{hyperref}
\fi
\usepackage{graphicx}
\fi