siunitx over the years, I’ve learnt a lot about units and how people want to typeset them. I’ve also realised that I’ve made a few questionable choices in how I’ve tackled various problems. With one eye to future LaTeX3 work, and another to what I might still improve in
siunitx, I thought it would be interesting to make a few notes about what I’ve picked up.
\boldmathissue would be sensible. Currently, one of the reasons I use a switch from text to math mode internally is that it allows ‘escaping’ from
\boldmath. However, that’s probably not the best plan, as it again introduces some restrictions and performance hits, and I think is very unlikely to actually be helpful!
siunitxis quite tricky as it does lots of things. A better approach would be to only deal with digit separation ‘out of the box’ (so not really parsing at all), and to allow things like uncertainties, complex numbers and the like as add-ons.
siunitxis the unit parser/formatter. It’s basically spot-on, with only really minor tune-ups needed.
Probably most of this has to wait for a ‘real’ LaTeX3 numbers/units bundle: I can’t break existing documents. However, I’ve got a few ideas which can be implemented when I get the time: watch this space.