Featured Book

LaTeX Beginners Guide

Who is online

In total there are 9 users online :: 0 registered, 0 hidden and 9 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 9 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

Empty Page with Page Number Topic is solved

numberingAdd tags Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).

Empty Page with Page Number

Postby marie2011 on Mon Feb 11th, 2013

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.

Many thanks in advance.

Regards,
Marie
marie2011
 
Posts: 138
Joined: Mon Feb 6th, 2012

Re: Empty Page with Page Number

Postby localghost on Mon Feb 11th, 2013

Build a self-contained and minimal example.


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


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: Empty Page with Page Number

Postby Stefan_K on Mon Feb 11th, 2013

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
LaTeX Community Administrator
User avatar
Stefan_K
Site Admin
 
Posts: 6379
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

Re: Empty Page with Page Number

Postby marie2011 on Tue Feb 12th, 2013

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.
Code: Select all  •  Open in writeLaTeX
\documentclass[
12pt,%
%  draft,%
  twoside,%
  BCOR10mm,%
%  bibtotocnumbered,% <= obsolete
bib=totoc,        % <= recommended
toc=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
}

Many thanks in advance.

Regards,

Marie
marie2011
 
Posts: 138
Joined: Mon Feb 6th, 2012

Re: Empty Page with Page Number  Topic is solved

Postby localghost on Tue Feb 12th, 2013

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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: Empty Page with Page Number

Postby marie2011 on Tue Feb 12th, 2013

Thanks for your answer.

How can I find that Section?

What was wrong with the example I sent?

Many thanks.

Regards,

Marie
marie2011
 
Posts: 138
Joined: Mon Feb 6th, 2012

Re: Empty Page with Page Number

Postby localghost on Tue Feb 12th, 2013

marie2011 wrote:[…] How can I find that Section? […]

Open a command line and type in the following.
Code: Select all  •  Open in writeLaTeX
texdoc scrguien

Then go to the page with the table of contents and search for that particular section. Alternatively just follow the link in my last reply.

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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: Empty Page with Page Number

Postby marie2011 on Tue Feb 12th, 2013

Thanks a lot.

I have now the Script.

Regards,

Marie
marie2011
 
Posts: 138
Joined: Mon Feb 6th, 2012

Re: Empty Page with Page Number

Postby localghost on Tue Feb 12th, 2013

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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: Empty Page with Page Number

Postby marie2011 on Wed Feb 13th, 2013

Hello,

I wrote \cleardoubleplainpage and everything works fine now.

Regards,
Marie
marie2011
 
Posts: 138
Joined: Mon Feb 6th, 2012


Topic Tags

numbering

Return to Page Layout

Who is online

Users browsing this forum: No registered users and 9 guests