如下为所需编辑的公式:
如下为latex用法:
p\left ( z_{i}=k \right )=\left\{
\begin{array}{lr}
\frac{ c_{k}}{\sum_{t} c_{k}+\gamma }, \: \: \: \: \: for \, a \, occupied\, table & \\
\frac{ \gamma }{\sum_{t} c_{k}+\gamma }, \: \: \: \: \: for\, an \,unoccupied \,table &
\end{array}
\right.