[texhax] Why does adjustwidth in changepage package sometimes create a blank page?

Lars Madsen daleif at math.au.dk
Mon Dec 8 10:11:03 CET 2014

Presumably because \chapter start by issuing \clearpage or \cleardoublepage

You really should not use adjustwidth around chapters etc.

What are you trying to achive?

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf

From: texhax [texhax-bounces at tug.org] on behalf of Douglas McKenna [doug at mathemaesthetics.com]
Sent: 06 December 2014 05:26
To: texhax at tug.org
Subject: [texhax] Why does adjustwidth in changepage package sometimes  create a blank page?

All -

I need to change the right margin back and forth depending on the type of text in individual lines on the page.  So I've been using the changepage package and the adjustwidth command/environment, which seems to do the job.

Except ...

Here is a Minimum Working Example (pdfTeX, TeXLive 2014), that does what I'd expect for a onside book document.  If you run this MWE, you get two pages, each with a Chapter title on it.  So far so good.

%%!TEX TS-program = pdflatex


\chapter{HERE WE GO}
\chapter{HERE WE GO AGAIN}


Now, uncomment the two lines that invoke adjustwidth. Run again and the result is now THREE pages, with a blank page inserted in front of the first chapter page, and with a line number 1 peculiarly in the upper right corner, even though on the next two pages it's centered in the footer.

And if you swap the two lines so that the \begin{adjustwidth} is AFTER the \chapter{HERE WE GO} line, the initial blank page 1 goes away.

I don't want this extra blank page, but I don't understand what is causing it so I don't know what the right solution is.  Seems like a bug to me, because adjusting page margin width should be orthogonal to any typesetting or creating new pages.

Any elucidation, ideas, or advices?


Doug McKenna

TeX FAQ: http://www.tex.ac.uk/faq
Mailing list archives: http://tug.org/pipermail/texhax/
More links: http://tug.org/begin.html

Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster at tug.org

More information about the texhax mailing list