Using fancyhdr it is very easy to produce the following layout:
Code: Select all
left (even) page right (odd) page
____________________________________ ____________________________________
| | | |
| [# chapter ] | | [ section #] |
| .--------------------. | | .--------------------. |
| | | | | | | |
| | body | | | | body | |
| | | | | | | |
Code: Select all
\usepackage{fancyhdr}
\pagestyle{fancy}
% Let's get rid of "Chapter X." in the headers...
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
% ...and also of the trailing dots after section numbers
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}{}}
\fancyhf{} % Delete current setting for header and footer
\fancyhead[LE]{\thepage\hspace{1em}\leftmark}
\fancyhead[RO]{\rightmark\hspace{1em}\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{1.6pt} % Space for the rule and larger letters
\fancypagestyle{plain}{
\fancyhead{} % Get rid of headers on plain pages...
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0pt} % ...and of the lines
\renewcommand{\footrulewidth}{0pt}
}
\fancypagestyle{empty}{
\fancyhead{} % Get rid of headers on plain pages...
\fancyfoot{} % Get rid of footers on plain pages...
\renewcommand{\headrulewidth}{0pt} % ...and of the lines
\renewcommand{\footrulewidth}{0pt}
}
Code: Select all
left (even) page right (odd) page
____________________________________ ____________________________________
| | | |
| [#] [chapter ] | | [ section] [#] |
| .--------------------. | | .--------------------. |
| | | | | | | |
| | body | | | | body | |
| | | | | | | |
Any help would be much appreciated.
Best regards,
nvx