Superscript and Subscript
How to apply superscript and subscript for the content to be fetched from the xml file?
How to apply superscript and subscript for the content to be fetched from the xml file?
If the font has super- and subscript glyphs, you can use specific values of the baselineShift attribute:
<span>normal </span><span baselineShift="superscript">super</span><span baselineShift="subscript">sub</span>
If your font does not have these glyphs, you can simulate super- and subscript by decreasing the fontSize and setting baselineShift to an appropriate number.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.