I have slide with long equation (eqnarray environment, see screen) and I would like to display each line separately in my .pdf file. How can I do that in LYX?
1 Answers
I will assume that you know how to incorporate "straight LaTeX" code in a lyx document.
If this assumption is correct, the following example should be of interest to you. The screenshot below shows the third slide, i.e., the slide with 3 of the 5 rows uncovered. Observe that rows 4 and 5 are grayed out, i.e., not yet fully uncovered, since I set \setbeamercovered{transparent} in the preamble.
\documentclass{beamer}
\setbeamercovered{transparent} % for "preview of coming attractions" appearance
\begin{document}
\begin{frame}[t]
\begin{align}
P_0 &= C_0-S_0 + K e^{-rT} \
\uncover<2-> {&= S_0\Phi(d_{+}) - K e^{-rT} \Phi(d_{-}) -S_0 + K e^{-rT} }\
\uncover<3-> {&= S_0\bigl[\Phi(d_{+})-1\bigr] - K e^{-rT}\bigl[\Phi(d_{-})-1\bigr] }\
\uncover<4-> {&= S_0\bigl[1-\Phi(-d_{+})-1\bigr] - K e^{-rT}\bigl[1-\Phi(-d_{-})-1\bigr] }\
\uncover<5-> {&= K e^{-rT}\Phi(-d_{-}) - S_0\Phi(-d_{+}) }
\end{align}
\end{frame}
\end{document}
- 506,678
-
Thanks, it works but I use LyX to don't have to write standard LateX formulas :( – Markov Jan 22 '22 at 14:51
-
-
The reason why I'm using LyX is that I can type ctrl+F to produce fraction instead of wrtiting \frac{}{}. So your solution is a little time consuming if I have a lot of long equations. I hope that it's possible to do it in LyX in easiest way – Markov Jan 22 '22 at 14:57
-
-
1Of course it can be but your solution will be a little time consuming, but thank you because it works so until someone give another answer I will use your solution. – Markov Jan 22 '22 at 15:05


aligninstead. – Mico Jan 22 '22 at 13:26