I'm using fancydr
like this:
\usepackage{titlesec} % Normal chapter titles
\titleformat{\chapter}{\normalfont\LARGE\bfseries}{\thechapter.}{1em}{}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\lhead{\emph{\leftmark}}
\rhead{\nouppercase{\emph{\rightmark}}}
\cfoot{\thepage}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\space#1}{}}
\setlength{\headheight}{15pt}
This doesn't work well with chapter*{}
, as it leaves the last chapter's details to the header.
e.g. I have
\chapter{Conclusions and future directions}
\input{./tex/conclusions}
\chapter*{Summary}
\input{./tex/summary}
\addcontentsline{toc}{chapter}{Summary}
Then the pages in summary show Conclusions and future directions
in their header. How could I make fancyhdr
work with chapter*
? and is there a possibility to disable the fancyhdr
for some pages?
\chaptermark{Summary}
besides the\addcontentsline
command.0. Abbrevations and Symbols
, but I'd like justAbbrevations and Symbols
. the alternative, which might even be better is to disablefancyhdr
for some pages, is this possible?titlesec
discourages the use of starred versions of sectional units.