[Tex/LaTex] To Avoid the white space before negative sign to be treated as mathord

spacing

Some time we write a=b\qquad -c=-d

then the negative sign was treated as minus sign, you know what happened: the space arround the sign is incorrect.

Although it can be done with {-}c=-d or \mathord{-}c=-d, I think there might be an elegant solution.

Best Answer

It is not very difficult to use {-}. However, I seldom need to use a=b\qquad -c=-d in my document.

In fact, where you use a=b\qquad -c=-d, you may use:

$a=b$, $-c=-d$

or

\begin{align*}
a&=b & -c&=-d
\end{align*}
Related Question