当我在小型页面内添加 beamer 中的块时,我得到的是比小型页面更大的块,而不是适合小型页面的块。所以这给了我非常奇怪的对齐:
任何想法?
谢谢 !
梅威瑟:
\documentclass{beamer}
\usetheme{Warsaw}
\begin{document}
\begin{frame}{My slide}
\begin{minipage}{.3\linewidth}
\begin{exampleblock}{My title}
Hello, I'm an example block with several lines on the left part of my slide.
\end{exampleblock}
\end{minipage}%
\begin{minipage}{.7\linewidth}
Hello, I'm a classical text with several lines on the right part of my slide.
\end{minipage}
\end{frame}
\end{document}
答案1
如果您使用columns
,则不会出现此问题。
\documentclass{beamer}
\usetheme{Warsaw}
\begin{document}
\begin{frame}{My slide}
\begin{columns}
\begin{column}{.3\linewidth}
\begin{exampleblock}{My title}
Hello, I'm an example block with several lines on the left part of my slide.
\end{exampleblock}
\end{column}%
\begin{column}{.7\linewidth}
Hello, I'm a classical text with several lines on the right part of my slide.
\end{column}
\end{columns}
\end{frame}
\end{document}