Text FormattingNumber for Sub-sub-sections

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
laailalalaa
Posts: 35
Joined: Thu Oct 27, 2011 5:31 pm

Number for Sub-sub-sections

Post by laailalalaa »

Hi,

I'm using the llncs document class. They renewed the subsubsection command, the subsubsections not being numbered. How can I enforce numbering on subsubsects?

This is their code:

Code: Select all

\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{-18\p@ \@plus -4\p@ \@minus -4\p@}%
{-0.5em \@plus -0.22em \@minus -0.1em}%
{\normalfont\normalsize\bfseries\boldmath}}
Thanks,
Me
Last edited by laailalalaa on Wed May 09, 2012 11:47 am, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Number for Sub-sub-sections

Post by localghost »

Before you start any redefinition, you should play around with the secnumdepth counter. This line goes into the preamble of your document and at least works for the report class.

Code: Select all

\setcounter{secnumdepth}{3}   % default value »2«
Actually this should not be necessary since newlfm relies on the article class which numbers this heading level by default.


Thorsten
laailalalaa
Posts: 35
Joined: Thu Oct 27, 2011 5:31 pm

Re: Number for Sub-sub-sections

Post by laailalalaa »

Cool, worked !

Thanks a lot, localghost.
Post Reply