Why doesn't this work?
\phantom{
\begin{figure}[H]
\includegraphics{fig.pdf}
\end{figure}
}
It outputs
Error: Something's wrong--perhaps a missing \item.
I'm trying to do something like this
\begin{frame}
\only<1>{%
\begin{tabular}{r|ccc}
Cool table & $a$ & $b$ & $c$ \\\hline
$a$ & 1 & 1 & 0 \\
$b$ & 1 & 1 & 1 \\
\end{tabular}\\
}
\only<2>{%
\begin{tabular}{r|ccc}
Cool table & $a$ & $b$ & $c$ \\\hline
$a$ & 1 & \color{red}1 & 0 \\
$b$ & 1 & 1 & 1 \\
\end{tabular}\\
}
\only<3>{%
\begin{tabular}{r|ccc}
Cool table & $a$ & $b$ & $c$ \\\hline
$a$ & 1 & 1 & \color{red}0 \\
$b$ & 1 & 1 & 1 \\
\end{tabular}\\
}
\only<2>{%
\begin{figure}
\centering
\includegraphics{../shared/arrows_0.pdf}
\end{figure}
}
\only<3>{%
\begin{figure}
\centering
\includegraphics{../shared/arrows_1.pdf}
\end{figure}
}
\end{frame}
And I don't want the table or the picture to jump.
\visibleor\uncoverinstead of\only. Check the beamer docu about the differences. – Ulrike Fischer Apr 10 '21 at 18:30