# \>

Adds a medium math space in math mode as an alternate medium-space command.

https://texform.dev/latex/commands/-3e-

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Spacing](https://texform.dev/latex/topics/spacing) |
| Packages | base, textmacros |
| Allowed mode | math, text |
| Tags | spacing |
| Commonality | low |
| Kind | prefix |

## Syntax

### base

Argument specification: ``

Adds a medium math space in math mode as an alternate medium-space command.

### textmacros

Argument specification: ``

Used as an alternative command for inserting a medium manual space inside text fragments.

## Examples

```latex
a \> b
```

[Open in Playground](https://play.texform.dev/?input=a+%5C%3E+b)

```latex
\text{a\>b}
```

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

## Package variants

| Package | Argument specification | Allowed mode | Description |
| --- | --- | --- | --- |
| base |  | math | Adds a medium math space in math mode as an alternate medium-space command. |
| textmacros |  | text | Used as an alternative command for inserting a medium manual space inside text fragments. |

## Renderer support

| Package | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- |
| base | full | full | full |
| textmacros | full | full | full |

## Usage frequency

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

## In TeXForm

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

### [base/gt-space-to-colon-space](https://texform.dev/rules/base/gt-space-to-colon-space)

Collapse \> to the canonical medium math space command \:

Level: authoring. Fidelity: render.

```latex
\>
```

→

```latex
\:
```

```latex
a\>b
```

→

```latex
a\:b
```

## Equivalent forms

```latex
\:
```

exact. Both base mappings call BaseMethods.Spacer with MATHSPACE.mediummathspace in math mode.

```latex
\:
```

exact. In the textmacros mappings, \> and \: both call Spacer with MATHSPACE.mediummathspace.

## See also

- [\\,](https://texform.dev/latex/commands/-2c-)
- [\\;](https://texform.dev/latex/commands/-3b-)
- [\\:](https://texform.dev/latex/commands/-3a-)
- [\\!](https://texform.dev/latex/commands/-21-)
- [\\enspace](https://texform.dev/latex/commands/enspace)
- [\\negmedspace](https://texform.dev/latex/commands/negmedspace)
- [\\negthickspace](https://texform.dev/latex/commands/negthickspace)
- [\\negthinspace](https://texform.dev/latex/commands/negthinspace)
- [\\qquad](https://texform.dev/latex/commands/qquad)
- [\\quad](https://texform.dev/latex/commands/quad)
- [\\thinspace](https://texform.dev/latex/commands/thinspace)

## Test cases

### base

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \> | Positive: baseline | Pass | Pass | Pass |

### textmacros

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \> | Positive: baseline | Pass | Pass | Pass |
