[pdftex] Section/Subsection Labeling

Heiko Oberdiek oberdiek at uni-freiburg.de
Thu Aug 29 19:35:24 CEST 2002


On Thu, Aug 29, 2002 at 11:49:27AM -0400, John S. Dey wrote:
> 
> I have a legacy document that gets updated printed every couple 
> of  years.  I have converted to LATEX.  The sections in the document are 
> labeled 100, 200, etc and the subsections as 101, 102, etc.  I have 
> attempted to change the default to produce the documents section/subsection 
> numbering scheme without success.

This is the wrong list for the question, because this
list discusses issues of pdfTeX.

You can try:
  \renewcommand*{\thesection}{\arabic{section}00}
  \renewcommand*{\thesubsection}{%
    \arabic{section}%
    \ifnum\value{subsection}<10 0\fi
    \arabic{subsection}%
  }%

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>




More information about the pdftex mailing list