C:\DITA\WKFS_oXygen_Files\fragments\webhelp.fragment.head.xml
Jump to main content C:\DITA\WKFS_oXygen_Files\fragments\webhelp.fragment.before.body.xml

# Using Text Formatting Tags within DataPoints

Adding formatting within DTAs.

You can use text formatting tags in transaction data contained in a data point structure (DTA) assembled for output as a dynamic document. When authoring a dynamic document, data within the string comprising a DTA can be authored using standard HTML text formatting tags (bold, italics, underline) as well as line breaks. The supported text formatting tags (bold = <b>, italics = <i>, underline = <u>, and a line break = <BR>) can be applied to the entire string or partial text within a string as part of the data point field.
Note: The use of the emphasis (<emphasis>) formatting tag is not supported.

For example, a dynamic document authored with tags such as: `<b>Fees</b>: <i>nominal fee for</i> <u>registration</u>.`; will appear in the output as: Fees: nominal fee for registration.

This same functionality works differently for static documents. In a static document text formatting tags are removed from transaction data prior to assembly for output as a static document. So that when a static document is assembled for generation and includes the HTML text formatting tags (bold, italics, underline), the tags are stripped out of the transaction data to prevent the tags from rendering in the output. The standard text formatting tags (bold = <b>, italics = <i>, and underline = <u>) are stripped out of the transaction data prior to processing. This applies to any of these four tags contained within an entire string or partial text within a string as part of the data point field.

For example, a static document authored with tags such as: `<b>Fees</b>: <i>nominal fee for</i> <u>registration</u>.`; will appear in the output as: Fees: nominal fee for registration.

## Custom Fonts

You can override the default font for para and dta elements. This is done by double-clicking the desired element and then right-clicking to display the context menu containing the custom fonts options.
Note: Custom fonts must be registered within the Font.XML file. For more information, refer to Managing Fonts.
C:\DITA\WKFS_oXygen_Files\fragments\webhelp.fragment.after.body.xml