# \Set

Used for set-builder style notation with automatically sized braces and thin inner spacing.

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

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Physics: bra-ket](https://texform.dev/latex/topics/physics-braket) |
| Packages | braket |
| Allowed mode | math |
| Tags |  |
| Commonality | low |
| Kind | prefix |

## Syntax

### braket

Argument specification: `m`

Used for set-builder style notation with automatically sized braces and thin inner spacing.

## Examples

```latex
\Set{x}
```

[Open in Playground](https://play.texform.dev/?input=%5CSet%7Bx%7D)

```latex
\Set{x | \frac{x}{2} > 0}
```

[Open in Playground](https://play.texform.dev/?input=%5CSet%7Bx+%7C+%5Cfrac%7Bx%7D%7B2%7D+%3E+0%7D)

## Renderer support

| Package | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- |
| braket | full | full | none |

## In TeXForm

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

## See also

- [\\braket](https://texform.dev/latex/commands/braket)
- [\\Braket](https://texform.dev/latex/commands/Braket)
- [\\set](https://texform.dev/latex/commands/set)

## Test cases

### braket

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