0

I am surprised that everybody seems happy with the size of the minus sign when it is used to negate a quantity.

The minus sign has two different yet related functions: subtraction and negation. When you use it as a subtraction binary operator as in $3-4$ of $f-g$ it looks perfect, the minus sign is as wide as the plus sing in $3+4$. When you write $3+(-4)$ or $x^{-n}$ it looks way too big (especially in the exponent).

Output

Note that TeX (or LaTeX?) correctly reduces the spacing when it believes we use the unary negation operator but does not change the symbol to a shorter one. TeX and LaTeX are systems that put a lot of effort in correct spacing and sizing, I am surprised people are happy with the current situation of the negative sign. I have found the following discussion here: Is there a designated symbol for the negative sign in, say, -16? but the proposed solution textminus does not work in math mode and siunitx does not seem to be part of the standard package distributions anymore and other solutions are more like hacks.

10
  • 1
    siunitx is in every tex system. Oct 18, 2020 at 13:13
  • 2
    The two symbols denote exactly the same thing, so they're obviously the same. An expression such as ab is defined as a + (−​ b).
    – egreg
    Oct 18, 2020 at 13:25
  • If your main concern is with the size of -1 exponent term when it's used to denote the inverse of some object, have a look at Matrix Inverse symbol.
    – Mico
    Oct 18, 2020 at 14:20
  • 3
    it is not really a tex/latex decision: neither unicode nor standard math fonts have a distinguished symbol for unary minus. TeX can only use what is in the fonts. In some educational contexts (in the UK at least) negative numbers are denotes as $^{-}2$ to distinguish them from $0-2$ but I don't see that other than school level introductions to negative numbers. Oct 18, 2020 at 16:12
  • Thank you @Mico unfortunately their solution are not what I am looking for.
    – Arnaud
    Oct 18, 2020 at 20:52

1 Answer 1

1

It is not really a tex/latex decision: neither unicode nor standard math fonts have a distinguished symbol for unary minus. TeX can only use what is in the fonts.

In some educational contexts (in the UK at least) negative numbers are denoted as $^{-}2$ to distinguish them from $0-2$ but I don't see that other than in school level introductions to negative numbers.

enter image description here

\documentclass{article}

\begin{document}

$1 + {^-1} = 1 - 1 = 0$

\end{document}
3
  • Never saw that convention before. Seems quite unusual. Then again, you still have nobility, imperial units, and medieval laws about having to wear a sword at exams, so I’m not surprised. ;-)
    – Gaussler
    Jun 30, 2021 at 18:14
  • @Gaussler as I mentioned it's only used in early "number line" introductions to negative numbers to make the literal for a negative number visually distinct from the negation operation but it is (or was) quite common in school textbooks. Jun 30, 2021 at 18:19
  • Interesting. Similarly, there is apparently an old Jewish tradition, which is still commonly practised in modern Israeli elementary schools, where plus is denoted to make it look less like the Christian cross. The world is big and funny. ;-)
    – Gaussler
    Jun 30, 2021 at 18:23

You must log in to answer this question.

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