Text Formattingthinsp | Amount of Stretch and Shrinkage

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Laurentius
Posts: 132
Joined: Wed Feb 11, 2009 11:38 pm

thinsp | Amount of Stretch and Shrinkage

Post by Laurentius »

thinsp makes \thinspace stretchable, but the stretch should be 1/2 and the shrinkage 1/3; how is that done, if it isn't already so?

This seems to define the stretchability

Code: Select all

\def\stretchthinspace{%
  \nobreak\hskip\thinsp@thinamount\fontdimen2\font%
  \@plus\thinsp@thinamount\fontdimen2\font%
  \@minus\thinsp@thinamount\fontdimen4\font%
  \relax%
}
but I don't understand what \fontdimen does.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply