diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-19 23:50:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-19 23:50:53 +0000 |
commit | 28ceee86f87c2f6dc30500d0ab39fe47a93ee24d (patch) | |
tree | 632b315aed9c9fa9809ff7c61a98b9263699c1ff /Master/texmf-dist/tex/latex/disser/disser.cls | |
parent | 982fd914e8a8280290bf497fc838067e08bae6f3 (diff) |
disser (19sep11)
git-svn-id: svn://tug.org/texlive/trunk@24029 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.cls | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/disser/disser.cls b/Master/texmf-dist/tex/latex/disser/disser.cls index 0f11530d226..7eff6d5cf80 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}[2010/06/13 1.1.7 Document class for dissertations] +\ProvidesClass{disser}[2011/09/11 1.1.8 Document class for dissertations] \RequirePackage{kvoptions} @@ -491,7 +491,8 @@ \providecommand\chapterfont{\Large\bfseries} \providecommand\beforechapter{} \providecommand\afterchapter{\par\nobreak\vskip 20\p@} -\providecommand\chapterindent{0\p@} +\newlength{\chapterindent} +\setlength{\chapterindent}{0\p@} \newcommand*\chaptermark[1]{} @@ -1345,14 +1346,18 @@ \let\Eng=\English } \ifDis@mtpro - \AtBeginDocument{% - \IfFileExists{mtpro.sty}{ - \usepackage[subscriptcorrection,nofontinfo,boldalphabet]{mtpro} - }{ - \PackageWarning{disser}% - {Unable to find mtpro package. Font is unchanged.} + \AtBeginDocument{% + \IfFileExists{mtpro2.sty}{ + \usepackage[subscriptcorrection,nofontinfo]{mtpro2} + }{ + \IfFileExists{mtpro.sty}{ + \usepackage[subscriptcorrection,nofontinfo,boldalphabet]{mtpro} + }{ + \PackageWarning{disser}% + {Unable to find mtpro package. Font is unchanged.} + } + } } - } \else \AtEndOfPackage{% \IfFileExists{txfonts.sty}{ |