[Tex/LaTex] Rescaling a math symbol

scaling

I am trying to rescale a math symbol while using the amsbook package. At first I was using the relsize package, but it creates clashes with the AMS packages: Amsart with algorithm2e introduces extraneous text into pdf file with Texlive 2011.

Then, I read here Change font size relative to current font size that the amsbook has a similar option. I looked it up, and there is the \larger command. But it doesn't work. I used:

  \newcommand{\Alpha}{\larger{\alpha}}

and the \alpha does not change in size.

Any ideas how to rescale the \alpha so that it is relatively larger (I used to use mathlarger from relsize which worked fine, but created clashes with AMS packages, as I said)?

Best Answer

The AMS classes have a \larger command that works out of the box:

\documentclass{amsart}
\newcommand{\Alpha}{\mbox{\larger$\alpha$}}

\begin{document}
$\alpha\Alpha$

\Large
$\alpha\Alpha$

\end{document}

enter image description here

This won't work in subscripts/superscripts, though. Unfortunately \text doesn't update \@currsizeindex, so using \text instead of \mbox, which would be the obvious attempt, doesn't give the desired result.

A possible way out is to update the sizes manually:

\documentclass{amsart}
%\newcommand{\Alpha}{\mbox{\larger$\alpha$}}

\newcommand{\Alpha}{\mathchoice
  {\mbox{\larger$\alpha$}}
  {\mbox{\larger$\alpha$}}
  {\mbox{\larger[-2]$\alpha$}}
  {\mbox{\larger[-4]$\alpha$}}
}

\begin{document}
$\alpha\Alpha_{\alpha\Alpha_{\alpha\Alpha}}$

\Large
$\alpha\Alpha_{\alpha\Alpha_{\alpha\Alpha}}$

\end{document}

enter image description here