josephwright / siunitx

A comprehensive (SI) units package for LaTeX
LaTeX Project Public License v1.3c
361 stars 26 forks source link

Extraneous space left by "allow-quantity-breaks" #730

Closed josephwright closed 6 months ago

josephwright commented 6 months ago

From an email, MWE

\documentclass{article}
\usepackage{siunitx}
\begin{document}

\begin{minipage}{2.8cm}
\sisetup{allow-quantity-breaks}
Some filler text \qty{10}{\metre}\\
Some filler text $10\penalty\binoppenalty\,\mathrm{m}$
\end{minipage}

\end{document}
josephwright commented 6 months ago

The issue is the ordering of the 'no break' line: correct in v2, messed up in v3 - fix coming up.