4 ms·
> But how wide is the minus sign? It depends on the font size, maybe it’s hard to predict. If you use a real minus sign, and not an ASCII hyphen, it should be
by kazinator 2mo ago
> But how wide is the minus sign? It depends on the font size, maybe it’s hard to predict.
If you use a real minus sign, and not an ASCII hyphen, it should be the same width as the corresponding plus sign in any reasonable font.
Use a plus sign and make that invisible.
Here is an idea: columns of figures should use a monospaced font.
You don't just want right or left edges to align, but all corresponding digit positions should align:
12,345
+ 4,001
= -------
16,346
This consideration overrides any nonsense about whether a space is the same width as a minus.