Text Formatting ⇒ number abstract
-
- Posts: 32
- Joined: Sun Mar 01, 2009 8:29 am
number abstract
It seems that my latex turn off the numbering for the abstract page and reset the page number to one after abstract. How can I turn on the numbering for the abstract page and NOT reset the page number to one. Thank you.
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
number abstract
Code: Select all
\documentclass[11pt,a4paper,english]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{blindtext}
\author{neumannturing}
\title{Page numbering issue on abstract page}
%\date{\today}
\makeatletter
\if@titlepage
\renewenvironment{abstract}{%
% \titlepage % <------
\null\vfil
\@beginparpenalty\@lowpenalty
\begin{center}%
\bfseries \abstractname
\@endparpenalty\@M
\end{center}}%
{\par\vfil\null}% \endtitlepage} % <------
\else
\renewenvironment{abstract}{%
\if@twocolumn
\section*{\abstractname}%
\else
\small
\begin{center}%
{\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
\end{center}%
\quotation
\fi}
{\if@twocolumn\else\endquotation\fi}
\fi
\makeatother
\begin{document}
\maketitle
\begin{abstract}
\blindtext
\end{abstract}
\blinddocument
\end{document}
I never used it, but perhaps the abstract package offers an interface that might be much easier than this way of problem-solving.
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10