[OS X TeX] fancyhdr question
cmenzel at tamu.edu
Thu Oct 13 16:51:06 CEST 2011
I am using the article documentclass and the following header formatting:
The documentation for fancyhdr points out that if one wants both the current section (\leftmark) and subsection (\rightmark) to appear in one's header (and the code above shows that I do), on the first page of a new section the \rightmark will be empty and hence the subsection, even though it appears on that page, will not show up in the header for that page. The documentation then notes:
If this is a problem you must manually insert extra \markright
commands or redefine the ... \sectionmark command to issue a
\markboth command with two decent parameters.
Alas, although it looks like it would be easy for a TeX whiz, I have no idea how to implement these solutions. I have spent a good bit of time trying to hunt more concrete code on the web, to no avail. A relevant URL or a code snippet would be most appreciated.
More information about the macostex-archives