Reputation: 233
How to write math models in LaTex. I tried this code:
\begin{frame}
\frametitle{Random Walk}
E(Rj(j,t+1) | φ_t )=(Rj(j,t+1) ) // this model I copy from a papper
\end{frame}
Upvotes: 0
Views: 2413
Reputation: 23002
You need to enclose mathematics type inside dollar signs $ ... $
for inline mathematics or for a block element \[ ... \]
. Also φ should be typeset with \phi
. And if you want the E
to be bold you can use \mathbf{E}
. Similarly if you want Rj
to be typeset upright and next to each other instead of looking like variables multiplied, use \mathrm{Rj}
or define your own symbol at the start of the document.
LaTeX is it's own language, and there's an entire Stack site dedicated to TeX and its variants: https://tex.stackexchange.com/
Since you're new it might be good to read up on a tutorial or two. There are a ton of resources online but I like the online LaTeX compiler ShareLaTeX and they've got a good set of tutorials covering the basics. I also think this is a great start to learning the ins and outs of LaTeX.
Upvotes: 1