Text FormattingFormat Appendix in TOC

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jm53
Posts: 1
Joined: Wed Apr 27, 2016 1:44 pm

Format Appendix in TOC

Post by jm53 »

Hello,

I am beginner in latex and I want to format the title of my appendix in the TOC. I want to use subsection to add appendix in my TOC with the format example as below :
1 Title 1 (section) . . . . . . . . . . . . . . . . . . . . . . 1
2 Title 2 (section) . . . . . . . . . . . . . . . . . . . . . . 2
3 Title 2 (section) . . . . . . . . . . . . . . . . . . . . . . 3
3.1 Title 3.1 (subsection) . . . . . . . . . . . . . . . . . 4
3.2 Title 3.2 (subsection) . . . . . . . . . . . . . . . . . 5

APPENDICES . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Appendix A : Title appendix A (subsection) . . . . . 7
Appendix B : Title appendix B (subsection) . . . . . 8
However I have not find the solution to add "Appendix" before the letter of the subsection and ":" after it.

I think that the solution is to use the tocloft package but I don't know how.

Thank you for your help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post Reply