LaTeX forum ⇒ Page Layout\cleardoublepage with page number?

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

\cleardoublepage with page number?

Postby demon » Tue Feb 10, 2009 7:57 pm

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.

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

Postby Stefan Kottwitz » Tue Feb 10, 2009 10:47 pm

Hi,

it depends on your class and the packages used. Perhaps change the page style empty to plain:
  1. \makeatletter
  2. \let\ps@empty\ps@plain
  3. \makeatother

or to fancy or scrheadings or whatever you are using. packages like fancyhdr and scrpage2 are providing commands to solve this problem.

Stefan
Site admin

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

Postby localghost » Wed Feb 11, 2009 11:43 am

Perhaps the fancyhdr manual has a solution (Section 15 - Those blank pages, p. 15).
  1. \clearpage{\pagestyle{plain}\cleardoublepage}

This solution depends not on the usage of that package.


Best regards
Thorsten¹
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

demon
Posts: 26
Joined: Thu Nov 27, 2008 3:45 pm

Postby demon » Wed Feb 11, 2009 11:45 am

\documentclass[cleardoublepage=plain]{scrreprt} is the solution. Thanks! :)

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Postby phi » Wed Feb 11, 2009 12:54 pm

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


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 5 guests