Sub and super script in label
Is there any way to format text inside a label?
I need to write CO2 with the 2 sub-scripted. Does a label accept any type of formatting syntaxes?
4 Answers
-
Any response here on this?
-
The text field is plain text only, it doesn't accept HTML or other formatting.
-
Yeah, I got this fixed by pasting the UTF-8 character into the text of the label. Only problem is it only works for characters that exist in UTF-8, luckily I just needed a subscript 2 character.
-
I found out how. I needed to find out how to do TM so I found the C/C++/Java source code for that character. The code for it is: \u2122. So this is how you do it.
title:'Product\u2122',