Use this article as a quick reference for supported markup tags that can be used with Allow Markup Text in Finished Reports.
For instructions on enabling Markup Text and using it in label expressions, see Formatting Labels with Markup Text in Finished Reports.
Download Sample
Example: Formatting a Label
The following expression applies bold formatting to the field labels while leaving the values dynamic:
'<b>Order Date: </b> ' + [OrderDate] +
'<b>Freight: </b> ' + [Freight] +
'<b>OrderID: </b> ' + [OrderID]Example Output
Text Formatting
| Format | Syntax | Example |
|---|---|---|
| Bold | <b></b> |
<b>Bold text</b> |
| Italic | <i></i> |
<i>Italic text</i> |
| Underline | <u></u> |
<u>Underlined text</u> |
| Strikethrough | <s></s> |
<s>Strikethrough text</s> |
| Combined Formatting | <b><u>...</u></b> |
<b><u>Bold and Underlined</u></b> |
| Reset Formatting | <r> |
Resets formatting from that point forward |
Font and Color Formatting
| Format | Syntax | Example |
|---|---|---|
| Font Size | <size=10>...</size> |
<size=10>10pt text</size> |
| Font Color | <color=red>...</color> |
<color=red>Red</color> |
| Background Color | <backcolor=yellow>...</backcolor> |
<backcolor=yellow>Highlight</backcolor> |
| Font Name | <font=Helvetica>...</font> |
<font=Helvetica>Font text</font> |
Other Useful Tags
| Format | Syntax | Example |
|---|---|---|
| Line Break | <br> |
Hello<br>World |
| Non-breaking Space | <nbsp> |
Hello<nbsp>World |
| Subscript | <sub>...</sub> |
<sub>Note</sub> |
| Superscript | <sup>...</sup> |
<sup>1</sup> |
| Hyperlink | <href='URL'>...</href> |
<href='https://example.com'>Link</href> |
Note: If a hyperlink URL contains spaces, place the URL value in quotes.
Using Markup in Expressions
Markup tags can be combined with fields and text using +.
Example:
"Hello " + '<b>' + [Field] + '</b>'This allows the displayed value from the field to inherit the markup formatting.
Comments
0 comments
Please sign in to leave a comment.