# \vtop

Used in plain-TeX style math constructions to place material in a vertically boxed container aligned to its top.

https://texform.dev/latex/commands/vtop

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Boxes and text](https://texform.dev/latex/topics/boxes-text) |
| Packages | base |
| Allowed mode | math |
| Tags | presentation |
| Commonality | low |
| Kind | prefix |

## Syntax

### base

Argument specification: `m`

Used in plain-TeX style math constructions to place material in a vertically boxed container aligned to its top.

## Examples

```latex
\vtop{a+b}
```

[Open in Playground](https://play.texform.dev/?input=%5Cvtop%7Ba%2Bb%7D)

```latex
\vtop x
```

[Open in Playground](https://play.texform.dev/?input=%5Cvtop+x)

## Renderer support

| Package | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- |
| base | full | none | partial |

## Usage frequency

0% of formulas in the measured corpus contain this entry, rank 260 of 263 entries with frequency data.

## In TeXForm

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

## See also

- [\\vbox](https://texform.dev/latex/commands/vbox)
- [\\vcenter](https://texform.dev/latex/commands/vcenter)

## Test cases

### base

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \vtop{a} | Positive: baseline | Pass | Fail | Pass |
| \vtop a | Positive: bare[0] | Pass | Fail | Fail |
