In this tutorial, we will learn how to uncover a formula in Beamer using \onslide
command. The following minimal working example highlights how to uncover the Schrödinger’s equation step-by-step:
% Uncover formula in Beamer \documentclass{beamer} % Theme choice \usetheme{AnnArbor} % for the mathematical part \usepackage{amsmath, bm} \begin{document} \begin{frame}{Schrödinger’s time-dependent equation} % Slide 1 \only<1>{\[ i\hbar \]} % Slide 2 \only<2> { \[ i\hbar \frac{\partial}{\partial t}{\Psi(\bm{r}, t)}\] } % Slide 3 \only<3> { \[ i\hbar \frac{\partial}{\partial t}{\Psi(\bm{r}, t)}=\left[ \right] \Psi(\bm{r},t)\] } % Slide 4 \only<4> { \[ i\hbar \frac{\partial}{\partial t}{\Psi(\bm{r}, t)}=\left[ \frac{-\hbar^2}{2\mu}\nabla^2\right] \Psi(\bm{r},t)\] } % Slide 5 \only<5> { \[ i\hbar \frac{\partial}{\partial t}{\Psi(\bm{r}, t)}=\left[ \frac{-\hbar^2}{2\mu}\nabla^2+V(\bm{r},t)\right] \Psi(\bm{r},t)\] } \end{frame} \end{document}
which yields the following result: