答案1
基本思想是如果给出了特定的框架选项,则调用一些命令(通过加载特殊模板)。为了将其限制到单个框架,在每个新框架之前调用默认值。
\documentclass{beamer}
\usepackage{etoolbox}
\BeforeBeginEnvironment{frame}{%
\normalsize%
\normalcolor%
}
\makeatletter
\define@key{beamerframe}{bigword}[true]{%
\Huge
\color{orange}
}
\makeatother
\begin{document}
\begin{frame}
normal
\end{frame}
\begin{frame}[bigword]
big
\end{frame}
\begin{frame}
normal
\end{frame}
\end{document}
对于更复杂的“模板”,https://tex.stackexchange.com/a/257301/36296可能会有用。
答案2
你可以尝试fancyslides
。它基于,beamer
但它使用两个或三个命令来输入预定义格式的幻灯片:标题、要点、项目(更多详细信息请参阅 fancyslides 文档)。还可以在每张幻灯片上固定特定的背景图像。
以下是根据随软件包分发的原始版本改编的使用示例
\documentclass{fancyslides}
\usepackage[utf8]{inputenc}
\usepackage{times}
%%% Beamer settings (do not change)
\usetheme{default}
\setbeamertemplate{navigation symbols}{} %no navigation symbols
\setbeamercolor{structure}{fg=\yourowntexcol}
\setbeamercolor{normal text}{fg=\yourowntexcol}
%%%%%%%%%%%%%%%%%%%%%%%%%
%%% CUSTOMISATIONS %%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% SLIDE ELEMENTS
\newcommand{\structureopacity}{0.75} %opacity for the structure elements (boxes and dots)
\newcommand{\strcolor}{blue} %elements colour (predefined blue; orange; green)
%%%% TEXT COLOUR
\newcommand{\yourowntexcol}{white}
%%%%%%%%%%%%%%%%%%%%%%%%%
%%% TITLE SLIDE DATA %%%%
%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\titlephrase}{MAKE YOUR POINT CLEAR WITH FANCYSLIDES}
\newcommand{\name}{Your Name}
\newcommand{\affil}{Company}
\newcommand{\email}{[email protected]}
\begin{document}
\startingslide %this generates titlepage from the data above
\begin{frame}
\pointedsl{Your point}
\end{frame}
\begin{frame}
\framedsl{This is important}
\end{frame}
\begin{frame}
\itemized{
\item BEAMER EASE OF USE
\item MODERN LOOK \& FEEL
}
\end{frame}
\fbckg{frog}
\begin{frame}
\pointedsl{Thank you!}
\end{frame}
\end{document}
看起来像: