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.

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.

share|improve this question
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 7 '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
add comment

1 Answer

up vote 6 down vote accepted

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}
\centering
A
\caption{A test caption}
\end{figure}

\end{document}
share|improve this answer
    
Ah! So I need to change both. I found the commands in the manual, but couldn't figure out how to use it. –  Marnix Jun 7 '12 at 16:49
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.