92

I want to insert a blank page in a document so that the text would be added to the content of the current page till it reaches end of the page, the next page would be empty, and the text continue from the third page!

If I used \afterpage{\newpage} but it just does not work! what should I do?

2
  • 4
    Do you want the page counter to increment across the blank page, e.g., to go from p.7 to p. 9?
    – Mico
    Dec 2, 2011 at 10:49
  • This page contains a few solutions that I found helpful zhiganglu.com/post/latex-insert-blank-page
    – arara
    Apr 12, 2022 at 20:43

5 Answers 5

101

You should use the afterpage package.

In the preamble :

\usepackage{afterpage}

\newcommand\blankpage{%
    \null
    \thispagestyle{empty}%
    \addtocounter{page}{-1}%
    \newpage}

In the text before the blank page, insert the following code:

\afterpage{\blankpage}

It should do the trick. Be aware that unresolved floats might be a trouble here.

17
  • How to reduce page counter within preliminaries where page numbers are roman?
    – fatih
    Jan 10, 2018 at 14:01
  • @fatih Did you try to use the solution provided? What is the issue?
    – Martigan
    Jan 11, 2018 at 9:08
  • @Martigan Yes, I did. The problem was with another patch I applied together with this one. It appeared that the former was incrementing the page counter, effectively compensating the decrement in this solution. So the solution works for me also. Thanks.
    – fatih
    Jan 14, 2018 at 13:33
  • What's the purpose of using \afterpage{}? It seems that \blankpage on its own does the job.
    – Bilbottom
    Jul 14, 2018 at 21:10
  • 1
    @MartijnCourteaux I believe the fact that this is the very first thing you do may be the issue. I have to admit my understanding of the deeper inner workings of LateX is low, so I can't explain. You found a solution, that is the main news!
    – Martigan
    Dec 12, 2023 at 8:03
45

You just need something – anything – before or after the \newpage command. Try

\afterpage{\null\newpage}

Of course, this doesn’t remove page numbers or headers and footers, and it does increase the page number. If you don’t want this, see Martigan’s solution.

43

Just use \newpage \ \newpage:

my current page

\newpage 

\ % The empty page

\newpage

The next page
6
  • 7
    I think this is the most simplest way. Sep 18, 2020 at 9:32
  • 1
    short and sweet solution!
    – kmario23
    Jul 10, 2021 at 13:17
  • This solution is exactly what I need! Jun 16, 2022 at 7:57
  • Simple, violent, but useful! Oct 28, 2022 at 0:11
  • 2
    @MuhammadYasirroni add \thispagestyle{empty} to avoid printing page number.
    – arilwan
    Aug 20, 2023 at 23:37
22

I think you can avoid using the afterpage package. In the preamble, write:

\def\blankpage{%
      \clearpage%
      \thispagestyle{empty}%
      \addtocounter{page}{-1}%
      \null%
      \clearpage}

In the document environment, use the \blankpage command to add blank pages without style or counting.

10

What's about

\leavevmode\thispagestyle{empty}\newpage

?

2
  • 1
    That will make a page break at the current point, not after the page has been filled. May 10, 2016 at 8:11
  • Add a space before it. It worked for me.
    – Kokul Jose
    Jun 12, 2020 at 19:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .