Text Formattingroman page numbering

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
sudesham
Posts: 4
Joined: Thu Aug 23, 2012 4:52 pm

roman page numbering

Post by sudesham »

Hello everyone,

Working on an abstract, using the \begin{abstract} environment
the roman numbering i does not show in the abstract, but shows in the table of contents page and the table of contents page have the number i

the code goes like this

Code: Select all

\documentclass[12pt]{ report}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage {Utopia}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{chapterbib}
\usepackage{tocloft}
\usepackage{longtable}
\usepackage{url}
\usepackage{booktabs}
\usepackage{float}
\usepackage{appendix}
\usepackage[Lenny]{fncychap}
\doublespacing


\begin {document}
\pagenumbering{roman}
\addtocontents{toc}{~\hfill\textbf{Page}\par}

\begin{abstract}

\addcontentsline{toc}{chapter}{Abstract}
Abstract
\end{abstract}
\newpage

\pagenumbering{roman}
\tableofcontents

\newpage

\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\newpage
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\newpage
\pagenumbering{arabic}
\chapter{Introduction}
\end{document}
any assistance would be appreciated
Last edited by Stefan Kottwitz on Mon Aug 27, 2012 9:46 pm, edited 1 time in total.

Recommended reading 2024:

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

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

roman page numbering

Post by kaiserkarl13 »

It seems to be a feature of the report class. You can fake it by including \thispagestyle{plain} in your abstract and \stepcounter{page} right above \tableofcontents.

By the way, I had to make several changes to your document just to get it to compile, including moving the \addtocontents lines to outside the abstract environment. I also had to comment out \usepackage{Utopia}. It could actually be working on your system; make sure to view the output in full and ensure it's error-free before you assume something is not working properly with the class.
Post Reply