1

How can I remove one of the blank page between two chapters.

     \documentclass[12pt,titlepage,a4paper]{book}

     \input{chapter1}
     \newcommand*\NewPage{\clearpage\thispagestyle{empty}\null} 
     \NewPage
     \input{chapter2}
  • What is the document class (+ options)? Do you have any layout package loaded? How many blank pages do you have between chapters? – Bernard Jul 23 '14 at 12:28
  • what is the intention of the \NewPage command (which looks wrong) Please always provide a complete small document that shows the problem. – David Carlisle Jul 23 '14 at 12:33
  • The document class is : \documentclass[12pt,titlepage,a4paper]{book}, In this way that I create new command I have two blank pages. – rose Jul 23 '14 at 12:34
  • 1
    Of course you get two, because of \null that makes the current page non empty; but you don't need \NewPage, because \chapter issues \cleardoublepage, so the beginning of chapter2.tex will already insert a blank page if needed, and just one. – egreg Jul 23 '14 at 12:41
2

Deleting

 \newcommand*\NewPage{\clearpage\thispagestyle{empty}\null} 
 \NewPage

Should have the desired effect (the definition leaving \null at the top of the following page seems to be incorrect in all cases, and certainly is not wanted before a chapter heading)

1

If you are using a big table inside the page then you most probably get a blank space before the table start. Use longtable instead of tabular or table environment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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