# [texhax] the current section in \leftmark

Thu Sep 17 09:36:34 CEST 2009

also sprach Lars Madsen <daleif at imf.au.dk> [2009.09.12.2143 +0200]:
> it is pretty much standard to let the headers display the current
> state on the page, not the one from the previous page.

It might be. I fail to see the point. Rather than repeating the
information from the page in the header, I'd appreciate the context
with which I enter a page. If the header information is primarily
useful to those flipping through pages for orientation, then I doubt
that having "2.5 Previous Section" appear in the header where "2.6
Sought Section" begins will severely throw the searcher off; they'll
stop the fast-paced flipping and resort to slow searching.

> to change it you need to read up on how the headers are handled and
> in particular the difference between \left- and \rightmark

This is unfortunately way more difficult than I had hoped. I knew
about leftmark and rightmark, but I thought that an easier way
should exist. Hence my question.

Thanks for taking the time to reply!

--

"lessing was a heretics' heretic"
-- walter kaufmann