Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

up vote 11 down vote accepted

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.

share|improve this answer
    
yes, thank you, exactly what I was looking for –  Frank Seifert Sep 19 '10 at 22:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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