Given an equation, say Bayes' rule,

```
$P(X \mid O) \propto P(X)P(O \mid X)$
```

how do I label the different parts of the equation using curly braces?

Skip to content
# [Tex/LaTex] Using braces to label parts of an equation

bracesequations

Given an equation, say Bayes' rule,

```
$P(X \mid O) \propto P(X)P(O \mid X)$
```

how do I label the different parts of the equation using curly braces?

## Best Answer

I think you're after the

`\underbrace`

and`\overbrace`

commands, which you could use asWhich results in: