Hi,
I like the way \section gives to produce tree structure that can be viewed in Texmaker. But I don't want it numbers the sections. How can I get both? Is it possible to stop \section from numbering?
Thanks!
General ⇒ Suppress Numbering by \section
NEW: TikZ book now 40% off at Amazon.com for a short time.

Suppress Numbering by \section
Code: Select all
\setcounter{secnumdepth}{0}
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Suppress Numbering by \section
Just so that I understand this better, what lehe wants can also be achieved by using the starred version of the section command.
Is this less preferable for any reason?
Thank you.
Code: Select all
\section*{name}
Thank you.
Re: Suppress Numbering by \section
you still get the ability to produce a TOC if you want to, using \section*, means that you have to chagne the document in many places if you later on decides to create a TOC
Re: Suppress Numbering by \section
Thanks, guys!
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
Re: Suppress Numbering by \section
Thanks for your explanation, daleif. I did not know that; but knew that since you did not suggest what seemed to be (arguably) an easier way, there had to be a good reason for it.