I'm coding a program for Android, and I have to display some text with chemistry notation. Using regular subscripting works when it is defined as a String resource, like this:
<string name="OH">OH<sup>-</sup>, [mg/l]</string>
This will show up as "OH-, [mg/l]".
However, I need the sign for Carbonate where I've tried this:
<string name="CO23">CO<sup>2-</sup><sub>3</sub>, [mg/l]</string>
Which looks like this: CO2-3
I need the 3 to be under the 2-..