## LaTeX forum ⇒ Page Layout ⇒ Empty Page with Page Number Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

### Empty Page with Page Number

Dear forum members,

When I want to get an empty page I use either \cleardoublepage or \newpage{\pagestyle{empty}\cleardoublepage}. I wanted to ask you if there is the possibility of inserting an empty page with the page number.

Regards,
Marie

Tags:

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
Build a self-contained and minimal example.

Thorsten
LaTeX Community Moderator

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

Stefan Kottwitz
Posts: 8253
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Sure, empty pages are numbered by default. Just don't use \pagestyle{empty} as above. I cannot say more without the code, in case you are doing something which isn't standard.

Stefan

marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm
Dear forum members,

Here is the minimal working example for what I meant. I would like the empty page to have the number "2". I was wondering if this is possible. As I wrote, I do sometimes use
\newpage{\pagestyle{empty}\cleardoublepage}, although I think it might be the same as \cleardoublepage.
\documentclass[12pt,%%  draft,%   twoside,%   BCOR10mm,%%  bibtotocnumbered,% <= obsoletebib=totoc,        % <= recommendedtoc=listof,toc=bibliography,numbers=noenddot]{scrreprt} \usepackage[T1]{fontenc}\usepackage[utf8]{inputenc}\usepackage[spanish,ngerman,catalan,english]{babel}\usepackage{longtable}\usepackage{tablefootnote} \begin{document}\section{First Section}\label{sec:first-section}\newpage\cleardoublepage\section{Second Section}\label{sec:second-section}\end{document}

Regards,

Marie

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
Read Section 3.13 of the KOMA-Script user guide. And please learn how to build a proper minimal example for future questions.
LaTeX Community Moderator

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

marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

How can I find that Section?

What was wrong with the example I sent?

Many thanks.

Regards,

Marie

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
marie2011 wrote:[…] How can I find that Section? […]

Open a command line and type in the following.
texdoc scrguien

marie2011 wrote:[…] What was wrong with the example I sent? […]

It contains a lot of stuff that is not necessary to reproduce the problem.
LaTeX Community Moderator

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

marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm
Thanks a lot.

I have now the Script.

Regards,

Marie

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
marie2011 wrote:[…] I have now the Script. […]

You've had it all the time. It is installed along with the package on your system.

And if the primary problem is solved, please accept the answer that led you to the solution.
LaTeX Community Moderator

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

marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm
Hello,

I wrote \cleardoubleplainpage and everything works fine now.

Regards,
Marie