schang412 / typst-whalogen

A port of LaTeX mhchem to Typst
Apache License 2.0
20 stars 2 forks source link

oxidation numbers #13

Open wweatherall opened 3 months ago

wweatherall commented 3 months ago

Hello, I've been trying to add oxidation numbers through limit and attach, but there is some conflict with the environment, when I try to do so.

This gives the required result, but is really verbose. I was wondering if you had any ideas how to make this a little more elegant.

$ upright(limits(H)^(+1))_2upright(limits(O)^(-2))$