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?
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI think you're after the \underbrace
and \overbrace
commands, which you could use as
$\underbrace{P(X \mid O)}_{p_1} \propto \overbrace{P(X)P(O \mid X)}^{p_2}$.
Which results in:
\overbrace