Page LayoutRestarting Page Numbers after Abstract

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
ndussex
Posts: 1
Joined: Sat May 25, 2013 5:04 am

Restarting Page Numbers after Abstract

Post by ndussex »

Hi everyone,

I'm new to LyX and I'm having issues with page numbering when using an "Abstract" section in a report document class. Basically my title is numbered correctly (page 1) but the following abstract has no page number, then the main text starts again with page number 1.

How can I fix this to have the right numbers without this gap?
Much appreciated

Nic

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

tom
Posts: 73
Joined: Thu Apr 18, 2013 4:02 am

Restarting Page Numbers after Abstract

Post by tom »

Hi,

Use the following two lines (with comments) to add a page number to the abstract and start the following chapter from any page number.

Code: Select all

\documentclass[11pt]{report}
\usepackage{blindtext}
\begin{document}
\begin{abstract}
\thispagestyle{plain} % Adds page number to abstract
\blindtext
\end{abstract}
\setcounter{page}{2} % Sets page counter to 2
\chapter{Introduction}
\blindtext
\end{document}
Post Reply