Search found 3 matches

by latex101
Wed May 19, 2010 3:18 pm
Forum: Page Layout
Topic: Display "Appendix" before "A" in toc
Replies: 5
Views: 18381

Display "Appendix" before "A" in toc

Thanks again, you're a genious!

Just wondering: Why does it only work if \usepackage{tocloft} is placed directly under \documentclass[a4paper, english, 12pt]{article} .

If I have declare my other packages first
\documentclass[a4paper, english, 12pt]{article}

\usepackage{babel, fancyhdr, amsmath ...
by latex101
Wed May 19, 2010 2:29 pm
Forum: Page Layout
Topic: Display "Appendix" before "A" in toc
Replies: 5
Views: 18381

Re: Display "Appendix" before "A" in toc

Thank you, that fixed it!

While we're at it.. is it possible to get the words "Figure" and "Table" to be displayed in the table of contents, in the article class?
Now it says:
List of figures
1.1 A figure
1.2 Another figure

and I want it to say
List of figures
Figure 1.1 A figure
Figure 1.2 ...
by latex101
Wed May 19, 2010 12:31 pm
Forum: Page Layout
Topic: Display "Appendix" before "A" in toc
Replies: 5
Views: 18381

Display "Appendix" before "A" in toc

Hi,

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

\appendix
\makeatletter
\def\@seccntformat#1{\csname Pref@#1 ...