0

I would like to turn off the chapter number and section number for appearing in my headers from a certain point in my document.

I don't want my appendix to have a chapter number and also don't want sections in my appendix to be numbered - but in the header they appear and chapter 0 and section 0.0.

\documentclass[12pt,twoside]{report}

\usepackage{fancyhdr} % For the header bar on pages
\pagestyle{fancy}
\fancyhf{}
\fancyhead[EL]{\nouppercase\leftmark}
\fancyhead[OR]{\nouppercase\rightmark}
\fancyhead[ER,OL]{\thepage}
\usepackage{titlesec}

\chapter*{Appendix}
\chaptermark{Appendix}
\addcontentsline{toc}{chapter}{Appendix}

\section*{Simulations of}
\sectionmark{Simulations of}
\addcontentsline{toc}{section}{Simulations of}

Main text chapter

Main text section

Appendix

Appendix section

Bibliography

What is weird, it does this automatically for my bibliography Edit: I have seen blanket solutions which does it for the whole document but is not what im looking for!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.