Page LayoutEmpty Page with Page Number

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

Empty Page with Page Number

Post by marie2011 »

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

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Empty Page with Page Number

Post by localghost »

Build a self-contained and minimal example.


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

Empty Page with Page Number

Post by Stefan Kottwitz »

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.org admin
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Empty Page with Page Number

Post by marie2011 »

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

\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
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Empty Page with Page Number

Post by localghost »

Read Section 3.13 of the KOMA-Script user guide. And please learn how to build a proper minimal example for future questions.
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Re: Empty Page with Page Number

Post by marie2011 »

Thanks for your answer.

How can I find that Section?

What was wrong with the example I sent?

Many thanks.

Regards,

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

Empty Page with Page Number

Post by localghost »

marie2011 wrote:[…] How can I find that Section? […]
Open a command line and type in the following.

Code: Select all

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.
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Re: Empty Page with Page Number

Post by marie2011 »

Thanks a lot.

I have now the Script.

Regards,

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

Empty Page with Page Number

Post by localghost »

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.
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

Empty Page with Page Number

Post by marie2011 »

Hello,

I wrote \cleardoubleplainpage and everything works fine now.

Regards,
Marie
Post Reply