Rasagar/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextSize.md

17 lines
498 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# Font Size
Use the `<size>` tag to adjust the font size of your text.
You can specify the new size in pixels, font units, or percentage.
Pixel adjustments can be absolute (`5px`, `10px`, and so on) or relative (`+1` or `-1`, for example). Relative sizes are based on the original font size, so they're not cumulative.
**Example:**
```
<size=100%>Echo <size=80%>Echo <size=60%>Echo <size=40%>Echo <size=20%>Echo
```
![Example image](../images/TMP_RichTextSize.png)<br/>
_Adjusting font size_