MIF_E31211846/Library/PackageCache/com.unity.ugui@2.0.0/Documentation~/TextMeshPro/RichTextStrikethroughUnderl...

17 lines
533 B
Markdown

# Strikethrough and Underline
You can add additional lines that run along your text.
- The `<underline>` tag draws the line slightly below the baseline to underline the text. The vertical offset is defined in the [Font Asset](FontAssetsProperties.md#FaceInfo).
- The `<strikethrough>` tag places the line slightly above the baseline so it crosses out the text.
**Example:**
```
The <s>quick brown</s> fox jumps over <u>the lazy dog</u>.
```
![](images/TMP_RichTextStrikethroughUnderline.png)<br/>
_Strikethrough and underline_