17

Regarding tiny nonbreaking spaces, is there a difference between using a ~ (tilde) and using \, (backslash comma)? If so, what is the difference, in terms of length, properties, situations where you would use one over the other, etc.?

2 Answers2

15

The difference between a normal unbreakable space and a thin unbreakable space: \, is 1/6em, while ~ is, if I'm not mistaken, what TeX denotes \fontdimen2, the interword space.

Bernard
  • 271,350
11

5~kg will not be broken across lines but can be stretched, if needed by TeX: 5 kg. 5\,kg cannot be stretched.

  • 2
    Ok, just to clarify, can \, be broken across lines? I was not clear from https://tex.stackexchange.com/questions/74353/what-commands-are-there-for-horizontal-spacing if this was the case. – Nicholas Wong Sep 12 '17 at 10:25
  • 1
    no linebreak possible –  Sep 12 '17 at 10:31