josephwright / siunitx

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

Handle \text[space] in printing #691

Closed josephwright closed 1 year ago

josephwright commented 1 year ago

In 'literal' mode, we can end up with \text[space] in the printing output. This is currently missed in search-and-replace. For example:

\documentclass{article}
\usepackage{siunitx}%[=v2]
\begin{document}
\textit{\qty{10}{\micro m}}
\end{document}
josephwright commented 1 year ago

Fixed by e108e45ee3df3032c810cb5c1d016485df650e49