arenos-nexus/Arenos Nexus/Library/PackageCache/com.unity.ugui@38c58105e446/Documentation~/TextMeshPro/RichTextSubSuper.md
Daniel 2e704cae70 init
Init Commit Unity
2025-09-25 22:01:28 +02:00

445 B

Subscript and Superscript

Use the <sub> and <sup> tags to render text as superscript or subscript. This is often used in scientific notation and ordinal numbering (1st, 2nd, etc.).

Set the offset and size for sub- and superscript in the Font Asset.

Example:

We have 1m<sup>3</sup> of H<sub>2</sub>O.

Example image
Subscript and superscript