[texhax] the current section in \leftmark
daleif at imf.au.dk
Sat Sep 12 21:43:33 CEST 2009
martin f krafft wrote:
> Hi folks,
> Have a look at the attached text document, and in particular page 6.
> The header talks about section 1.2, but that only starts on this
> page. Would it not make a whole lot more sense to have in the header
> the section with which the page starts, i.e. the previous section?
> How can I make LaTeX do that?
it is pretty much standard to let the headers display the current state
on the page, not the one from the previous page.
to change it you need to read up on how the headers are handled and in
particular the difference between \left- and \rightmark
More information about the texhax