Text Styles
The document module includes the TextStyles plugin which defines a collection of basic commands for simple styling of text. Additional text styling commands are also provided by the source module for styling source code related terms and text.
Stylistic Markup

The following commands are used to style the specified text without changing the font.
| Command | Description |
|---|---|
| \bf{text} | Renders the text as boldface in the current font. |
| \it{text} | Renders the text as italics in the current font. |
| \mark{text} | Highlights the text as markup in the current font. |
| \ul{text} | Underlines the text in the current font. |
| \underline{text} | The same as the \ul command. |
Semantic Markup
The following commands are used to indicate text that has a structural or specific meaning within the document. The commands in the following table are used for emphasis, visual styling, document revisions, and general notations.
| Command | Description |
|---|---|
| \emph{text} | Emphasizes text by adding contextual emphasis, typically rendered as italics. |
| \strong{text} | Marks text with strong importance or urgency, typically rendered as bold text. |
| \mark{text} | Highlights text with a background color to visually emphasize its relevance for reference. |
| \ul{text} | Underlines text by applying a horizontal line. |
| \underline{text} | The same as the \ul command. |
| \ins{text} | Marks text that has been newly inserted or added to the document. |
| \insert{text} | The same as the \ins command. |
| \del{text} | Marks |
| \delete{text} | The same as the \del command. |
The commands in the following table are used for documentation elements like code, user actions, and technical terminology, which may have a specific meaning within the document context.
| Command | Description |
|---|---|
| \term{text} | Formats a specific document term that is being introduced, defined, or described. |
| \kbd{text} | Formats text to represent user input, keystrokes, or keyboard shortcuts. |
| \code{text} | Formats text as inline computer code or syntax fragments. |
| \file{text} | Formats text to represent a file name, directory, or file path. |
| \app{text} | Formats text to represent the name of an application. |
Script Markup
The script markup commands are used to format text that needs to be positioned slightly above or below the standard baseline of the current text line.
| Command | Description |
|---|---|
| \sub{text} | Lowers the baseline of the text argument to represent a subscript. |
| \sup{text} | Raises the baseline of the text argument to represent a superscript. |