[Tex/LaTex] How to insert a non-stretching but line-breaking thin space

line-breakingspacing

How do I insert a small space that looks like the space I get with \, but allows a line break like a normal space does? I.e., I'm looking for a non-stretching, non-non-breaking space whose width is identical to \,.

I have already tried some\,\allowbreak{}text but, in case of a line break, this keeps the \, space at the end of the line which is not what I want.

Best Answer

The biblatex package provides the \addthinspace macro which "[a]dds a breakable thin space" (manual, section 4.7.4). Here's a variant that omits the biblatex-specific stuff. (Note that \, in text mode uses \thinspace which is defined as \kern 0.16667em.)

\documentclass{article}

\newcommand*{\addthinspace}{\hskip0.16667em\relax}

\textwidth=52pt

\begin{document}

\noindent xxx xxx xxx xxx xxx\addthinspace aaa\addthinspace aaa

\bigskip

\noindent xxx xxx xxx xxx xxx\,aaa\,aaa

\end{document}

enter image description here

Related Question