用户在写 beamer 的时候发现的问题,代码如下:
\documentclass{beamer}
\begin{document}
\begin{frame}{Introduction}
\centering
{ \textbf{Quantum Information Processing}}
\begin{itemize}[<+->]
\item \includegraphics<1->[width=0.9cm]{example-image-duck} University of Oxford
\item \includegraphics<2->[width=2.5cm]{example-image-duck} Université de Montréal
\item \includegraphics<3->[width=2cm]{example-image-duck} Université du Quebec
\end{itemize}
\end{frame}
\end{document}
选自这里:https://tex.stackexchange.com/questions/667518/beamer-with-itemize-and-images-in-item-avoid-jumps
正确代码如下:
\documentclass{beamer}
\usepackage[export]{adjustbox}
\begin{document}
\begin{frame}[t]
\frametitle{Introduction}
\centering
{ \textbf{Quantum Information Processing}}
\begin{itemize}[<+->]
\item \includegraphics<1->[width=0.9cm,valign=c]{example-image-duck} University of Oxford
\item \includegraphics<2->[width=2.5cm,valign=c]{example-image-duck} Université de Montréal
\item \includegraphics<3->[width=2cm,valign=c]{example-image-duck} Université du Quebec
\end{itemize}
\end{frame}
\end{document}
效果如下: