# \'

Used in text mode to place an acute accent over the next letter, e.g. for accented words and names.

https://texform.dev/latex/commands/-27-

## Metadata

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

## Syntax

### textmacros

Argument specification: `m:T`

Used in text mode to place an acute accent over the next letter, e.g. for accented words and names.

## Examples

```latex
\text{\'{a}}
```

[Open in Playground](https://play.texform.dev/?input=%5Ctext%7B%5C%27%7Ba%7D%7D)

```latex
\text{\' a}
```

[Open in Playground](https://play.texform.dev/?input=%5Ctext%7B%5C%27+a%7D)

## Renderer support

| Package | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- |
| textmacros | full | full | full |

## Usage frequency

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

## In TeXForm

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

## Equivalent forms

```latex
\’{#1}
```

exact. MathJax maps both control-sequence names to the same Accent handler and accent character.

## See also

- [\\.](https://texform.dev/latex/commands/-2e-)
- [\\‘](https://texform.dev/latex/commands/-2018-)
- [\\’](https://texform.dev/latex/commands/-2019-)
- [\\"](https://texform.dev/latex/commands/-22-)
- [\\`](https://texform.dev/latex/commands/-60-)
- [\\^](https://texform.dev/latex/commands/-5e-)
- [\\=](https://texform.dev/latex/commands/-3d-)
- [\\~](https://texform.dev/latex/commands/-7e-)
- [\\u](https://texform.dev/latex/commands/u)
- [\\v](https://texform.dev/latex/commands/v)

## Test cases

### textmacros

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \'{a} | Positive: baseline | Pass | Pass | Pass |
| \' a | Positive: bare[0] | Pass | Pass | Pass |
| \'{a^2} | Negative: neg:T[0] | Fail | Fail | Pass |
