71

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?

1
  • 3
    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 '11 at 10:49
86

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.

11
  • How to reduce page counter within preliminaries where page numbers are roman?
    – fatih
    Jan 10 '18 at 14:01
  • @fatih Did you try to use the solution provided? What is the issue?
    – Martigan
    Jan 11 '18 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 '18 at 13:33
  • What's the purpose of using \afterpage{}? It seems that \blankpage on its own does the job. Jul 14 '18 at 21:10
  • @BillWallis It is important since you do not want to remove the style and numerotation of the active page when you input blankpage... You want it to be done after the current page is done. I suggest you try both, and you will see the difference very clearly (at last if you do it in several cases).
    – Martigan
    Jul 16 '18 at 13:48
38

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.

20

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.

16

Just use \newpage \ \newpage:

my current page

\newpage 

\ % The empty page

\newpage

The next page
2
  • 4
    I think this is the most simplest way. Sep 18 '20 at 9:32
  • 1
    short and sweet solution!
    – kmario23
    Jul 10 at 13:17
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 '16 at 8:11
  • Add a space before it. It worked for me.
    – Kokul Jose
    Jun 12 '20 at 19:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.