57

I'm using the amsbook document class with the psamsfonts and mathpazo packages. The minus sign touches the bottom of the text line. Is there a way to slightly miniaturize and vertically center the \pm symbol with the number?

\documentclass[psamsfonts]{amsbook}
\usepackage{mathpazo}

\begin{document}
$\pm 1$
\end{document}
0

1 Answer 1

32

For simple uses

\newcommand{\rpm}{\raisebox{.2ex}{$\scriptstyle\pm$}}

should do. If you need a very accurate measuring

\newcommand{\rpm}{\sbox0{$1$}\sbox2{$\scriptstyle\pm$}
  \raise\dimexpr(\ht0-\ht2)/2\relax\box2 }

If you need the symbol also in subscripts or superscripts, something else is needed.

The psamsfonts option is obsolete, as far as I remember.

2
  • Thank you! Is psamsfonts superseded by any package?
    – user02138
    Jul 26, 2011 at 10:10
  • No, the PostScript fonts are used automatically and the option does nothing, apart issuing a warning.
    – egreg
    Jul 26, 2011 at 10:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .