如何在幻灯片中以适当的间距容纳小内容

如何在幻灯片中以适当的间距容纳小内容

我希望将我的小事放在单独的幻灯片中,以便以适当的间距覆盖整个幻灯片。我该怎么做? Dr. ASMuktibodh 印度

答案1

一如既往,实际执行比预期更困难。请注意,所有计算出的(展开的)修剪尺寸都必须放在括号中。

\documentclass{beamer}
\usepackage{adjustbox}
\usepackage{lipsum}
\begin{document}

\newsavebox{\master}
\newsavebox{\zoom}

\savebox{\master}{\parbox{\textwidth}{\lipsum[1]}}% must be outside frame

\begin{frame}
\frametitle{Original}
\usebox{\master}
\end{frame}

\begin{frame}
\frametitle{Upper Left}
\adjustbox{scale=2, clip=true, trim=0 {\dimexpr 0.5\ht\master + 0.5\dp\master} {0.5\wd\master} 0}%
  {\usebox{\master}}
\end{frame}

\begin{frame}
\frametitle{Upper Right}
\adjustbox{scale=2, clip=true, trim={0.5\wd\master} {\dimexpr 0.5\ht\master + 0.5\dp\master} 0  0}%
  {\usebox{\master}}
\end{frame}

\begin{frame}
\frametitle{Lower Left}
\adjustbox{scale=2, clip=true, trim=0 0 {0.5\wd\master} {\dimexpr 0.5\ht\master + 0.5\dp\master}}%
  {\usebox{\master}}
\end{frame}

\begin{frame}
\frametitle{Lower Right}
\adjustbox{scale=2, clip=true, trim={0.5\wd\master} 0 0 {\dimexpr 0.5\ht\master + 0.5\dp\master}}%
  {\usebox{\master}}
\end{frame}

\end{document}

相关内容