Am using LegrandOrangeBook book template. I would like to know how to remove the page numbers on the top headers and their corresponding section names. I want to have the page number in the centre of the footer.

1 Answer 1


In file "structure.tex", replace the code with following, about at row 176.

\fancyhf{} % Clear default headers and footers
%\fancyhead[LE,RO]{\sffamily\normalsize\thepage} % Styling for the page number in the header
%\fancyhead[LO]{\rightmark} % Print the nearest section name on the left side of odd pages
%\fancyhead[RE]{\leftmark} % Print the current chapter name on the right side of even pages
\fancyfoot[C]{\thepage} % Uncomment to include a footer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .