StartLaTeX faqLaTeX for Beginners F.A.Q.LaTeX topicsLaTeX courseSearch

In LaTeX, if you want the first page to be devoid of page numbers while displaying them on all subsequent pages, you can achieve this by using the command \thispagestyle{empty}. This command suppresses the page number only on the current page. However, it's important to note that the page is still counted in the numbering sequence. Notably, this command can be applied not only to the first page but to any other page as well.

Example

\documentclass{article}
\begin{document}

\thispagestyle{empty}
Test text to have content on the first page.
\newpage
Test text to have content on the subsequent page.
\end{document}

This LaTeX code creates a document where the first page has no page number displayed, while subsequent pages show page numbers as usual.

If you also wish to exclude the first page from the page count so that the second page starts with page number 1, you need to manipulate the page counter. By using \setcounter{page}{1}, you reset the page counter to one.

\documentclass[a4paper, 12pt, twoside]{report}
\begin{document}

\thispagestyle{empty}
Test text to have content on the first page.
\newpage
\setcounter{page}{1}
Test text to have content on the subsequent page.
\newpage
Test text to have content on another subsequent page.
\end{document}
This LaTeX code generates a document with specific page settings:

Contact   Privacy Policy   disclosures

accept decline

This website uses cookies and pixel tags to ensure you get the best experience on our website. By using this website, you consent to the use of cookies.learn more about cookies see also our privacy policy