Found this thread which gives a solution
http://lists.debian.org/debian-tetex.../msg00122.html
Basically insert \thispagestyle{empty} after the \maketitle
Found this thread which gives a solution
http://lists.debian.org/debian-tetex.../msg00122.html
Basically insert \thispagestyle{empty} after the \maketitle
As Josephus has told me below, it gets solved by adding "\thispagestyle{empty}" after "\maketitle".
As josephus has told me below, it gets solved by adding "\thispagestyle{empty}" after "\maketitle".
Just tried it out this morning and it does work! Great tip, thanks josephus!
I still get a page number on every page after the first two pages. Is this a bug in latex?Code:\documentclass[a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{url} \pagestyle{empty} \title{Documentación sobre DHCP} \author{Me} \begin{document} \maketitle \thispagestyle{empty} \tableofcontents \thispagestyle{empty} \chapter{Antecedentes} \section{ARP} \textit{Address Resolution Protocol} es el protocolo utilizado para encontrar la dirección del nivel de enlace, generalmente la dirección MAC, de un equipo cuando solo se conoce su dirección IP u otra dirección \end{document}
It seems that also the "chapter" command also makes the page numbers appear. See this link for some solutions http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopageno.I still get a page number on every page after the first two pages. Is this a bug in latex?
No, LaTeX's default is to number all pages. Adding \pagestyle{empty} in the preamble (before \begin{document}) turns this off for the whole document. Adding it elsewhere in the document turns the page number off from that point onwards. But in both cases it may get reset by some other command: some packages may turn it on after a new \chapter, for example, and \maketitle invokes \thispagestyle{plain}, which includes a page number.
You also put the \title, \author, and \date commands in the preamble. They will work here, but it's more normal nowadays to put them immediately after \begin{document}.
In either case, no titling will appear unless you use \maketitle. Until you do, the title, author, and date are simply memorised and not displayed, because many document packages require other commands to make titling work (eg \submissiondate, \subtitle, \journalname, etc).
The point about \maketitle is that in the article document class it applies \thispagestyle{plain}, and this is what is causing the page number to appear. If you add \thispagestyle{empty} after your \maketitle, the page number goes away *for that page*.
///Peter
Bookmarks