Text FormattingMake Part of ToC Entry not bold faced

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
nikvil
Posts: 1
Joined: Tue Jan 31, 2012 9:05 pm

Make Part of ToC Entry not bold faced

Post by nikvil »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post by localghost »

Use the optional short form for sectioning commands like \subsection.

Code: Select all

\subsection[ToC Entry]{Full Heading}

Best regards and welcome to the board
Thorsten
Post Reply