# Why will Beamer Equation Killing Document [duplicate]

I am a totally new to beamer and I just can't seem to figure out why beamer won't let me include equations. I run the following code and it does not work. I try to include {equation*} but it still does not work. Any help would be appreciated

\documentclass{beamer}
%%%%%%%
\begin{document}
%%%%%%%
\begin{frame}
\frametitle{Modified CAPM }

$$% \begin{split} R-Rf& =\alpha_1EU+\alpha_2US+\beta_1MktRf+\beta_2EUFund*MktRf+\epsilon \end{split}$$

\end{frame}
\end{document}


Also it does not work when I update the code to simply:

\documentclass{beamer}

\begin{document}
\begin{frame}
R-Rf=\alpha_1EU+\alpha_2US+\beta_1MktRf+\beta_2EUFund*MktRf+\epsilon
\end{frame}
\end{document}

• Everything is working here using TeXlive 2013 on Linux. Please, post the error message from the log file. – Sigur Jan 13 '14 at 18:15
• Welcome to the site. For your information, adding four spaces before code will typeset the code properly in your question. Alternately, highlight the code, and click the {} button in the window. I have done this for you. – Steven B. Segletes Jan 13 '14 at 18:15
• The errors include: ! misplaced alignment tab character &. !missing $inserted !missing$ inserted 0 pages are made – KW_LostNube Jan 13 '14 at 18:18
• The above code also does not print pages – KW_LostNube Jan 13 '14 at 18:21
• You can not use math without math mode. Use equation environment like you'd posted before. The code above requires $...$ to type formulas. – Sigur Jan 13 '14 at 18:22