summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-emptynum.html
blob: da54f7e85baaba945f6353f1a1c79f360ce89c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<head>
<title>UK TeX FAQ -- question label emptynum</title>
</head><body>
<h3>I asked for &#8220;empty&#8221;, but the page is numbered</h3>
<p/>If you use <code>\</code><code>pagestyle{empty}</code> and you find some pages are
numbered anyway, you are probably encountering one of the style
decisions built into the standard LaTeX classes: that certain
special pages should always appear with <code>\</code><code>pagestyle{plain}</code>,
with a page number at the centre of the page foot.  The special pages
in question are those (in <i>article</i> class) containing a
<code>\</code><code>maketitle</code>, or (in <i>book</i> and <i>report</i> classes)
<code>\</code><code>chapter</code> or <code>\</code><code>part</code> commands.
<p/>The simple solution is to reissue the page style <em>after</em> the
command, with effect for a single page, as, for example (in
<i>article</i>):
<blockquote>
<pre>
\maketitle
\thispagestyle{empty}
</pre>
</blockquote><p>
or (in <i>book</i> or <i>report</i>)
<blockquote>
<pre>
\chapter{foo bar}
\thispagestyle{empty}
</pre>
</blockquote><p>
A similar technique doesn&#8217;t work for a <i>book</i> or <i>report</i>
<code>\</code><code>part</code> command pages.  For that, and for other detail, take look
at &#8220;<a href="FAQ-nopageno.html">getting rid of page numbers</a>&#8221;.
<p/><p/><p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=emptynum">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=emptynum</a>
</body>