# \breakAlign

Configuring the alignment of broken lines within an array or eqnarray in MathJax.

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

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Layout and breaks](https://texform.dev/latex/topics/layout) |
| Packages | base |
| Allowed mode | math |
| Tags | invisible, mathjax-extension |
| Commonality | low |
| Kind | prefix |

## Syntax

### base

Argument specification: `m:N m:N`

Configuring the alignment of broken lines within an array or eqnarray in MathJax.

## Examples

```latex
\begin{array}{c} \breakAlign{c}{t} x = 1 \end{array}
```

[Open in Playground](https://play.texform.dev/?input=%5Cbegin%7Barray%7D%7Bc%7D+%5CbreakAlign%7Bc%7D%7Bt%7D+x+%3D+1+%5Cend%7Barray%7D)

```latex
\begin{eqnarray} \breakAlign{r}{b} x = 1 \\ y = 2 \end{eqnarray}
```

[Open in Playground](https://play.texform.dev/?input=%5Cbegin%7Beqnarray%7D+%5CbreakAlign%7Br%7D%7Bb%7D+x+%3D+1+%5C%5C+y+%3D+2+%5Cend%7Beqnarray%7D)

## Renderer support

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

## In TeXForm

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

## Test cases

### base

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \begin{array}{cc} \breakAlign{c}{t} a & b \end{array} | Positive: ctx:in-array | Pass | Fail | Fail |
