我有一张beamer
带有几个递归子枚举的幻灯片,例如:
\begin{enumerate}
\item Do A
\begin{enumerate}
\item Have B
\item Load C
\item Backup D
\begin{enumerate}
\item Connect to E
\item Transfer F
\end{enumerate}
\end{enumerate}
\item \ldots
\end{enumerate}
beamer
的默认渲染是每增加一个缩进级别,字体就会变小。我怎样才能让所有字体保持相同的大小,而且最好是大尺寸?
答案1
重置字体大小:
\setbeamerfont*{itemize/enumerate body}{size=\large}
\setbeamerfont*{itemize/enumerate subbody}{parent=itemize/enumerate body}
\setbeamerfont*{itemize/enumerate subsubbody}{parent=itemize/enumerate body}
答案2
您可以调整相应的模板,例如
\setbeamertemplate{itemize/enumerate body begin}{\large}
\setbeamertemplate{itemize/enumerate subbody begin}{\large}
\setbeamertemplate{itemize/enumerate subsubbody begin}{\large}
用于文本,如果需要,也用于数字,例如
\setbeamertemplate{enumerate item}{\large\insertenumlabel.}
\setbeamertemplate{enumerate subitem}{\large\insertenumlabel.\insertsubenumlabel}
\setbeamertemplate{enumerate subsubitem}{%
\large\insertenumlabel.\insertsubenumlabel.\insertsubsubenumlabel}