Page Layout ⇒ ToC for Chapters
-
- Posts: 4
- Joined: Sun Jun 20, 2010 12:12 am
ToC for Chapters
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
-
- Posts: 162
- Joined: Wed Jun 17, 2009 10:18 pm
Re: ToC for Chapters
http://www.ctan.org/tex-archive/help/Ca ... nitoc.html
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
ToC for Chapters
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 4
- Joined: Sun Jun 20, 2010 12:12 am
Re: ToC for Chapters
ToC for Chapters
Code: Select all
\usepackage{titlesec}
\titleformat{\chapter}
{\titlerule
\vspace{.8ex}%
\rmfamily\normalfont\scshape\huge}
{\thechapter}{.5em}{}