You could use my idxlayout
package (which is compatible with memoir
) and its font
option. Allowed values are normalsize
, small
, footnotesize
, and current
(the font in effect at the time of \printindex
). (You may also redefine the \indexfont
macro if you need a more exotic fontsize.)
\documentclass{memoir}
\makeindex
\usepackage[font=footnotesize]{idxlayout}
\begin{document}
Some text about foo\index{foo}.
\printindex
\end{document}
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, loading idxlayout
is superfluous. However, in memoir
's implementation of the theindex
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.)
\documentclass{memoir}
\makeindex
% \onecolindex
\renewcommand{\preindexhook}{\footnotesize}
\begin{document}
Some text about foo\index{foo}.
\printindex
\end{document}
The "fallback"-message is simply an information. And you can avoid the size substitution by loading the package fix-cm
. Then fontsize=9.5pt
should work fine.
You don't get substituation warnings with fontsize=0.96
as the LaTeX-kernel defines \def\fontsubfuzz{.4pt}
. So latex will inform you of font substitution only if the size declared in the fd file differ from the one you are trying to use by more than 0.4pt. (9pt and 10pt are declared by default). With fix-cm all size are declared so all warnings will disappear.
Best Answer
Document class options are specific to the document class. If there is no
fontsize
key-value pair defined, then it won't recognise it. That's the case formemoir
. For specifying font sizes during the class loading,memoir
only provides9pt
,10pt
,11pt
,12pt
,14pt
,17pt
,20pt
,25pt
,30pt
,36pt
,48pt
and60pt
, not11.6pt
(say). However, if you have scaleable fonts available they can be set at any size.You can just set a font of arbitrary size using
at the start of your document. In your case,
However, this will only temporarily set the font to
11.6pt
, changing with every font switch. Moreover, any call to\normalsize
would change it back to the default document choice.My suggestion would be to choose a default document font size that is closest to what you're after -
12pt
in your case - and then update\normalsize
to select your11.6pt
choice (together with its default<bskip>
of14.5pt
). Easiest here would be to patch\normalsize
usingetoolbox
. So,memoir
does support loading of arbitrary font sizes via its*pt
document class option (from the documentation; section 1.2.1 Extended font sizes):