Using \usepackage{titlesec}, I can change the color of sections and subsections so they are all the same, but the title of the Table of Contents ("Contents") remains black text. I suspect that using \usepackage{titletoc} will enable me to change its color so it matches the section titles, but in my research, I can't find anything this specific. my documentclass is book, if that makes any difference. Thanks.
-Trip
General ⇒ Coloring Table of Contents Title
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Coloring Table of Contents Title
Hi Trip,
try changing the chapter style, Contents should be printed by \chapter*, not \section*.
Stefan
try changing the chapter style, Contents should be printed by \chapter*, not \section*.
Stefan
LaTeX.org admin
- tripwire45
- Posts: 129
- Joined: Thu Apr 10, 2008 4:35 am
Re: Coloring Table of Contents Title
Thanks. Of course, I was making heavy use of subsections and subsubsections, so I had to make some changes throughout the document to get things to work out. It did the trick, though. Thanks.