In Plain TeX, when you introduce a new font size you must also
declare what size fonts are to be used in mathematics with it. This
is done by declaring \textfont
, \scriptfont
and
\scriptscriptfont
for the maths families you're using; all such
things are described in chapter 17 of the
TeXbook and other books and
tutorials that discuss Plain TeX in
sufficient detail.
In LaTeX, of course, all this stuff is automated: there is a scheme
that, for each (text) font size, determines what maths font sizes are
to be used. The scheme first checks a set of "known" text sizes,
for each of which maths sizes are declared in advance. If the text
size isn't "known", the script- and scriptscriptfont sizes are
calculated as fixed ratios of the tex font size. (The values used are
\defaultscriptratio
=0.7, and
\defaultscriptscriptratio
=0.5.)
The fixed-ratio formula is capable of producing inconvenient results
(particularly if you are using fonts which LaTeX believes are only
available in a fixed set of sizes). You may also want to replace
LaTeX's ideas altogether, for example by setting maths noticeable
larger or smaller than its surrounding text. For this purpose, the
LaTeX command
\DeclareMathSizes{<tfs>}{<ts>}{<ss>}{<sss>}
may be used (this is the same command that LaTeX itself uses to
define its own set of sizes). This establishes (or re-establishes)
the maths font sizes for the text font size <tfs>
(<ts>
being the \textsize
, <ss>
being
the \scriptsize
and <sss>
being the
\scriptscriptsize
to use).
\DeclareMathSizes
may only be used in the preamble of the
document: only one association is available for each text font size
for the whole document.
This question on the Web: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=mathsize