UnityGame/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextLetterCase.md

21 lines
848 B
Markdown
Raw Normal View History

2024-10-27 10:53:47 +03:00
# 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._