# .block center command

The .block center command centers all
of the attributes following the command until an .xblock
center command is issued.

**Synonyms:** .bc

## Syntax

```
.block center
```

## Example(s)

Causes `Heading One` and `Heading Two` to be centered, and `Summary of points` not to be centered.

```
.block center
Heading One
Heading Two
.xblock center
Summary of points.
```

## See also

- [.break command (Output processor)](https://d3codex.com/output-processor/dot-break-command-output-processor/)
- [.standard command (Output processor)](https://d3codex.com/output-processor/dot-standard-command-output-processor/)
- [.xblock center command](https://d3codex.com/output-processor/dot-xblock-center-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-block-center-command/ - part of the D3Codex reference.
