Page LayoutHow can I number from the title page to the end of the doc?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
lemonicetea
Posts: 17
Joined: Sat Oct 10, 2009 9:28 pm

How can I number from the title page to the end of the doc?

Post by lemonicetea »

Hi all,

I am currently writing my PhD thesis. My uni says the thesis must be numbered from the title page to the end of the document. My thesis has following layout.

1. title page (manual format)
2. abstract
3. list of figures
4. list of tables
5. table of contents
6. text

I found that the page numbers of both abstract and contents will be automatically set to 1. Could someone tell me how can I force the page number start from the literally first page to the end? Thank you.
Last edited by lemonicetea on Sun Oct 11, 2009 6:07 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.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How can I number from the title page to the end of the doc?

Post by localghost »

lemonicetea wrote:[…] I found that the page numbers of both abstract and contents will be automatically set to 1. […]
Not the usual behaviour. Build a minimal working example (MWE) that shows this.


Best regards and welcome to the board
Thorsten¹
lemonicetea
Posts: 17
Joined: Sat Oct 10, 2009 9:28 pm

How can I number from the title page to the end of the doc?

Post by lemonicetea »

Thanks for your replay.

Code: Select all

\documentclass[a4paper,12pt,oneside]{report}
\usepackage{graphicx}
\usepackage[left=4.5cm,right=2.5cm]{geometry}
\usepackage{epsfig}
\usepackage[margin=10pt,font=footnotesize,labelfont=bf]{caption}
\usepackage[singlespacing]{setspace}
\usepackage[round]{natbib}
\usepackage{booktabs}
\usepackage{setspace}
\usepackage[version=3]{mhchem}
\usepackage{fancyhdr}
\usepackage{units}
\usepackage{nomencl}
\renewcommand{\nomname}{List of Abbreviations}
\makenomenclature
\setcounter{secnumdepth}{3}
\begin{document}

\begin{titlepage}
Manual titlepage format here
\newpage \vspace*{8cm}
here goes dedication
\end{titlepage}

\onehalfspacing
\tableofcontents
\listoffigures
\listoftables

\setstretch{0.8}
\nomenclature{PDB}{Protein Data Bank} %abbreviation
\printnomenclature[3cm]

\doublespacing

\chapter{blah}
\section{blah-blah}
here goes my thesis text
\begin{spacing}{1}
\bibliographystyle{kluwer}
\bibliography{./biblio}
\end{spacing}
\end{document} 
does this make sense?
Last edited by lemonicetea on Sat Oct 10, 2009 11:59 pm, edited 1 time in total.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How can I number from the title page to the end of the doc?

Post by localghost »

This code snippet is useless and not a MWE. It uses the \input command to load unknown external files. Build a MWE that is small, complete and compilable for everyone without any additional external files, new command declarations or packages that are irrelevant to the problem. For instructions please follow the link in my last reply.
lemonicetea
Posts: 17
Joined: Sat Oct 10, 2009 9:28 pm

Re: How can I number from the title page to the end of the doc?

Post by lemonicetea »

Sorry about that.I am new to LATEX..I have modified the code and could you please have a check for me about that problem..Thank you so much!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How can I number from the title page to the end of the doc?

Post by localghost »

Place the stuff concerning the dedication outside the titlepage environment.
lemonicetea
Posts: 17
Joined: Sat Oct 10, 2009 9:28 pm

How can I number from the title page to the end of the doc?

Post by lemonicetea »

Thank you so much for your quick reply..But once I added my abstract in..The problem is still there.

Code: Select all

\documentclass[a4paper,12pt,oneside]{report}
\usepackage{graphicx}
\usepackage[left=4.5cm,right=2.5cm]{geometry}
\usepackage{epsfig}
\usepackage[margin=10pt,font=footnotesize,labelfont=bf]{caption}
\usepackage[singlespacing]{setspace}
\usepackage[round]{natbib}
\usepackage{booktabs}
\usepackage{setspace}
\usepackage[version=3]{mhchem}
\usepackage{fancyhdr}
\usepackage{units}
\usepackage{nomencl}
\renewcommand{\nomname}{List of Abbreviations}
\makenomenclature
\setcounter{secnumdepth}{3}
\begin{document}

\begin{titlepage}
Manual titlepage format here

\end{titlepage}
%here goes dedication
\newpage \vspace*{8cm}
here goes dedication
\newpage

%abstract
\begin{abstract}
here goes abstract.I have two pages of these
\end{abstract}

\onehalfspacing
\tableofcontents
\listoffigures
\listoftables

\setstretch{0.8}
\nomenclature{PDB}{Protein Data Bank} %abbreviation
\printnomenclature[3cm]

\doublespacing

\chapter{blah}
\section{blah-blah}
here goes my thesis text
\begin{spacing}{1}
\bibliographystyle{kluwer}
\bibliography{./biblio}
\end{spacing}
\end{document}
The problems now are:
1.The page number start from 1 at 'dedication' page..I want it to start from 2 at 'dedication' page
2.The abstract restart the page numbering from 1 and without displaying it. However, the 2nd page of abstract will show a page number of 2.
3.the 'table of contents' now have a page number 1 as well.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How can I number from the title page to the end of the doc?

Post by localghost »

At the moment I have no other solution than using the \setcounter command to assign the right value to the page counter at the critical places.
lemonicetea
Posts: 17
Joined: Sat Oct 10, 2009 9:28 pm

Re: How can I number from the title page to the end of the doc?

Post by lemonicetea »

To localghost.. Thank you so much for your help. I finally manually format the abstract section and now everything seems fine.
Post Reply