5

Using the leaflet class, sections are not numbered. If I try to use

\renewcommand\thesection{\arabic{section}. }

it doesn't change anything.

Is there a way to number sections in leaflet?

6

The leaflet documentclass uses

\setcounter{secnumdepth}{0}

on line 275. To number the sections you can use

\setcounter{secnumdepth}{1}

and then you get numbered sections.

\documentclass{leaflet}
\usepackage{lipsum}
\setcounter{secnumdepth}{1}
\begin{document}

\section{My section}
\lipsum[1]
\end{document}
  • 1
    You're welcome :) I can't ping you with @ though :) – cmhughes Oct 31 '12 at 23:39
  • Sure you can, if you can type my nick :-) – ℝaphink Oct 31 '12 at 23:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.