diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/disser/disser.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/disser/disser.cls | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls index 7eff6d5cf80..fd4314afa55 100644 --- a/Master/texmf-dist/tex/latex/disser/disser.cls +++ b/Master/texmf-dist/tex/latex/disser/disser.cls @@ -27,7 +27,7 @@ %% %% disser -- LaTeX document class for dissertations. %% -%% Copyright (c) 2004-2010 Stanislav Kruchinin +%% Copyright (c) 2004-2012 Stanislav Kruchinin %% %% It may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -44,7 +44,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{disser}[2011/09/11 1.1.8 Document class for dissertations] +\ProvidesClass{disser}[2011/11/29 1.1.9 Document class for dissertations] \RequirePackage{kvoptions} @@ -1412,6 +1412,25 @@ \usepackage[square,comma,sort&compress,numbers]{natbib} \renewcommand\bibsection{\nchapter{\bibname}} +\@ifundefined{chapter}{% + \renewcommand\bibsection{% + \nsection{\bibname\@mkboth{\MakeUppercase{\bibname}}{\MakeUppercase{\bibname}}}% + }% +}{% + \@ifxundefined\NAT@sectionbib{% + \renewcommand\bibsection{% + \nchapter{\bibname\@mkboth{\MakeUppercase{\bibname}}{\MakeUppercase{\bibname}}}% + }% + }{% + \renewcommand\bibsection{% + \nsection{\bibname\ifx\@mkboth\@gobbletwo\else\markright{\MakeUppercase{\bibname}}\fi}% + }% + }% +}% + +\renewcommand\bibpreamble{% + \renewcommand\@biblabel[1]{##1.}% +} \renewenvironment{thebibliography}[1]{% \bibsection |