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}
This is a little confusing to do. Remember that class options are not dynamic, so since 13pt
is not hardcoded into the class, memoir
does not recognize it. Instead we need to use the provided interface (page 3-4 in the memoir manual).
Firstly you need to place your mem13.clo
in a place where LaTeX can find it. For testing it is easiest to just palce it in the same folder as your .tex
file. If placed elsewhere, then as Mico says in a comment, you need to update the filename DB.
Secondly, we need to use the *pt
option to tell memoir
to use a user defined font size file, the name of which HAS to be declared BEFORE \documentclass
, as placeing it after \documentclass
after it will be too late (a macro like \normalsize
or \normalfont
might be issued by the class while loading).
This works:
\newcommand*{\anyptfilebase}{mem}
\newcommand*{\anyptsize}{13}
\documentclass[a4paper,*pt]{memoir}
\begin{document}
test
\end{document}
I have the mem13.clo
in current dir, and in the log I can find the tell-tell
(./mem13.clo)
showing that it was loaded.
Yes the interface it a little clunky, but that is due to the fact that we need the clo to be loaded by the class at the right time. Plus memoir
does not support key=value
class options
Best Answer
You could use my
idxlayout
package (which is compatible withmemoir
) and itsfont
option. Allowed values arenormalsize
,small
,footnotesize
, andcurrent
(the font in effect at the time of\printindex
). (You may also redefine the\indexfont
macro if you need a more exotic fontsize.)Note that the
memoir
class, according to section 17.2 of its manual, features a\preindexhook
macro that does nothing by default, but may be redefined to, e.g.,\footnotesize
. Therefore, on the face of it, loadingidxlayout
is superfluous. However, inmemoir
's implementation of thetheindex
environment,\preindexhook
is part of the optional argument of\twocolumn
for two-column indexes, and because of that, switching to\footnotesize
will only affect an index preamble note, but not the index proper. (The latter is affected if you switch to a one-column index, though.)