Page LayoutBold Math Font in ToC Entries for Sections

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Jojoba86
Posts: 6
Joined: Fri Dec 09, 2011 7:52 pm

Bold Math Font in ToC Entries for Sections

Post by Jojoba86 »

I am having a problem with using maths in the section names. For the section names themselves the following code works to give me the appropriate bold style,

Code: Select all

\subsection{Copper \texorpdfstring{$\boldsymbol {K_\alpha}$}{Ka} Imager}
while not upsetting hyperref with maths in PDF bookmarks.

However, this also has the undesirable effect of making $K_\alpha$ bold in the contents line entry.

Is there any easy way around this, for example is there away of putting in a custom contents line entry, while still keeping the section numbering going?
Last edited by Jojoba86 on Fri Dec 23, 2011 7:14 pm, edited 1 time in total.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Jojoba86
Posts: 6
Joined: Fri Dec 09, 2011 7:52 pm

Bold Math Font in ToC Entries for Sections

Post by Jojoba86 »

Oh, nevermind, I see it is quite easy really,

Code: Select all

\subsection[Copper \texorpdfstring{$K_\alpha$}{Ka} Imager]{Copper $\boldsymbol {K_\alpha}$ Imager}
gives the desired effect.
Post Reply