my problem I try to have the section names in the header. Some sections are not numbered, however do I want them as well in my header.
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancypagestyle{plain}{}
\fancyhf{}
\fancyhead[RE,LO]{\rmfamily \small \nouppercase \leftmark}
\fancyfoot[LE,RO]{\thepage}
\setlength{\headsep}{.5cm}
This is the codes I use for my headers and footers.
\section*{List of Symbols and Abbreviations}
The list of symbols doesn't have to be numbered, so I put an asterisk after \section
. Is there a way to have "List of Symbols and Abbreviations" in the header?
This is the code to copy+past and try it out by yourself..
\documentclass[10pt, a4paper,twoside]{scrartcl}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancypagestyle{plain}{}
\fancyhf{}
\fancyhead[RE,LO]{\rmfamily \small \nouppercase \leftmark}
\setlength{\headsep}{.5cm}
\begin{document}
\section*{Abstract}
\newpage
\tableofcontents
\newpage
\listoffigures
\newpage
\section*{List of Symbols}
\newpage
\section{Introduction}
\newpage
\section{Basics}
\newpage
\section*{appenix}
\end{document}
as you can see the section abstract, list of symbols and appenix is not displayed in the header, whereas the section introduction is displyed