4 ms·
I feel your use of TeX (or whatever that notation is precisely ...) is far too clear. Possibly use InChI instead, so instead of "$HPO_{4}^{2−}$", use "InChI=1S
by gilleain 2y ago
I feel your use of TeX (or whatever that notation is precisely ...) is far too clear.
Possibly use InChI instead, so instead of "$HPO_{4}^{2−}$", use "InChI=1S/H3O4P/c1-5(2,3)4/h(H3,1,2,3,4)/p-2". Or, more concisely, just use the key, which is "NBIIXXVUZAFLBC-UHFFFAOYSA-L". :)
(from : https://www.ebi.ac.uk/chebi/searchId.do?chebiId=43474 https://www.ebi.ac.uk/chebi/searchId.do?chebiId=43474)
- capitainenemo 2y agoOr 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...