Hi

I want to include some chemical equations in my slide something like the attached jpeg.
(2Na + O2 → Na2O2). How to write the '2' as subscript?

Can someone explain how to do this using TextRun and RichTextRun?

Regards,
Tulasi Krishna.

Subscript in POI - Power point slide-screenshot-1.png