Hi!
I have a problem with the table of contents in latex.
I am writing a science text where I am using a mathematical expression in the title to one of the subsections. This expression does not become bold as the rest of the title. To fix this I use the command \boldsymbol{<expression>} in the title. This makes the title look good.
The problem is that the expression also becomes bold in the table of contents, where the rest of the subsection title is not bold. How do I solve this problem? I do not want the mathematical expression to be bold in the table of contents.
Please excuse if my english is not perfect, I come from a non-english speaking country.
Text Formatting ⇒ Make Part of ToC Entry not bold faced
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Make Part of ToC Entry not bold faced
Use the optional short form for sectioning commands like \subsection.
Best regards and welcome to the board
Thorsten
Code: Select all
\subsection[ToC Entry]{Full Heading}
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10