Rasagar/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextLetterCase.md
2024-08-26 23:07:20 +03:00

21 lines
848 B
Markdown

# Lowercase, Uppercase, and Smallcaps
The `<lowercase>`, `<uppercase>`, `<allcaps>` and `<smallcaps>` tags alter the capitalization of your text before rendering. The text in the **Text** field remains as you entered it.
* The `<lowercase>` and `<uppercase>` tags work as you would expect, converting to all capitals or no capitals before rendering.
* The `<allcaps>` tag is functionally identical to `<uppercase>`.
* The `<smallcaps>` tag works like `<uppercase>`, but also reduces the size of all characters that you entered in lowercase.
**Example:**
```
<lowercase>Alice and Bob watched TV.</lowercase>
<uppercase>Alice and Bob watched TV.</uppercase>
<allcaps>Alice and Bob watched TV.</allcaps>
<smallcaps>Alice and Bob watched TV.</smallcaps>
```
![Example image](../images/TMP_RichTextLetterCase.png)<br/>
_Modifying capitalization._