zugzwang
2010-01-22 00:41:08 UTC
In inline math mode (not display style), $N_1$ and $m_r$ look good but
$m_1$ has the subscript too high, relative to the "m". My initial
try
\newcommand{\lowsub}[1]%
{\ensuremath\raisebox{-.6\height}{#1}}%
...
$m_{\lowsub{1}}$
fails because raisebox (for some reason) ignores that a subscript is
being written and uses a larger font than is appropriate.
Varying this with $m_{{}_{\lowsub{1}}}$ surprisingly fails for the
same reason.
My next try
\newcommand{\lowsub}[1]%
{\ensuremath\scriptstyle\raisebox{-.6\height}{#1}}%
similarly fails. I reject
$m_{{}_1}$
because that affect's the subscript's size. Considering that my
documents begin
\large
for my eyesight, the only way that I've been able to lower the
subscript without affecting its size is by kludging:
...
\newcommand{\lowsub}[1]%
{{\footnotesize\raisebox{-.6\height}{$#1$}}}%
...
$m$\lowsub{1}
I have to leave math mode temporarily so that lowsub's fontchanging
command can take effect. I experimented with the relsize package's
relsize and mathsmaller commands (in conjunction with raisebox).
Although using the relsize command is a little cleaner,
\newcommand{\lowsub}[1]%
{\relsize{-2}\raisebox{-.6\height}{$#1$}\relsize{2}}%
Unfortunately, I'm also using
...
% math spacing
\setlength{\mathsurround}{\widthof{\;}}
\newcommand{\hms}{\hspace*{-1\mathsurround}}
...
so going in and out of math mode kludgies:
$m$\hms\hms\lowsub{1}\hms$ = 17$...
and translating something like $\pmod{m_1}$ is worse.
Using \mathsmaller via
\newcommand{\lowsub}[1]%
{\ensuremath\mathsmaller\raisebox{-.6\height}{#1}}%
$m_{\lowsub{1}}$
resulted in a compile error: Argument of \raisebox has an extra }.
I don't have the skill to hack ..\tex\latex\ltxmisc\relsize.sty.
Also, discarding raisebox in favor of the Tex primitive \lower does
not seem to help.
Does anyone have a way of lowering the subscript without affecting its
size or leaving inline math mode? Although the AMS package gives many
math options (e.g. \mathsurround, \nolimits), I couldn't find any
option that determines how low the subscript is typeset.
$m_1$ has the subscript too high, relative to the "m". My initial
try
\newcommand{\lowsub}[1]%
{\ensuremath\raisebox{-.6\height}{#1}}%
...
$m_{\lowsub{1}}$
fails because raisebox (for some reason) ignores that a subscript is
being written and uses a larger font than is appropriate.
Varying this with $m_{{}_{\lowsub{1}}}$ surprisingly fails for the
same reason.
My next try
\newcommand{\lowsub}[1]%
{\ensuremath\scriptstyle\raisebox{-.6\height}{#1}}%
similarly fails. I reject
$m_{{}_1}$
because that affect's the subscript's size. Considering that my
documents begin
\large
for my eyesight, the only way that I've been able to lower the
subscript without affecting its size is by kludging:
...
\newcommand{\lowsub}[1]%
{{\footnotesize\raisebox{-.6\height}{$#1$}}}%
...
$m$\lowsub{1}
I have to leave math mode temporarily so that lowsub's fontchanging
command can take effect. I experimented with the relsize package's
relsize and mathsmaller commands (in conjunction with raisebox).
Although using the relsize command is a little cleaner,
\newcommand{\lowsub}[1]%
{\relsize{-2}\raisebox{-.6\height}{$#1$}\relsize{2}}%
Unfortunately, I'm also using
...
% math spacing
\setlength{\mathsurround}{\widthof{\;}}
\newcommand{\hms}{\hspace*{-1\mathsurround}}
...
so going in and out of math mode kludgies:
$m$\hms\hms\lowsub{1}\hms$ = 17$...
and translating something like $\pmod{m_1}$ is worse.
Using \mathsmaller via
\newcommand{\lowsub}[1]%
{\ensuremath\mathsmaller\raisebox{-.6\height}{#1}}%
$m_{\lowsub{1}}$
resulted in a compile error: Argument of \raisebox has an extra }.
I don't have the skill to hack ..\tex\latex\ltxmisc\relsize.sty.
Also, discarding raisebox in favor of the Tex primitive \lower does
not seem to help.
Does anyone have a way of lowering the subscript without affecting its
size or leaving inline math mode? Although the AMS package gives many
math options (e.g. \mathsurround, \nolimits), I couldn't find any
option that determines how low the subscript is typeset.