我正在使用 Beamer 和 Hannover 模板创建演示文稿。以下是演示文稿中的一张幻灯片:
\begin{frame}
\frametitle{Vision(Image Acquisition \footnotesize contd.. \large)}
\begin{block}{Camera Calibration}
\begin{itemize}
\scriptsize\item All supported features are queried
\scriptsize\item Sliders are created
\end{itemize}
\bigskip
\begin{enumerate}
\scriptsize\item Automatic driver-made adjustments are disabled
\scriptsize\item Values taken from sliders are set
\scriptsize\item Config file is updated
\end{enumerate}
\end{block}
\bigskip
\begin{block}{Problems}
\begin{itemize}
\scriptsize\item Flickering
\scriptsize\item JPEG Artefacts
\end{itemize}
\end{block}
\end{frame}
如您所见,有两个块。第一个是主要块,第二个更像是附加注释。出于这个原因,我希望第二个块缩进。我该怎么做?
答案1
一个想法可能是使用column
和columns
环境。例如,看看这个 MWE:
\documentclass{beamer}
\usetheme{Hannover}
\begin{document}
\begin{frame}
\frametitle{Vision(Image Acquisition \footnotesize contd.. \large)}
\begin{block}{Camera Calibration}
\begin{itemize}
\scriptsize\item All supported features are queried
\scriptsize\item Sliders are created
\end{itemize}
\bigskip
\begin{enumerate}
\scriptsize\item Automatic driver-made adjustments are disabled
\scriptsize\item Values taken from sliders are set
\scriptsize\item Config file is updated
\end{enumerate}
\end{block}
\bigskip
%% Second block indented
\begin{columns}[t]
\begin{column}{0.1\textwidth}
\end{column}
\begin{column}{0.9\textwidth}
\begin{block}{Problems}
\begin{itemize}
\scriptsize\item Flickering
\scriptsize\item JPEG Artefacts
\end{itemize}
\end{block}
\end{column}
\end{columns}
\end{frame}
\end{document}
这样,您就可以通过选择两列的长度来决定缩进的长度。重要的是,第一列是空的,以便移动块。图形结果是: