I am trying to typeset all formulas in an article using \small
font.
If I use \DeclareMathSizes{9}{8}{6}{4}
, then the size of in-line math in regular text is also changed. However, I want to redefine the font size only for multi-line equations wrapped in an align
environment.
I also tried to redefine the align command in the following way:
\let\oldalign=\align
\renewcommand{\align}{\small\oldalign}
This results in some text paragraphs after align
environments now being typeset in \small
font, although well outside the align
environment. Sorry, I don't have a minimal example right now. It might have to do with the cls
template I'm using (sig-alt-full
).
I tried adding a \normalsize
as a fix, without success:
\let\oldalign=\align
\renewcommand{\align}{\small\oldalign\normalsize}
I then proceeded to defining my own align
environment, as follows:
\newenvironment{myalign}
{% begin code
\begin{small}
\begin{align}
}
{% end code
\end{align}
\end{small} }
This one fails because, according to LaTeX, \begin{small}
is ended by \end{document}
.
\pretocmd\start@align
withetoolbox
to apply something at the start of analign
, but does not work in this case as the\DeclareMathSizes
needs to be part of the preamble, not something that gets executed a the start of thealign
environment.amsmath
to keep the equation numbers the same size as the normal text since it does make a difference if only some displayed formulas are made smaller. this may become a feature with the next overhaul ofamsmath
; it's on the list for consideration.)