Hello I am new to LaTeX and I am having a problem using fancyhdr
package I want the header to only show the chapter number and chapter name in the center of the page and I am having issues doing that the code I am using is
\rhead{}
\chead{}
\lhead{**XXXXX**}
\cfoot{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
where the XXXXX is suppose to be changed to a specific code i tried using \thechapter . \chaptername
hoping it would show something like 'Chapter 2.Theoratical Background' but it only shows the number and nothing else I am probably making a mistake with the syntax can someone please help me out. Thank you
\chaptername
isChapter
usually, but not the title of the chapter. For more on this, it requires the knowledge of the documentclass