I am writing in the document type article, and I wish to have my subsection appear in bold itself, but appear normal in the ToC. I am trying to write a chemical formula, which automatically converts the text to non-bold, when using \ce. I chose to do it like this:

\subsection{formation of $\mathbf{N_2O}$ during $\mathbf{NH_3 - SCR}$}

This will make the subsection appear bold, but also it will make the text in \mathbf appear bold in the ToC. I would like to just have the sections appear bold, and the subsections to appear normal in the ToC

  • 1
    I don't see \ce here?
    – user31729
    Jan 14 '16 at 13:11
  • Thanks! it worked out just fine. I just had to replace \mathbf with \mathrm to make the chemical equations appear non-italic in the [...]
    – William
    Jan 14 '16 at 13:11
  • no I couldn't use it, since I couldn't make it appear in bold when using \ce. it was irrelevant information now I think about it..
    – William
    Jan 14 '16 at 13:12

If \ce is used, there's no need to use either \mathbf nor the optional argument of the \subsection command at all.


\subsection{formation of \ce{N2O} during \ce{NH3}-SCR}


enter image description here


Remove the \mathbf from the section head, and then just specify that you want math to be bold in the heading at the same point as you specify bold text, for example in article the default definition is

                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%

and you want

                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.