GeneralHow to write this formula

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

How to write this formula

Post by gmedina »

Please read our previous responses and the links to basic documentation. Regarding the spacing issue here's another option:

Code: Select all

\documentclass{beamer}
\usepackage{amsmath}

\newcommand\mypar{\par\vspace{\baselineskip}} 

\begin{document}

\begin{frame}
\begin{equation*}
  \begin{split}
  \alpha_{\text{act}}^{\text{recalc}}=
  &\sum_{x_{11}=0}^{n_{11}}\sum_{x_{12}=0}^{n_{12}}\sum_{x_{21}=0}^{n_{21}}\sum_{x_{22}=0}^{n_{22}}
  \binom{n_{11}}{x_{11}}\binom{n_{12}}{x_{12}}\\
  &\times\binom{n_{21}}{x_{21}}\binom{n_{22}}{x_{22}}
  \pi^{x} \, (1-\pi)^{n-x}\cdot 1_{\left\{\chi^{2}\geq\chi^{2}_{1,1-\alpha}\right\}}
  \end{split}
\end{equation*}
\end{frame}

\begin{frame}
  Some text

  Some text

  Some text\mypar

  Some text
\end{frame}

\end{document} 
EDIT: Ah! I think then that this post can be safely deleted.

On a second thought, maybe not. I will leave the decision to the Moderators
1,1,2,3,5,8,13,21,34,55,89,144,233,...

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply