# .underline command

The .underline command underlines the text following until an
 .xul or .x command is encountered. This command underlines
 spaces as well a words, and works on printers and terminals that support the underline
 function.

**Synonyms:** .ul

## Syntax

```
.underline
```

## Example(s)

```
.underline D3 .xul
D3
```

## See also

- [.x command](https://d3codex.com/output-processor/dot-x-command/)
- [.xul command](https://d3codex.com/output-processor/dot-xul-command/)
- [.xuw command](https://d3codex.com/output-processor/dot-xuw-command/)
- [Output processor commands](https://d3codex.com/output-processor/output-processor-commands/)
- [Output processor overview](https://d3codex.com/output-processor/output-processor-overview/)

---
Source: https://d3codex.com/output-processor/dot-underline-command/ - part of the D3Codex reference.
