josephwright/siunitx

Literal unit printing always selects current mode

Closed this issue · 0 comments

Raised in #728 - at present the standard settings use \ifmmode ... \else ... \fi for various unit symbols and fail to protect from expansion in literal mode (where \protected@edef is applied). This should be fixed by shifting to \TextOrMath or similar.