In TeX and LaTeX, the math binary relations (like
\le ...) have a default (rubber-length) spacing to either side, which is too large for my liking. How can reduce it?
migrated from stackoverflow.com May 12 '12 at 11:30
This question came from our site for professional and enthusiast programmers.
This answer doesn't encourage modifying the spaces, since TeX does a great job already. It merely discusses the concepts of spacing around math elements.
Spacing around math operators are discussed in the
To manually adjust the amount of space around a symbol, you can change it to an ordinal symbol by wrapping it in braces - for example
Negative spaces, although not shown is obtainable via
Also see What is the difference between
Werner already explained that you have to change
so it can stretch from
Thus, I don't change the "standard"
For comparison, the following picture shows in the first line how it looks with the defaults, and in the second line how it looks with my modifications
It's not much of a difference, but I like the second line better. Note that the default
i.e., it can shrink to zero. Personally, I don't like that either, so I have
in my preamble – see the difference in the picture, too!