# .box command (Runoff)

The .box command defines the left and
right margin boundaries for a box around the text, and encloses the
following text in a box of vertical bars on the output page. The .box off command turns off the box effect previously started
with a .box command.

## Syntax

```
.box left.margin, right.margin
.box off
```

## Parameter(s)

| left.margin | Defines the left margin boundary for a box around the text. |
| --- | --- |
| right.margin | Defines the right margin boundary for a box around the text. |

## Example(s)

```
.nf
.box 6,16
:----------------------------------------:
: Note: This is a .box command example. :
:----------------------------------------:
.box off
```

## See also

- [.box command (Output processor)](https://d3codex.com/output-processor/dot-box-command-output-processor/)
- [.xbox command](https://d3codex.com/output-processor/dot-xbox-command/)
- [Runoff commands](https://d3codex.com/runoff/runoff-commands/)

---
Source: https://d3codex.com/runoff/dot-box-command-runoff/ - part of the D3Codex reference.
