I'm using the fancyhdr to make fancy headings but I can't make the section name to appear in the left side of the heading. This is the code (a part of it):
Code: Select all
\usepackage{fancyhdr}
\renewcommand{\sectionmark}[1]{%
\markboth{\sectionname
\ \thesection.\ #1}{}}
\headheight15pt
\pagestyle{fancy}
\fancyhead{} % clear all header fields
\fancyhead[RO]{PID}
\fancyhead[LE]{\bfseries \nouppercase{\sectionname}}
\fancyfoot{} % clear all footer fields
\fancyfoot[CE,CO]{\thepage}
\renewcommand{\headrulewidth}{1.5pt}
\renewcommand{\footrulewidth}{0pt}
Any suggestions??
Thanks in advance.