Page LayoutTurn off Page Numbering on first Page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am

Turn off Page Numbering on first Page

Post by latexhelp1 »

Thank you, thank you, thank you!! Thorston, bless your soul.

I have been able to incorporate this code into my program to do exactly as I would like. I do not know how to thank you enough for taking the time to write up sample code to help me. :)

As a start of my appreciation, I have checked marked this message (the last) and the first post. I hope that it what you are looking for. I wish you a wonderful weekend.
localghost wrote:Take the code below as a basic structure and incorporate it into your document. It produces a first page including title and abstract without page numbering. The next page is numbered as desired.

Code: Select all

\documentclass[12pt,english]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{setspace}
\usepackage{blindtext}

\title{The Title}
\author{The Author}

\begin{document}
  \pagenumbering{gobble}  % turn off page numbering
  \maketitle
  
  \begin{abstract}
    \onehalfspacing
    \blindtext
  \end{abstract}

  \newpage
  \pagenumbering{arabic}  % turn on page numbering starting at "1"
  \blinddocument
\end{document}
I turned off page numbering with a not so well known command and started »arabic« page numbering after the first page which results in the following page being numbered as "1" (see comments in the code above). The solution proposed by soTo might also work, but I'm not sure if it causes trouble in conjunction with the hyperref package.

Very important note:
The packages babel (with its global language option) and blindtext have only been used to create the dummy text. They are not part of the solution, thus have to be dropped in your real document.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply