Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

\cleardoublepage does not work

2,184 views
Skip to first unread message

loudking

unread,
Jan 4, 2008, 3:02:19 AM1/4/08
to
Hello,all

I would like to insert an empty page after my title page,

First, I tried to use \cleardoublepage and \thispagestyle{empty}, but
the new page was not completely empty -- there is still a page number.

Next, I tried to use \thispagestyle{empty} and \mbox and \newpage.
This time it works, but I don't quite understand why \cleardoublepage
fails. Could anybody tell me the reason, please?

Here is my code.

=================================
\documentclass[a4paper, 11pt, twoside]{book}
\usepackage{graphicx}

\DeclareGraphicsRule{.jpg}{eps}{.bb}{}
\DeclareGraphicsRule{.png}{eps}{.bb}{}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\begin{document}

\begin{titlepage}

%\thispagestyle{empty}

\begin{center}
\hspace{50pt}\includegraphics[scale=0.6]{./image/vu_logo.png}\\[1cm]

\textsc{\Large Master Thesis}\\[0.5cm]

% Title
\HRule \\[0.4cm]
{ \huge \bfseries blabla}\\[0.4cm]

\HRule \\[1.5cm]
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
Biu
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{First Reader:} \\
Biu1 \\
\emph{Second Reader:} \\
Biu2 \\
\end{flushright}
\end{minipage}

\vfill

Department of Computer Science \par

\vfill

% Bottom of the page
{\large \today}

\end{center}

%\cleardoublepage

\newpage
\thispagestyle{empty}
\mbox{}
\newpage

\end{titlepage}


Hello, World

\end{document}
==========================

Henk Koster

unread,
Jan 4, 2008, 3:26:29 AM1/4/08
to

I always make a new command for that:

% Start new chapter always on RHS page, so put in an additional
% blank page only when needed.
\newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}
\cleardoublepage}}


Heiko Oberdiek

unread,
Jan 4, 2008, 3:31:23 AM1/4/08
to
loudking <loud...@gmail.com> wrote:

> First, I tried to use \cleardoublepage and \thispagestyle{empty}, but
> the new page was not completely empty -- there is still a page number.

\begingroup
\pagestyle{empty}
\cleardoublepage
\endgroup

Yours sincerely
Heiko <ober...@uni-freiburg.de>

Ulrike Fischer

unread,
Jan 4, 2008, 4:10:26 AM1/4/08
to
Am Fri, 4 Jan 2008 00:02:19 -0800 (PST) schrieb loudking:

> Hello,all
>
> I would like to insert an empty page after my title page,
>
> First, I tried to use \cleardoublepage and \thispagestyle{empty}, but
> the new page was not completely empty -- there is still a page number.
>
> Next, I tried to use \thispagestyle{empty} and \mbox and \newpage.
> This time it works, but I don't quite understand why \cleardoublepage
> fails. Could anybody tell me the reason, please?

Because \cleardoublepage issues internally a \thispagestyle{plain}
and your \thispagestyle is too late.

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=reallyblank

--
Ulrike Fischer

0 new messages