# Superscript in label component in Perspective

**URL:** <https://forum.inductiveautomation.com/t/superscript-in-label-component-in-perspective/31732>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 29, 2020, 9:27pm UTC](https://forum.inductiveautomation.com/t/superscript-in-label-component-in-perspective/31732 "2020-01-29T21:27:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpoulsen921](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mpoulsen921](https://forum.inductiveautomation.com/u/mpoulsen921)\
**Post date:** [January 29, 2020, 9:27pm UTC](https://forum.inductiveautomation.com/t/superscript-in-label-component-in-perspective/31732/1 "2020-01-29T21:27:15Z")

</div>

Hi,

I have a label component in Perspective showing an analogue value of cubic meters. I want to show the unit as `m^3` (where the number 3 is in superscript). Is this possible in Perspective at the moment?

In Vision I would do it as `<html>m<sup>3</sup>`, however that doesn’t work in Perspective.

Have I missed the obvious solution here?

Thanks!

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 29, 2020, 9:34pm UTC](https://forum.inductiveautomation.com/t/superscript-in-label-component-in-perspective/31732/2 "2020-01-29T21:34:34Z")

</div>

Probably the easiest solution: Use the unicode superscript character; eg: `m³`

> **[Unicode subscripts and superscripts | Superscripts and subscripts block](https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts#Superscripts_and_subscripts_block)**
>
> The most common superscript digits (1, 2, and 3) were in ISO-8859-1 and were therefore carried over into those positions in the Latin-1 range of Unicode. The rest were placed in a dedicated section of Unicode at U+2070 to U+209F. The two tables below show these characters. Each superscript or subscript character is preceded by a normal x to show the subscripting/superscripting. The table on the left contains the actual Unicode characters; the one on the right contains the equivalents using HTML m...

---

<div class="post-metadata">

**Author:** ![mpoulsen921](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mpoulsen921](https://forum.inductiveautomation.com/u/mpoulsen921)\
**Post date:** [January 29, 2020, 9:51pm UTC](https://forum.inductiveautomation.com/t/superscript-in-label-component-in-perspective/31732/3 "2020-01-29T21:51:04Z")

</div>

Thanks!

Can’t believe I didn’t think of that…😅

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [January 29, 2020, 10:49pm UTC](https://forum.inductiveautomation.com/t/superscript-in-label-component-in-perspective/31732/4 "2020-01-29T22:49:14Z")

</div>

You could also use a Markdown component instead of the Label. The Markdown component allows for HTML, so you could use the same method as you did in Vision.

---

<div class="post-metadata">

**Author:** ![mpoulsen921](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mpoulsen921](https://forum.inductiveautomation.com/u/mpoulsen921)\
**Post date:** [January 29, 2020, 11:00pm UTC](https://forum.inductiveautomation.com/t/superscript-in-label-component-in-perspective/31732/5 "2020-01-29T23:00:59Z")

</div>

Perfect thank you. I will check that out. 👍
