Is there some standard way to create multiple display equations like the following
without having to use:
\renewcommand*{\arraystretch}{2}
(so that the two rows in the second equation don't get too close to each other)array
environment (so that I can use\renewcommand*{\arraystretch}{2}
. Can't use thealign
environment again)\displaystyle
(so that things would be displayed the way they would if I usedalign
)
as I've done below? My solution just seems like such a kludgy hack. There has to be a better/standard way...right?
\documentclass[10pt]{article}
\usepackage{amsmath}
\begin{document}
\renewcommand*{\arraystretch}{2}{
\begin{align*}
\pi(\mu \mid x) &= \frac{\pi(\mu)\,\mathcal{L}(x \mid \mu)}{p(x)} \\
&= \left\{
\begin{array}{lcl}
\displaystyle{\frac{(1-w)\phi(x)}{p(x)}}
& \mbox{for} & \mu = 0 \\
\displaystyle{\frac{w\gamma(\mu)\phi(x-\mu)}{p(x)}}
& \mbox{for} & \mu \neq 0. \\
\end{array}
\right.\\
\end{align*}
}
\end{document}
\begin{cases} ... \end{cases}
-- en.wikibooks.org/wiki/LaTeX/… ?