Hi,

i am trying to put the subsection or section number and the names of section/subsection in the header. i used the following commands in the preamble

\usepackage{fancyhdr}
\pagestyle{fancy}

\renewcommand{\subsectionmark}[1]{\markright{\thesubsection.\ #1}}

\fancyhead[L]{\nouppercase \rightmark}


It works on other pages except the first page that have chapter heading. I can put the chapter number and chapter name in the header on this page by adding
\renewcommand{\chaptermark}[1]{\markright{\thechapter.\ #1}}

command in the preamble. but i would like to have the section number and section heading on this page as well like the ohter pages ruther than chapter information. Can someone please let me know how it could be done



thanks

Reply via email to