# \overleftrightarrow

Used to place a double-headed arrow over an expression, for bijections, equivalences, or two-way directional notation.

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

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Accents](https://texform.dev/latex/topics/accents) |
| Packages | base |
| Allowed mode | math |
| Tags | decoration |
| Commonality | low |
| Kind | prefix |

## Syntax

### base

Argument specification: `m`

Used to place a double-headed arrow over an expression, for bijections, equivalences, or two-way directional notation.

## Examples

```latex
\overleftrightarrow{AB}
```

[Open in Playground](https://play.texform.dev/?input=%5Coverleftrightarrow%7BAB%7D)

## Renderer support

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

## Usage frequency

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

## In TeXForm

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

## See also

- [\\overbrace](https://texform.dev/latex/commands/overbrace)
- [\\overleftarrow](https://texform.dev/latex/commands/overleftarrow)
- [\\overline](https://texform.dev/latex/commands/overline)
- [\\overparen](https://texform.dev/latex/commands/overparen)
- [\\overrightarrow](https://texform.dev/latex/commands/overrightarrow)
- [\\underbrace](https://texform.dev/latex/commands/underbrace)
- [\\underleftarrow](https://texform.dev/latex/commands/underleftarrow)
- [\\underleftrightarrow](https://texform.dev/latex/commands/underleftrightarrow)
- [\\underline](https://texform.dev/latex/commands/underline)
- [\\underparen](https://texform.dev/latex/commands/underparen)
- [\\underrightarrow](https://texform.dev/latex/commands/underrightarrow)

## Test cases

### base

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \overleftrightarrow{a} | Positive: baseline | Pass | Pass | Fail |
| \overleftrightarrow a | Positive: bare[0] | Pass | Pass | Fail |
