1

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{equation}%
\begin{split}
R-Rf& =\alpha_1EU+\alpha_2US+\beta_1MktRf+\beta_2EUFund*MktRf+\epsilon
\end{split}
\end{equation}

\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}  
Sigur
  • 37,330
  • 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
  • 1
    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
  • 4
    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
  • So could you give me a bit more. I have tried multiple variations of interpreting your $...$ and it does not work. – KW_LostNube Jan 13 '14 at 19:36
  • Your original file is working fine for me on TeX Live 2012 on a Mac. Maybe you can remove all the .aux and other generated files, and try again from a clean folder with only the .tex file in it? – Mike Renfro Jan 13 '14 at 21:15
  • solved running C:\Pragram Files\MiKTeX\miktex\bin\updmap.exe, thanks @UlrikeFischer Found on this page http://tex.stackexchange.com/questions/64147/beamer-over-miktex-2-9-is-not-working-with-math-environment – KW_LostNube Jan 16 '14 at 04:24

1 Answers1

2

solved running C:\Pragram Files\MiKTeX\miktex\bin\updmap.exe, thanks @UlrikeFischer I found it eventually on this page--> beamer over miktex 2.9 is not working with math environment