# \norm

Used for norm notation with double bars around a required brace-delimited expression, optionally starred for plain non-stretchy fences.

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

## Metadata

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

## Syntax

### physics

Argument specification: `s m{}`

Used for norm notation with double bars around a required brace-delimited expression, optionally starred for plain non-stretchy fences.

## Examples

```latex
\norm{a}
```

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

```latex
\norm*{a}
```

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

## Renderer support

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

## In TeXForm

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

### Expands to (physics)

```latex
\norm{#1}
```

→

```latex
\left\| #1 \right\|
```

With a leading star, the reparsed form uses plain fences `\| #1 \|`; with an adjacent sizing control sequence \big, \Big, \bigg, or \Bigg before the brace, it reparses to the corresponding sized fence form.

### [physics/norm-to-double-vert-fence](https://texform.dev/rules/physics/norm-to-double-vert-fence)

Rewrite norm to explicit double-vertical-bar fences.

Level: faithful. Fidelity: render.

```latex
\norm{#1}
```

→

```latex
\left\| #1 \right\|
```

```latex
\norm{v}
```

→

```latex
\left\| v \right\|
```

## See also

- [\\abs](https://texform.dev/latex/commands/abs)
- [\\absolutevalue](https://texform.dev/latex/commands/absolutevalue)
- [\\bqty](https://texform.dev/latex/commands/bqty)
- [\\Bqty](https://texform.dev/latex/commands/Bqty)
- [\\order](https://texform.dev/latex/commands/order)
- [\\pqty](https://texform.dev/latex/commands/pqty)
- [\\qty](https://texform.dev/latex/commands/qty)
- [\\quantity](https://texform.dev/latex/commands/quantity)
- [\\vqty](https://texform.dev/latex/commands/vqty)

## Test cases

### physics

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \norm{a} | Positive: baseline | Pass | Fail | Pass |
| \norm*{a} | Positive: vary:s[0] | Pass | Fail | Pass |
