
在投影機類別文件中,我想更改枚舉環境的定義,以便每個項目都顯示在自己的框架中,位於框架的頂部。換句話說,我想要以下程式碼
\documentclass{beamer}
% Code changing the definition of enumerate
\begin{document}
\begin{enumerate}
\item First point
\item Second point
\end{enumerate}
\end{document}
產生相同的結果
\documentclass{beamer}
\begin{document}
\begin{frame}
1) First point
\vspace*{\textheight} % moves the item at the top of the slide
\end{frame}
\begin{frame}
2) Second point
\vspace*{\textheight}
\end{frame}
\end{document}
請注意,我不希望1) First point
出現在第二張投影片上。
如果可能的話(錦上添花!),我希望enumerate
僅在特定環境中使用時才應用 的重新定義(例如myenv
)。