diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/base/classes.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/classes.dtx | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/base/classes.dtx b/Master/texmf-dist/source/latex/base/classes.dtx index 0f40af2b407..0d5411aa9ba 100644 --- a/Master/texmf-dist/source/latex/base/classes.dtx +++ b/Master/texmf-dist/source/latex/base/classes.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 +% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -69,7 +69,7 @@ %<*driver> \ProvidesFile{classes.drv} %</driver> - [2005/09/16 v1.4f + [2007/10/19 v1.4h %<article|report|book> Standard LaTeX document class] %<10pt|11pt|12pt> Standard LaTeX file (size option)] % \end{macrocode} @@ -2021,7 +2021,7 @@ % corresponding counter is incremented. % \item[\meta{altheading}] Gives an alternative heading to use in % the table of contents and in the running heads. This should -% be present when the $*$ form is used. +% not be present when the $*$ form is used. % \item[\meta{heading}] The heading of the new section. % \end{description} % A sectioning command is normally defined to |\@startsection| and @@ -2157,7 +2157,7 @@ \renewcommand \thesection {\thechapter.\@arabic\c@section} %</report|book> \renewcommand\thesubsection {\thesection.\@arabic\c@subsection} -\renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection} +\renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection} \renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph} \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph} % \end{macrocode} @@ -3732,6 +3732,8 @@ % % \changes{v1.0g}{1993/12/09}{Moved the setting of % \cs{@restonecolfalse}} +% \changes{v1.4h}{2007/10/19}{Explain why \cs{@mkboth} is insde the heading +% arg for \cs{tableofcontents} (pr/3285 and pr/3984)} % \begin{macrocode} \newcommand\tableofcontents{% %<*report|book> @@ -3748,6 +3750,15 @@ \chapter*{\contentsname %</report|book> %<article> \section*{\contentsname +% \end{macrocode} +% The code for |\@mkboth| is placed inside the heading to avoid any +% influence on vertical spacing after the heading (in some cases). For +% other commands, such as |\listoffigures| below this has been changed from +% the \LaTeX{}2.09 version as it will produce a serious bug if used in +% two-column mode (see, pr/3285). However |\tableofcontents| is always +% typeset in one-column mode in these classes, therefore the somewhat +% inconsistent setting has been retained for compatibility reasons. +% \begin{macrocode} \@mkboth{% \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% % \end{macrocode} |