(I found out this would probably be easier in the book class... but I rather stick with the article class.)
Some of the code I use:
Code: Select all
\documentclass[12pt,a4paper,twoside]{article}
\usepackage{fancyhdr,lastpage,extramarks}
\usepackage{titlesec}
\usepackage[english]{babel}
\usepackage{blindtext}
\newcommand\sectionbreak{\clearpage}
\begin{document}
\pagestyle{fancy}
\fancyfoot{}
\fancyhf{}
\fancyhead[LO,LE]{\nouppercase\firstleftmark}
\fancyhead[RO,RE]{\emph{Page \thepage}}
\blinddocument
\end{document}