Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question
5  
You shouldn't use mathpple, but rather mathpazo, which gives properly designed math symbols. Please specify in what context this "miniaturized" symbol should be used. –  egreg Jul 22 '11 at 9:01
    
Edited. Thanks. –  user02138 Jul 26 '11 at 9:49
add comment

1 Answer

up vote 5 down vote accepted

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.

share|improve this answer
    
Thank you! Is psamsfonts superseded by any package? –  user02138 Jul 26 '11 at 10:10
    
No, the PostScript fonts are used automatically and the option does nothing, apart issuing a warning. –  egreg Jul 26 '11 at 10:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.