[OS X TeX] running heads

Don Green Dragon fergdc at Shaw.ca
Mon Nov 7 21:45:11 CET 2011

Hello Art,

On 2011-15Aug-, at 10:22 AM, Art Werschulz wrote:

> Hi.
> In the book document class, the left running head is the page number, along with the chapter number and name; the right running head is the section number and name, followed by the page number.  This is fine most of the time.  However:
> (1) In that portion of a chapter that precedes the first section, the right running head is empty, except for the page number.  This looks a bit strange.  This is especially problematic in the Preface, which appears before the \mainmatter directive (which allows "Preface" to appear in the Table of Contents, but without a "chapter number"); since we don't want the Sections of the Preface to appear in the ToC, we're using \section*, rather than \section.  So (other than page numbers), every right running head is empty, and every left running head is "Preface".
> It would make sense for heading to contain the chapter number and name, rather than blank space.

I don't know how to change the prelude in order to accommodate your description. Although I did not notice what you describe, prior to reading your message, I prefer the existing setup.

> (2) If the last page of a chapter is recto (odd-numbered), then an almost-blank page will be ejected, so that the new chapter can begin on a recto page.  So we have the strange situation in which the left-hand page is nearly empty, containing only the number and name of the old chapter, and the right-hand page starts off the new chapter, beginning with its title.  It would make sense for the ejected verso (even-numbered) page to be blank (or maybe to have only the page number in the heading).
> Any suggestions on how to easily handle this problem?  Thanks!

With respect to your problem (2), you can place

\usepackage{cleardoublepage}	% inserts blank page if chapter ends on odd page							% applies to front matter also

in your prelude. In consequence, if the last page in a chapter has neither text nor graphics and is even numbered, then it will appear as a blank page. This will apply also  in your 'Contents' pages, List of Tables, etc. I don't use the package, but it may be to your liking.  :-)

Don Green Dragon
fergdc at Shaw.ca

More information about the macostex-archives mailing list