# gather*

Displayed groups of equations on separate centered lines without shared alignment points and without automatic numbering.

https://texform.dev/latex/environments/gather-star

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Alignment](https://texform.dev/latex/topics/alignment) |
| Packages | ams |
| Allowed mode | math |
| Tags | math-alignment |
| Commonality | medium |
| Body mode | math |

## Syntax

### ams

Argument specification: ``

Displayed groups of equations on separate centered lines without shared alignment points and without automatic numbering.

## Common tasks

### How to center unnumbered equations

```latex
\begin{gather*} a=b \\ c=d \end{gather*}
```

[Open in Playground](https://play.texform.dev/?input=%5Cbegin%7Bgather*%7D+a%3Db+%5C%5C+c%3Dd+%5Cend%7Bgather*%7D)

### How to list identities without tags

```latex
\begin{gather*} x+y=z \\ x-y=w \end{gather*}
```

[Open in Playground](https://play.texform.dev/?input=%5Cbegin%7Bgather*%7D+x%2By%3Dz+%5C%5C+x-y%3Dw+%5Cend%7Bgather*%7D)

## Examples

```latex
\begin{gather*} a = b \end{gather*}
```

[Open in Playground](https://play.texform.dev/?input=%5Cbegin%7Bgather*%7D+a+%3D+b+%5Cend%7Bgather*%7D)

## Renderer support

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

## Usage frequency

0.37% of formulas in the measured corpus contain this entry, rank 15 of 31 entries with frequency data.

## In TeXForm

TeXForm reads the environment body in math mode.

## See also

- [align](https://texform.dev/latex/environments/align)
- [align*](https://texform.dev/latex/environments/align-star)
- [eqnarray](https://texform.dev/latex/environments/eqnarray)
- [eqnarray*](https://texform.dev/latex/environments/eqnarray-star)
- [gather](https://texform.dev/latex/environments/gather)
- [split](https://texform.dev/latex/environments/split)

## Test cases

### ams

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \begin{gather*} a \\ b \end{gather*} | Positive: ctx:no-ampersand | Pass | Fail | Pass |
