[latex3-commits] [git/latex2e] master: provide a working definition for \subsubsection (previously it was messing up any toc and also using boldface isn't working so well here) (d00f7c7)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Dec 13 12:24:10 CET 2017


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/d00f7c71b5a9c9ce3bb30bb20fd4cd9dfd1d5af8

>---------------------------------------------------------------

commit d00f7c71b5a9c9ce3bb30bb20fd4cd9dfd1d5af8
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Dec 13 12:24:10 2017 +0100

    provide a working definition for \subsubsection
    (previously it was messing up any toc and also using boldface isn't working so well here)


>---------------------------------------------------------------

d00f7c71b5a9c9ce3bb30bb20fd4cd9dfd1d5af8
 base/ltnews.cls |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/base/ltnews.cls b/base/ltnews.cls
index a7f0d46..afc91fa 100644
--- a/base/ltnews.cls
+++ b/base/ltnews.cls
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009
+% Copyright 1993-2017
 % The LaTeX3 Project and any individual authors listed elsewhere
 % in this file. 
 % 
@@ -28,21 +28,20 @@
 % \fi
 % Filename: ltnews.cls
 % Author: Alan Jeffrey et al
-% Version: 1.03
  
 % This is the LaTeX2e document class for the `LaTeX News' information 
 % sheet which comes with every LaTeX release.  It may be useful for 
 % newsletters, or as an example of how simple newsletters can be set
 % with LaTeX.  The changes log is at the end of the file.
  
-% Copyright 1994 1995 1996 1997 1999 2000 2001 2002 2003 2004
+% Copyright 1994-2004
 % Alan Jeffrey and the LaTeX3 project.  
  
 % This is a LaTeX2e document class.
  
 \NeedsTeXFormat{LaTeX2e}
  
-\ProvidesClass{ltnews}[2017/03/07 v1.05  Standard LaTeX class]
+\ProvidesClass{ltnews}[2017/12/13 v1.06  Standard LaTeX class]
 
 % The configuration file, used for passing options.
 
@@ -485,10 +484,11 @@
       {1sp}{\@subheadingfont}%
 }
 
+% maybe not the greatest design but normally we wouldn't have subsubsections
 \renewcommand{\subsubsection}{%
    \@startsection
-      {subsection}{1}{\z@}{-1.5ex \@plus -1ex \@minus -.2ex}%
-      {1sp}{\normalsize\bfseries}%
+      {subsubsection}{2}{20pt}{-1.5ex \@plus -1ex \@minus -.2ex}%
+      {1sp}{\@subheadingfont}%
 }
 
 % No section numbers.





More information about the latex3-commits mailing list