Page Layout\cleardoublepage with page number?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

\cleardoublepage with page number?

Post by demon »

Hi again,

I just switched to 'twoside', as this is a requirement for my thesis. As far as I know from books there are page numbers on empty pages as well. With \cleardoublepage I won't get a number on the page, how can I change that behaviour to get a number?

Thanks!
Last edited by demon on Wed Feb 11, 2009 11:45 am, edited 1 time in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

\cleardoublepage with page number?

Post by Stefan Kottwitz »

Hi,

it depends on your class and the packages used. Perhaps change the page style empty to plain:

Code: Select all

\makeatletter
\let\ps@empty\ps@plain
\makeatother
or to fancy or scrheadings or whatever you are using. packages like fancyhdr and scrpage2 are providing commands to solve this problem.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\cleardoublepage with page number?

Post by localghost »

Perhaps the fancyhdr manual has a solution (Section 15 - Those blank pages, p. 15).

Code: Select all

\clearpage{\pagestyle{plain}\cleardoublepage}
This solution depends not on the usage of that package.


Best regards
Thorsten¹
demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Re: \cleardoublepage with page number?

Post by demon »

\documentclass[cleardoublepage=plain]{scrreprt} is the solution. Thanks! :)
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: \cleardoublepage with page number?

Post by phi »

For the next time, please write which document class you use because solutions to problems like this depend crucially on the document class.
Post Reply