Files
CartoonFPS/Library/PackageCache/com.unity.ugui@a0f5d16b3c82/Documentation~/TextMeshPro/RichTextMonospace.md
SHOUTING_PIRATE 4c8592d0ab initial commit
2025-08-05 09:30:40 +01:00

17 lines
487 B
Markdown

# Monospacing
You can override a font's character spacing and turn it into a monospace font with the `<mspace>` tag. This gives all characters the same amount of horizontal space.
You can specify the character width in pixels or font units.
The `</mspace>` closing tag clears all monospace overrides.
**Example:**
```
Any font can become <mspace=2.75em>monospace, if you really want it.
```
![Example image](../images/TMP_RichTextMonospace.png)<br/>
_Treating a font as monospace_