LaTeX forum ⇒ Page LayoutEmpty 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

Postby marie2011 » Mon Feb 11, 2013 10:39 am

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

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby localghost » Mon Feb 11, 2013 10:53 am

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

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
Stefan Kottwitz
Site Admin
Posts: 7803
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Mon Feb 11, 2013 11:03 am

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
Site admin

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby marie2011 » Tue Feb 12, 2013 9:10 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.
  1. \documentclass[
  2. 12pt,%
  3. % draft,%
  4. twoside,%
  5. BCOR10mm,%
  6. % bibtotocnumbered,% <= obsolete
  7. bib=totoc, % <= recommended
  8. toc=listof,
  9. toc=bibliography,
  10. numbers=noenddot
  11. ]{scrreprt}
  12.  
  13. \usepackage[T1]{fontenc}
  14. \usepackage[utf8]{inputenc}
  15. \usepackage[spanish,ngerman,catalan,english]{babel}
  16. \usepackage{longtable}
  17. \usepackage{tablefootnote}
  18.  
  19. \begin{document}
  20. \section{First Section}
  21. \label{sec:first-section}
  22. \newpage
  23. \cleardoublepage
  24. \section{Second Section}
  25. \label{sec:second-section}
  26. \end{document}

Many thanks in advance.

Regards,

Marie

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby localghost » Tue Feb 12, 2013 9:37 pm

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

Link:
BBcode: Topic is solved[/url]" title="Click to select post's link in BBcode format" onclick="this.focus();this.select();" />
HTML: Topic is solved</a>" title="Click to select post's link in HTML format" onclick="this.focus();this.select();" />
Hide post links
Show post links

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

Postby marie2011 » Tue Feb 12, 2013 9:53 pm

Thanks for your answer.

How can I find that Section?

What was wrong with the example I sent?

Many thanks.

Regards,

Marie

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby localghost » Tue Feb 12, 2013 10:23 pm

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

Open a command line and type in the following.
  1. 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

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby marie2011 » Tue Feb 12, 2013 10:29 pm

Thanks a lot.

I have now the Script.

Regards,

Marie

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby localghost » Tue Feb 12, 2013 10:32 pm

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

Link:
BBcode:
HTML:
Hide post links
Show post links

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

Postby marie2011 » Wed Feb 13, 2013 11:53 am

Hello,

I wrote \cleardoubleplainpage and everything works fine now.

Regards,
Marie

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 4 guests