My current layout looks like this:
\documentclass[12pt, onecolumn]{revtex4}
\tableofcontents
\section*{Acknowledgements}
\section{Chapter 1}
\section{Chapter 2}
\section{Chapter 3}
\section{Chapter 4}
\section{Chapter 5}
\section*{Appendix}
How do I remove the * sections (Acknowledgements and Appendix) from the contents page?
Although this question has been asked, I can't find a reasonable answer.
.auxfile, therefore at least two passes are required (in general enough, but not always sufficient!) to get a stable TOC. The second run is required to get table of contents titles right. This can offset things and thus change page numbers. Hence the need for a third run when you are producing the final version of your document. I don't think a fourth run can change the TOC, unless you are doing very custom TOC formatting where page nums can shift lines. – frougon Apr 08 '19 at 09:38.tocrather than.aux. – frougon Apr 08 '19 at 09:48