# Super script text problem

**URL:** <https://forum.kirupa.com/t/super-script-text-problem/238937>\
**Category:** Uncategorized\
**Created:** [September 17, 2007, 10:52am UTC](https://forum.kirupa.com/t/super-script-text-problem/238937 "2007-09-17T10:52:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pandu\_kirupa](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pandu\_kirupa](https://forum.kirupa.com/u/pandu_kirupa)\
**Post date:** [September 17, 2007, 10:52am UTC](https://forum.kirupa.com/t/super-script-text-problem/238937/1 "2007-09-17T10:52:29Z")

</div>

i am loading text to an text field from an xml file in which i am having superscript and subscript text. i enabled the html property for my Textfield. but still the text is displaying the in the textfield is normal like i am giving u example

its an mathematical expression;

if i write like this my\_txt.htmlText = “x\<sup\>2\</sup\>”;

it showing like x2 where as it has to show like x to the power of 2.

so what should i do to display the text like this … pls help me find out
