# \goodbreak

Used to encourage a permissible line break at the current point in a math expression, typically around operators in long displayed formulas.

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

## Metadata

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

## Syntax

### base

Argument specification: ``

Used to encourage a permissible line break at the current point in a math expression, typically around operators in long displayed formulas.

## Examples

```latex
a\goodbreak+b
```

[Open in Playground](https://play.texform.dev/?input=a%5Cgoodbreak%2Bb)

## Renderer support

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

## Usage frequency

<0.01% of formulas in the measured corpus contain this entry, rank 203 of 263 entries with frequency data.

## In TeXForm

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

### [base/goodbreak-drop](https://texform.dev/rules/base/goodbreak-drop)

Drop goodbreak as a pure linebreak hint during cleanup-oriented normalization.

Level: corpus. Fidelity: reading.

```latex
\goodbreak
```

→

```latex

```

```latex
x_1+x_2\goodbreak+x_3+x_4
```

→

```latex
x_1+x_2+x_3+x_4
```

## See also

- [\\badbreak](https://texform.dev/latex/commands/badbreak)
- [\\nobreak](https://texform.dev/latex/commands/nobreak)

## Test cases

### base

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