命令 \beamer@@tmpop@footline@miniframes 主题已定义

命令 \beamer@@tmpop@footline@miniframes 主题已定义

我怎样才能解决下面结构中的这个问题?

\PassOptionsToPackage{footline=institutetitle}{beamerouterthememiniframes}
\documentclass{beamer}
\usetheme{Ilmenau}
\usefonttheme{serif}
\author[ggg]{ggg}
\institute[ddd]{ggg}
\date{\today}
%\useoutertheme[footline=institutetitle]{miniframes}
\begin{document}
\section{A section}
\subsection{A subsection}
\frame{Hello}  
\end{document}

答案1

加载 Ilmenau 主题后,您可以使用脚注线中的代码重新定义脚注线institutetitle

\documentclass{beamer}
\usetheme{Ilmenau}

\makeatletter
  \setbeamertemplate{footline}{%
    \begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
    \end{beamercolorbox}
    \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
      leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
      \leavevmode{\usebeamerfont{title in head/foot}\insertshorttitle}%
      \hfill%
      {\usebeamerfont{institute in head/foot}\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute%
      \ifbeamertemplateempty{page number in head/foot}{}{\qquad}%
      \usebeamerfont{page number in head/foot}\usebeamertemplate{page number in head/foot}%      
      }%
    \end{beamercolorbox}%
    \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
    \end{beamercolorbox}
  }
\makeatother

\usefonttheme{serif}
\author[aaa]{aaa}
\institute[iii]{iii}
\title[ttt]{ttt}
\date{\today}

\begin{document}
\section{A section}
\subsection{A subsection}
\frame{Hello}  
\end{document}

在此处输入图片描述

相关内容