I am using the article class and want to name my appendices
Appendix A Theory
A.1 One theory
A.2 Another theory
etc.
I want this to be displayed both in the table of contents and in the text itself. I found this code on the web
Code: Select all
\appendix
\makeatletter
\def\@seccntformat#1{\csname Pref@#1\endcsname \csname the#1\endcsname\quad}
\def\Pref@section{Appendix~}
\makeatother
\include{appendix_a}
A Theory
A.1 One theory
How do I get the word "Appendix" to be displayed before "A Theory" in the table of contents?