summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-nopageno.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-nopageno.html')
-rw-r--r--Master/texmf-doc/doc/english/FAQ-en/html/FAQ-nopageno.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-nopageno.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-nopageno.html
new file mode 100644
index 00000000000..d8f4f81d5c9
--- /dev/null
+++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-nopageno.html
@@ -0,0 +1,50 @@
+<head>
+<title>UK TeX FAQ -- question label nopageno</title>
+</head><body>
+<h3>How to get rid of page numbers</h3>
+<p>The package <i>nopageno</i> will suppress page numbers in a whole
+document.
+<p>To suppress page numbers from a single page, use
+<code>\</code><code>thispagestyle{empty}</code> somewhere within the text of the
+page. (Note that <code>\</code><code>maketitle</code> and <code>\</code><code>chapter</code> both use
+<code>\</code><code>thispagestyle</code> internally, so you need to call it after you've
+called them.)
+<p>To suppress page numbers from a sequence of pages, you may use
+<code>\</code><code>pagestyle{empty}</code> at the start of the sequence, and restore
+the original page style at the end. Unfortunately, you still have to
+use <code>\</code><code>thispagestyle</code> after any <code>\</code><code>maketitle</code> or <code>\</code><code>chapter</code>
+command.
+<p>In the <i>memoir</i> class, the troublesome commands (<code>\</code><code>maketitle</code>,
+<code>\</code><code>chapter</code>, etc.) invoke their own page style
+(<code>title</code>, <code>chapter</code>, etc.), which you may
+redefine using the class's own techniques to be equivalent to
+"<code>empty</code>". The <i>KOMA-script</i> classes have
+commands that contain the page style to be used, so one might say:
+<blockquote>
+<pre>
+\renewcommand*{\titlepagestyle}{empty}
+</pre>
+</blockquote>
+<p>An alternative (in all classes) is to use the rather delightful
+<code>\</code><code>pagenumbering{gobble}</code>; this has the simple effect that any
+attempt to print a page number produces nothing, so there's no issue
+about preventing any part of LaTeX from printing the number.
+However, the <code>\</code><code>pagenumbering</code> command does have the side effect that
+it resets the page number (to 1), which may be undesirable.
+<p>The <i>scrpage2</i> package separates out the representation from
+the resetting; so one can say
+<blockquote>
+<pre>
+\renewcommand*{\pagemark}{}
+</pre>
+</blockquote>
+to have the same effect as the <code>gobble</code> trick, without
+resetting the page number.
+<dl>
+<dt><tt><i>nopageno</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/carlisle/nopageno.sty">macros/latex/contrib/carlisle/nopageno.sty</a>
+<dt><tt><i>KOMA script bundle</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/koma-script.zip">macros/latex/contrib/koma-script</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/koma-script.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/koma-script/">browse</a>)
+<dt><tt><i>memoir.cls</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/memoir.zip">macros/latex/contrib/memoir</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/memoir.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/memoir/">browse</a>)
+<dt><tt><i>scrpage2.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/koma-script.zip">macros/latex/contrib/koma-script</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/koma-script.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/koma-script/">browse</a>)
+</dl>
+<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopageno">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopageno</a>
+</body>