Page LayoutUnwanted extra page at the end of all chapters

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
ermarotten
Posts: 1
Joined: Mon Jun 29, 2009 11:16 am

Unwanted extra page at the end of all chapters

Post by ermarotten »

The PDF output of my thesis produces an extra page at the end of every chapter. This page has the title on the first line of text (but without the first word of that chapter's title) and page number.

When I compile the chapters individually, the output is OK, meaning to say, no extra page produced. But when I put back all the chapters together using \include, the problem reoccurs.

My main tex file uses the report documentclass and just the url package.

Please help!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

fatra2
Posts: 126
Joined: Fri May 01, 2009 1:43 pm

Re: Unwanted extra page at the end of all chapters

Post by fatra2 »

Hi there,

Firstly, the \include command automatically starts a new page.

Do you put the \chapter command in your main document, and then include the text from an external file? If so, you need to change that and include the \chapter command in your text file.

Cheers
phx_ern
Posts: 2
Joined: Mon Mar 22, 2010 9:10 pm

Re: Unwanted extra page at the end of all chapters

Post by phx_ern »

I have exactily the same problem here.
I'm placing \chapter{...} in separate .tex files and then I \include them into the main document. When I compile the whole, I have extra pages everywhere...
Please help
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Unwanted extra page at the end of all chapters

Post by frabjous »

Please follow board rules and provide a minimal working example showing the problem.

...or at least tell us what document class you're using.
phx_ern
Posts: 2
Joined: Mon Mar 22, 2010 9:10 pm

Re: Unwanted extra page at the end of all chapters

Post by phx_ern »

thanks for your answer, you actually helped me a lot as I've seen that the type was book so changing it to report resolved my problem. thanks again=)
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Unwanted extra page at the end of all chapters

Post by frabjous »

If you wanted to keep it as book, probably you just needed to add the the oneside or openany options:

\documentclass[openany]{book}

or

\documentclass[oneside]{book}

These two slightly different things. The former will keep the "mirror margins", but allow chapters to open on verso sides. The latter will make every page appear as a recto side, but will also allow chapters to open on any page.
Post Reply