10

How do I set the default caption font in a memoir?

I tried:

\documentclass{memoir}
\usepackage[font=small]{caption}

But that gives me a warning:

Class memoir Warning: You are using the caption package with the memoir (memoir) class. This may cause unexpected or inconsistent (memoir) results if you use any of memoir's captioning facilities.

Marnix
  • 1,597
  • 3
  • 17
  • 23
  • 1
    You should use the methods explained in section 10.6 of memoir's manual (p. 193): \captionnamefont{\small}\captiontitlefont{\small} should do. – egreg Jun 07 '12 at 16:38
  • The warning just refers to the fact that if you load the caption package, then memoirs own caption configuration macros will no longer have any effect. – daleif Jun 11 '12 at 10:43

1 Answers1

13

As egreg mentioned in his comment, you should use memoir's commands \captionnamefont and \captiontitlefont:

\documentclass{memoir}

\captionnamefont{\small}
\captiontitlefont{\small}

\begin{document}
Test text

\begin{figure}[htbp]
\centering
A
\caption{A test caption}
\end{figure}

\end{document}
Gonzalo Medina
  • 505,128