File: FAQ-zerochap.html

package info (click to toggle)
texlive-doc 2007.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 129,872 kB
  • ctags: 3,330
  • sloc: xml: 23,147; perl: 8,370; makefile: 843; sh: 352; lisp: 276; java: 159; python: 97; sed: 4
file content (18 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<head>
<title>UK TeX FAQ -- question label zerochap</title>
</head><body>
<h3>Why are my sections numbered 0.1 ...?</h3>
<p>This happens when your document is using the standard <i>book</i> or
<i>report</i> class (or one similar), and you&rsquo;ve got a <code>\</code><code>section</code>
before your first <code>\</code><code>chapter</code>.
<p>What happens is, that the class numbers sections as 
&ldquo;&lt;<i>chapter no</i>&gt;.&lt;<i>section no</i>&gt;&rdquo;, and until the first
chapter has appeared, the chapter number is 0.
<p>If you&rsquo;re doing this, it&rsquo;s quite likely that the <i>article</i> class
is for you; try it and see.  Otherwise, give your sections a
&lsquo;superior&rsquo; chapter, or do away with section numbering by using
<code>\</code><code>section*</code> instead.  An alternative way of avoiding numbering is
discussed in 
&ldquo;<a href="FAQ-secnumdep.html">unnumbered sections in the table of contents</a>&rdquo;.
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=zerochap">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=zerochap</a>
</body>