TransWikia.com

Insert a blank page after current page

TeX - LaTeX Asked by amrzar on August 1, 2021

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?

5 Answers

You should use the afterpage package.

In the preamble :

usepackage{afterpage}

newcommandblankpage{%
    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.

Correct answer by Martigan on August 1, 2021

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

afterpage{nullnewpage}

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.

Answered by Karl Ove Hufthammer on August 1, 2021

What's about

leavevmodethispagestyle{empty}newpage

?

Answered by Corrado on August 1, 2021

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

defblankpage{%
      clearpage%
      thispagestyle{empty}%
      addtocounter{page}{-1}%
      null%
      clearpage}

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

Answered by 沙漠之子 on August 1, 2021

Just use newpage newpage:

my current page

newpage 

 % The empty page

newpage

The next page

Answered by luchonacho on August 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP