summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-zerochap.html
blob: 5a0d3440ac489f584f096c5a5f38b508914250c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<head>
<title>UK TeX FAQ -- question label zerochap</title>
</head><body>
<h3>Why are my sections numbered 0.1 &#8230;?</h3>
<p/>This happens when your document is using the standard <i>book</i> or
<i>report</i> class (or one similar), and you&#8217;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 
&#8220;&lt;<i>chapter no</i>&gt;.&lt;<i>section no</i>&gt;&#8221;, and until the first
<code>\</code><code>chapter</code> has appeared, the chapter number is 0.  (If you
use<code>\</code><code>chapter*</code>, which doesn&#8217;t number the chapter it produces, the
problem still arises.)
<p/>If you&#8217;re doing this, it&#8217;s possible that the <i>article</i> class
is for you; try it and see.  Otherwise, put a <code>\</code><code>chapter</code> before
your sections, or do away with section numbering by using
<code>\</code><code>section*</code> instead.  An alternative way of avoiding numbering is
discussed in 
&#8220;<a href="FAQ-secnumdep.html">unnumbered sections in the table of contents</a>&#8221;.
<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>