i have a subsection named
\subsection{$\Lambda$CDM}
is there a way to show \Lambda as a bold symbol?
I have tried with \bm{}
\subsection{$\bm{\Lambda}$CDM}
but I got errors and textbf doesn't seem to help
i have a subsection named
\subsection{$\Lambda$CDM}
is there a way to show \Lambda as a bold symbol?
I have tried with \bm{}
\subsection{$\bm{\Lambda}$CDM}
but I got errors and textbf doesn't seem to help
The \boldmath command, to be issued before you enter math mode, is your friend here, as in
\subsection{\boldmath $\Lambda$CDM}
However, if your document features a table of contents, you should write
\subsection[$\Lambda$CDM]{\boldmath $\Lambda$CDM}
in order to avoid getting \Lambda typeset in bold in the ToC entry.
\documentclass{article}
\begin{document}
\stepcounter{section}
\subsection{\boldmath $\Lambda$CDM}
\end{document}
math shift' on input line 385." and 'Package hyperref Warning: Token not allowed in a PDF string (Unicode): removing\Lambda' on input line 385.' . is there a way to avoid this warnings?
– Alucard
Jan 09 '22 at 08:02
hyperref-related warning message you mention as getting now is actually entirely orthogonal to the main issue of your query. Indeed, the "token not allowed" warning message must have been there as soon as you included $\Lambda$ in the argument of \subsection. You may have simply missed that it was there until just now...
– Mico
Jan 09 '22 at 09:13
\subsectionbold by default? – Jan 09 '22 at 05:35