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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply