11

I'm looking for a white space thinner than \,.

  • Is there a canonical one? (By canonical, I mean an already built in command)

  • If not, how to define a robust white space twice thiner than \,?

Colas
  • 6,772
  • 4
  • 46
  • 96

1 Answers1

15

The command \, is defined to use \thinspace (0.16667em) in text mode and \thinmuskip (3.0mu) in math mode , so we can make a half-size one with

\protected\def\verythinspace{%
  \ifmmode
    \mskip0.5\thinmuskip
  \else
    \ifhmode
      \kern0.08334em
    \fi
  \fi
}

(The math mode distance is stored as a variable, so we can do the calculation on-the-fly, whereas \thinspace hard-codes the distance.)

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
  • 1
    Since you added robustness, you could also protect the macro against being in vertical mode. There was a question in the GuIT forum about a strange behavior of \,: the user was using it before starting a paragraph. – egreg Oct 01 '16 at 17:37
  • 4
    For those readers who aren't quite sure how wide a mu is: By default, 18mu=1em. Thus also, 3mu=0.16667em. :-) – Mico Oct 03 '16 at 08:39