3 ms·
Or just unicode. Standard digraphs ftw (xcompose, wincompose...). It's even typed in the same way (_4 ^+ etc) - and maybe there's tex tools that output unico
by capitainenemo 2y ago
Or just unicode. Standard digraphs ftw (xcompose, wincompose...). It's even typed in the same way (_4 ^+ etc) - and maybe there's tex tools that output unicode these days where possible?
H₂O, NH₄⁺, NO, HCO₃⁻, HPO₄²⁻
- gilleain 2y agoYes, that's pretty good ... but - the charges on [NH4]+, [HCO3]-, and [HPO4]2- should be above the subscripts on their last atoms. Minor point really.
- capitainenemo 2y agotrue, true... I wonder if that's even possible to do in unicode. maybe some combining char thing. I certainly wouldn't be able to type a digraph of it from memory if it is. But, I feel it's still more readable this way
- cubefox 2y agoOr Hacker News could finally add support for LaTeX and markdown...