I am writing a book and have already made contract for x pages with the printing company, so I want to create a PDF containing x pages. However, say that I only have material enough to fill x − y pages. Is there some package or simple hack available for adding y empty pages at the end of the document? I.e. I want to add empty pages until the latest added page is page number x.
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
You can do this using a simple loop. The following code will ensure the document to be e.g. 100 pages in size:
|
||||
|
|
|
The memoir package provides the
Thus, to fill to 84 pages, for example, you would use |
|||
|
|
clearpage\nullthe appropriate number of times. (And add\pagestyle{empty}after the first\clearpage\null.) – lockstep Aug 6 '11 at 9:34