I am using the documentclass article and the fancyhdr package. Be default, the header contains information on the current chapter and the current subsection. I would like to change this so as to display the current subsection and the current subsubsection. Unfortunately, the explanations in http://www.ctan.org/tex-archive/macros/ ... ncyhdr.pdf don't help me at all....From there I got the minimal example
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{\rightmark}
\fancyhead[LO,RE]{\leftmark}
\fancyfoot[C]{\thepage}
\begin{document}
\section{chapter}
\subsection{subsection}
\subsubsection{subsubsection}
\pagebreak
blah
\end{document}
1.1 subsection 1.1.1 subsubsection
instaed of
1 CHAPTER 1.1 subsection
How could this possibly be done?
Thank you.
Pere