50

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
    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
63

You should use the afterpage package.

In the preamble :

\usepackage{afterpage}

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

EDIT: I removed the makeatletter mention, since it is useless, and changed the \clearpage by \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.

  • 2
    You don’t actually need \makeatletter or \makeatother, as you don’t use any @ commands. And I think the OP wanted the text to continue till the end of page, so you could remove the \vfill too. – Karl Ove Hufthammer Dec 2 '11 at 10:53
  • To avoid problems with pending floats being written to the blank page, could you replace the final statement of the \blankpage macro, \clearpage, with \newpage? – Mico Dec 2 '11 at 10:56
  • 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
30

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.

13

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.

8

What's about

\leavevmode\thispagestyle{empty}\newpage

?

  • 1
    That will make a page break at the current point, not after the page has been filled. – Andrew Swann May 10 '16 at 8:11

protected by Community Jul 5 '15 at 17:15

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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