Want to take part in these discussions? Sign in if you have an account, or apply for one below
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
I find the spacing around colons in math mode on the nLab too small. Whenever I note down a map
f \colon X \to Y
I feel like I have to replace it by
f \;\colon\; X \to Y
in order for the output to look nice. Especially if ad here are themselves more complicated expressions, then the standard spacing puts them so close together that it takes effort to convince the eye that belongs more to than to , if you know what I mean.
Would it be hard to change that spacing a bit? And before that: does anyone agree with this sentiment?
I agree with it. To my eye, there’s little difference between \colon and : .
I use : now for maps anyway, and the spacing doesn’t bother me.
Er, I thought it was you and Toby who once conviced me to use
\colon
instead of
:
in math mode. Apparently I am misremembering.
No, that’s correct. I’ve just changed my mind since then.
The only difference I can detect between and is that, to my eye, there seems to be ever slightly more space between the and the colon in the second one (which seems to run counter to what people were saying in the other thread Mike just linked to). Are other people seeing more space between and the colon in the first case?
I just checked in Sandbox and come to the same conclusion as Todd: the actual difference between
\colon
and
:
is that the second produces even less spacing in front. Which indeed seems to run counter both to that discussion and to the general idea that the first should be punctuation and the second relation.
All the more I have my original question:
Is it hard for us (hence for Andrew) to change the spacing?
It needs to be wider, in either case.
It seems to me that iTeX is rendering both \colon
and :
incorrectly into MathML. While \colon
becomes <mo lspace='verythinmathspace'>:</mo>
(which is equivalent to <mo lspace='verythinmathspace' rspace='verythinmathspace'>:</mo>
using the defaults at http://www.w3.org/TR/MathML3/appendixc.html), it really should be <mo lspace='nomathspace' rspace='thinmathspace'>:</mo>
(which is analogous to the defaults of, say, ,
). Even worse, while :
becomes simply <mo>:</mo>
(equivalent to <mo lspace='veryverythinmathspace' rspace='verythinmathspace'>:</mo>
using the defaults), it really should be <mo lspace='thickmathspace' rspace='thickmathspace'>:</mo>
(which is analogous to the defaults of, say, =
). The difference with \colon
is not very big, but the difference with :
is significant. This should be considered a bug in iTeX.
1 to 8 of 8