I have this code
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[margin=2.5cm]{geometry} % showframe
\usepackage{multirow}
\usepackage{multicol}
\usepackage{tabularx}
\usepackage{caption}
\usepackage{booktabs}
\usepackage{bm}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{siunitx}
\usepackage[skip=0.33\baselineskip]{caption}
\captionsetup[table]{
font=bf,
size=normalsize,
justification=centerlast,
labelsep=newline
}
\renewcommand\thetable{\Roman{table}}
\begin{document}
\listoftables
\pagenumbering{roman}
\pagenumbering{arabic}
\setcounter{page}{1}
\vspace{10ex}
\def\arraystretch{1.5}
\begin{table}[h]
\centering
\setlength\tabcolsep{0pt}
\sisetup{table-format=2.2, group-separator={,}, group-minimum-digits=4}
\caption{\large{Header that includes math like this: $\bm{t(\alpha)}$}}
\label{table:fundsummary}
\parbox{\linewidth}{\small{This table presents some very interesting and very fancy data, which I expect will provide me with at least two Nobel prizes.}\vspace{2ex}}
\medskip\small\begin{tabular*}{\linewidth}{@{\extracolsep{\fill}}
l
S[table-format=-2.2]
*{6}{S}
}
\toprule
\multicolumn{1}{c}{\multirow{2}{*}{Description}}&
\multicolumn{1}{c}{\multirow{2}{*}{Variable}}&
\multicolumn{5}{c}{Averages}\\\cmidrule{3-7}
\multicolumn{2}{c}{}&{Factor 1}&{Factor 2}&{Factor 3}&{Factor 4}&{Factor 5}\\\midrule
Section 1 &11.11 &22.22 &33.33 &44.44 &55.55 &66.66\\\midrule
Section 2\\
Section 2.2 &11.11 &22.22 &33.33 &44.44 &55.55 &66.66\\
Section 2.3 &11.11 &22.22 &33.33 &44.44 &55.55 &66.66\\
Section 2.4 &11.11 &22.22 &33.33 &44.44 &55.55 &66.66\\
\bottomrule
\end{tabular*}
\end{table}
\end{document}
which produces this output
My table header is in bold font, so for the tables I have, where math is included, I use the \bm package. However, I just noticed that the math symbol also appears as bold in the table of contents. Is there a way to keep the math symbol in bold font in the table header, but then set it to a normal font in the table of contents?
I have read this question, but the solution seems to only work with the memoir class.
Thanks in advance!
*{5}{S}
, not*{6}{S}
, in the definition of the columns of thetabular*
environment.