# \badbreak

Used to discourage a line break at the current point in a math expression without completely forbidding it.

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

## 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 discourage a line break at the current point in a math expression without completely forbidding it.

## Examples

```latex
a\badbreak+b
```

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

## 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.

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

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

Level: corpus. Fidelity: reading.

```latex
\badbreak
```

→

```latex

```

```latex
a_0+a_1\badbreak+a_2+a_3
```

→

```latex
a_0+a_1+a_2+a_3
```

## See also

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

## Test cases

### base

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