17

What is the simplest way to have part of a bold caption (including some inline math) non-bold?

20

Put the respective part of the caption in \textmd{}.

\documentclass{article}

\usepackage[font=bf]{caption}

\begin{document}

\begin{figure}
\caption{A bold caption with a \textmd{medium/regular} part}
\end{figure}

\end{document}

EDIT: By default, LaTeX will use (non-bold) italics for inline math even in a bold caption. I assumed that you wanted to change an additional part of the caption to non-bold.

| improve this answer | |
  • yes, thank you, exactly what I was looking for – st12 Sep 19 '10 at 22:37

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.