## LaTeX forum ⇒ Text Formatting ⇒ \pm not showing as the +_ symbol

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
peaches20
Posts: 9
Joined: Thu Oct 25, 2012 4:28 pm

### \pm not showing as the +_ symbol

Hi,

I have a couple of equations that have the +_ symbol and have coded the as \pm but it is typesetting as pm instead of +_ . Can anyone help with this -- am I using the wrong symbol. Below is my preamble and partial equation

\documentclass[12pt,leqno]{article} \usepackage{amsmath, amsthm, amssymb}\topmargin -.7in\textheight 8in\textwidth 6in\oddsidemargin .25in\evensidemargin .25in \parindent .15in\everymath{\displaystyle} \begin{equation}f_{\pm} \pm \end{equation}

Thanks,
Peaches
Last edited by Stefan Kottwitz on Thu Jun 29, 2017 6:42 pm, edited 1 time in total.
Reason: code marked

Stefan Kottwitz
Posts: 9557
Joined: Mon Mar 10, 2008 9:44 pm
Hi Peaches!

You showed good code, but it would be perfect to post a compilable minimal working example. Like this:

\documentclass[12pt,leqno]{article} \usepackage{amsmath, amsthm, amssymb}\topmargin -.7in\textheight 8in\textwidth 6in\oddsidemargin .25in\evensidemargin .25in \parindent .15in\everymath{\displaystyle} \begin{document}\begin{equation}f_{\pm} \pm \end{equation}\end{document}

Now every reader can compile it or even open it by just one click in the online compiler Overleaf. When just a snippet ist posted, you may lose a dozen readers who don't make the effort to construct a complete document rom this.

pm.png (6.76 KiB) Viewed 1300 times

So I think, you make something different. What do you actually write?

Stefan