I am writing a document using book class and I'd like to implement the following:
a) The header of all even pages have the title of the respective chapter (and possibly also the number, I haven't made up my mind about this yet; but not "Chapter 2 - Some Math", just something like "2. Some Math"). Not in upper case though (which is the LaTeX default).
b) The header of all odd pages would have the title of the respective section (and, again, possibly its number). (To distinguish between section titles and page titles perhaps the former ones could be emphasised).
On even pages (titles) the header should be left align, and on odd pages (sections) the headers should be right aligned. I'd also like to have page numbers on the center of the footer.
Also, I would appreciate if someone could present a solution where all the pages (even and odd) would have a header as in a). Thank you in advance.
MWE:
\documentclass[11pt,a4paper]{book}
\usepackage[portuguese]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\begin{document}
\chapter*{Some Math Stuff}
\chapter{More Math Stuff}
\end{document}
fancyhdrseems fit for your purpose. To get chapter name in header, see this: http://tex.stackexchange.com/questions/89914/chapter-name-in-the-header-with-chapter – Herr K. May 27 '14 at 18:02