LaTeX plus minus symbols

Symbol Command
$\pm 5$ \pm 5
$\pm{7}$ \pm{7}
$\pm\pi$ \pm\pi
$\pm\infty$ \pm\infty
Symbol Command
$\mp 5$ \mp 5
$\mp{7}$ \mp{7}
$\mp\pi$ \mp\pi
$\mp\infty$ \mp\infty

LaTeX number

LaTeX