一帧 Beamer 中的多幅图像

一帧 Beamer 中的多幅图像

我必须为一次面试做演示,我想在幻灯片中显示一个项目列表,其中每个项目后面都有 3 幅图像,这些图像在页面的特定位置上依次出现。完成第 3 个图后,我希望所有 3 张图片都消失。

这是我编写的未插入图像的代码:

\section{Academic Background}
\subsection{}
\begin{frame}
\frametitle{Courses of the Master Degree}
\end{frame}
%
\begin{frame}
\frametitle{Main Courses}
\begin{block}
{\textit{Robotics Control}$\rightarrow$ Prof. Bruno Siciliano}
\end{block}
\begin{block}
{\textit{Nonlinear Control}$\rightarrow$ Prof. Mario Di Bernardo }
\end{block}
\end{frame}
%
\begin{frame}
\begin{block}
    {\textbf{\textit{Robotics Control}}\\Prof. Bruno Siciliano}
    \begin{itemize}
        \tick Industrial Robots
        \pause
        \tick Direct and Inverse Kinematics
        \pause
**I WANT THE THREE PICTURES HERE !!!**
        \tick Direct and Inverse Dynamics
        \pause
        \tick Planning of the EE Trajectory 
        \pause
    \end{itemize}      
    Different robot control techniques:\\
    \begin{itemize}
        \item Centralized and Decentralized Control
        \pause      
        \item Pre-Computed Torque Control       
        \pause      
        \item PD Control with Gravity Compensation 
        \pause      
        \item Force Control
    \end{itemize}
\end{block}
\end{frame}

谢谢你的帮助,Fab。

答案1

这是一种使用可能性\only

\documentclass{beamer}
\usepackage{bbding}

\newenvironment<>{citemize}
  {\bgroup\setbeamertemplate{itemize item}{\Checkmark}\begin{itemize}}
  {\end{itemize}\egroup}

\begin{document}

\begin{frame}
\begin{block}
    {\textbf{\textit{Robotics Control}}\\Prof. Bruno Siciliano}
    \begin{citemize}
        \item Industrial Robots\pause
        \item Direct and Inverse Kinematics\pause
\only<3-5>{
\begin{center}
        \only<3-5>{\par\smallskip\raisebox{-0.5\height}[0pt][0pt]{\includegraphics[height=1cm]{example-image-a}}}
        \only<4,5>{\par\raisebox{-\height}[0pt][0pt]{\includegraphics[height=1cm]{example-image-b}}}
        \only<5>{\par\raisebox{-1.5\height}[0pt][0pt]{\includegraphics[height=1cm]{example-image-c}}}
\end{center}
}
        \item<6-> Direct and Inverse Dynamics
        \item<7-> Planning of the EE Trajectory
    \setcounter{beamerpauses}{7} 
    \end{citemize}\pause   
    Different robot control techniques:\pause
    \begin{itemize}[<+->]
        \item Centralized and Decentralized Control
        \item Pre-Computed Torque Control       
        \item PD Control with Gravity Compensation 
        \item Force Control
    \end{itemize}
\end{block}
\end{frame}

\end{document}

在此处输入图片描述

的原始定义\tick

\newcommand*\tick{\item[\Checkmark]} 

不是一个好方法,因为\tick它不具备覆盖感知能力(这是可取的,事实上,在目前的情况下,它是必需的)。在我的代码中,我定义了一个覆盖感知citemize环境,它将项目标签更改为,\Checkmark并且仍然允许您使用标准\item命令。

相关内容