我想要一个带有章节名称的幻灯片的投影仪演示文稿。
作为 MWE,这满足了我的需要,并且有效:
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\AtBeginSection[]{
\begin{frame}
\centering\Huge
--- \insertsection\ ---
\end{frame}
}
\begin{document}
\section{First}
\begin{frame}
This is a first
\end{frame}
\section{Second}
\begin{frame}
This is a second
\end{frame}
\end{document}
但我想以大写形式显示部分名称,但如果我尝试以下修改,我会收到大量错误。
\AtBeginSection[]{
\begin{frame}
\centering\Huge
--- \MakeUppercase{\insertsection} ---
\end{frame}
}
这些是错误的第一行:
Undefined control sequence. \section{First}
Argument of \beamerx@\hyperlink has an extra }. \section{First}
Paragraph ended before \beamerx@\hyperlink was complete. \section{First}
Undefined control sequence. \section{First}
Use of \beamer@foundspec doesn't match its definition. \section{First}
Undefined control sequence. \section{First}
Undefined control sequence. \section{First}
Argument of \reserved@a has an extra }. \section{First}
--- cut ---
有什么技巧可以在这里获得大写字母吗?我真的迷路了……
编辑
更新到 v3.50 后一切正常。
答案1
该问题已得到修复,在 v3.50 中正常运行。