General ⇒ Appendix problem
Appendix problem
To create appendices (Appendix A and Appendix B), I used the commands listed below. My problem is that the appendix A and the appendix B appear as "A" and "B" in the table of contents instead of "Appendix A" and "Appendix B". In the related appendix chapters however, the headers appear correctly.
How to precede the appendixname (A and B) by the word "Appendix" in the table of contents?
\usepackage[toc]{appendix}
\appendix
\addappheadtotoc
\input{AppendixA}
\input{AppendixB}
Here is how Appendices get displayed in the table of contents:
A
A.1 main A heading . . . . . . . . . . . . . . . . . . . . . . . . 174
A.1.1 section heading1 . . . . . . . . . . . . 174
A.1.2 section heading2 . . . . . . . . . . . . . 176
B
B.1 main B heading . . . . . . . . . . . . . . . . . . . . . . . . 178
Thanks
Carol
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Re: Appendix problem
\begin{appendices}...\end{appendices}
instead of \appendix.
(I think that's what you want, right?)