Page Layoutcustomize chapter name in toc

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
slinux
Posts: 8
Joined: Fri Jan 14, 2011 10:46 am

customize chapter name in toc

Post by slinux »

I glanced through the manual document of tocloft package and figured out how i can change the figure and table of lists as I want

Code: Select all

\setlength{\cftfignumwidth}{55pt}
\renewcommand{\cftfigpresnum}{\figurename\ }
\renewcommand{\cftfigaftersnum}{.}

\setlength{\cfttabnumwidth}{55pt}
\renewcommand{\cfttabpresnum}{\tablename\ }
\renewcommand{\cfttabaftersnum}{.}
I think, I'm slowly getting used to Latex ;)

Thank you very much @frabjous.

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