Imagine that you want to produce a series of three transition or thematically linked slides. By that, I mean that most of the information on the slide remains the same, with minor additions, deletions or changes.
As an example consider the following three frames:
The first step, in this case, would be to draw the three figures in a drawing program (like Inkscape), preferably one which supports layers.
I like to draw a border around the image. That way, when I export the image into PNG or PDF format the dimensions of the image are conserved.
Next, we use the following self-explanatory TeX code:
As an example consider the following three frames:
The first step, in this case, would be to draw the three figures in a drawing program (like Inkscape), preferably one which supports layers.
I like to draw a border around the image. That way, when I export the image into PNG or PDF format the dimensions of the image are conserved.
Next, we use the following self-explanatory TeX code:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{frame} | |
%\frametitle<1>{Title for slide 1} | |
%\frametitle<2>{Title for slide 2} | |
%\frametitle<3>{Title for slide 3} | |
\frametitle{MSD} | |
\begin{overprint} | |
\onslide<1> Trajectory of a single particle, $\mathbf{r}(t)$ | |
\onslide<2> Take snapshots at fixed time intervals $\Delta t$ | |
\onslide<3> Report discretized trajectory, $\{\mathbf{r}_1, \mathbf{r}_2, ..., \mathbf{r}_N\}$, where | |
$$\mathbf{r}_i = \mathbf{r}(t = (i-1) \Delta t).$$ | |
\end{overprint} | |
\bigskip | |
\begin{overprint} | |
\onslide<1>\centerline{\includegraphics[scale=0.4]{figs/msdtut1a.png}}% | |
\onslide<2>\centerline{\includegraphics[scale=0.4]{figs/msdtut1b.png}}% | |
\onslide<3>\centerline{\includegraphics[scale=0.4]{figs/msdtut1c.png}}% | |
\end{overprint} | |
\end{frame} |
No comments:
Post a Comment