Page LayoutRemove page number on blank side

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
drgz
Posts: 44
Joined: Sat Apr 18, 2009 8:40 pm

Remove page number on blank side

Post by drgz »

When using \cleardoublepage to force a blank page after the title page, how do I remove the page number on the blank page?

At the moment I use the report class with the twosided option enabled.

After my preamble the code starts like

Code: Select all

\begin{document}

\pagenumbering{Roman}
\include{tex/titlepage}
\cleardoublepage
\include{tex/abstract}
\cleardoublepage

\setcounter{page}{3}
\tableofcontents
In both the titlepage.tex and the abstract.tex file I've used \thispagestyle{empty} to remove the page numbering of each of the two pages, but no matter what I do I just can't manage to remove the page number of the second page (after the title page).

I've uploaded a PDF [1] containing the first four pages of how it looks like at the moment. Hopefully someone knows how I remove the page number of the second page :)

As you also can see the fourth page is numbered as page II (the same as the second page), so this is also I'd like to fix, but I assume (hope) this will be fixed as a result of the other "problem".

[1] - http://dump.no/files/f17923c2c31a/sample.pdf

Edit*

If the preamble is needed, here it is:

Code: Select all

\documentclass[12pt,a4paper,twoside]{report}

\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{float}
%\usepackage{times}
\usepackage[hang,small,bf]{caption}
\usepackage{graphicx}
\usepackage{siunitx}
\usepackage[breaklinks=true]{hyperref}
\usepackage{subfig}
\usepackage{tikz,pgf,pgfplots}
\usetikzlibrary{arrows}
\usepackage{nomencl}
\usepackage{subeqnarray}
\usepackage{vmargin}
\usepackage{setspace}
\usepackage{breakurl}

\hypersetup{
    colorlinks,%
    citecolor=black,%
    filecolor=black,%
    linkcolor=black,%
    urlcolor=black
}

\setpapersize{A4}
\setlength{\jot}{12pt}

\makeatletter
\renewcommand{\@makechapterhead}[1]{%
\vspace*{50pt}
{\setlength{\parindent}{0pt} \raggedright \normalfont
\bfseries\Huge\thechapter.\ #1
\par\nobreak\vspace{40 pt}}}
\makeatother

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
joe74
Posts: 15
Joined: Tue Mar 24, 2009 6:17 am

Remove page number on blank side

Post by joe74 »

What about if you use it like this?

In your \include{file}

Code: Select all

{\thispagestyle{empty}

other stuff

\pagebreak
}
joe74
http://latexlive.wordpress.com/
TeX Live 2009/TeXmaker
Powered by Debian Squeeze
drgz
Posts: 44
Joined: Sat Apr 18, 2009 8:40 pm

Re: Remove page number on blank side

Post by drgz »

When I included the \pagebreak I didn't get any blank page after the titlepage, which is something I need as I want the abstract to start on an odd page.

So I'm still looking for a solution :)
daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: Remove page number on blank side

Post by daleif »

redefine \cleardoublepage or switch to the memoir class, which leaves the blank pages blank
drgz
Posts: 44
Joined: Sat Apr 18, 2009 8:40 pm

Remove page number on blank side

Post by drgz »

daleif wrote:redefine \cleardoublepage or switch to the memoir class, which leaves the blank pages blank
The momoir class does the trick, so thanks. But out of curiosity, what should i redefine the \cleardoublepage to if I should counter the "problem" and still use the report class?
daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: Remove page number on blank side

Post by daleif »

In general use the memoir class for everything except articles for journals.

As for your question, something similar to

http://www.tex.ac.uk/cgi-bin/texfaq2htm ... eallyblank
drgz
Posts: 44
Joined: Sat Apr 18, 2009 8:40 pm

Remove page number on blank side

Post by drgz »

daleif wrote:In general use the memoir class for everything except articles for journals.

As for your question, something similar to

http://www.tex.ac.uk/cgi-bin/texfaq2htm ... eallyblank
Thanks for the help! Will stick to the memoir class from now on, many nice "built-in" options I wasn't aware of. :)
Post Reply