我使用以下内容来定义 Beamer 演示文稿的脚注元素:
\setbeamerfont{footline}{size=\large}
\defbeamertemplate*{footline}{Institute} %the fontsize changes the size of the footer
{
\center{\color{algrey}{\noindent\hspace{0cm}\rule[0cm]{\paperwidth}{1pt}}}\\
\leavevmode%
% \vspace{0.4cm}
\begin{beamercolorbox}[sep=.5em,wd=\paperwidth,ht=4.90ex,dp=1ex,center]{innerbox}%
% FAU Logo
%\begin{picture}(100.0,0.0)
% \put(290.7,-9.85){\includegraphics[height=0.7cm]{templates/logos/logo_dummy}}
% \end{picture}
\begin{beamercolorbox}[wd=0.400\paperwidth,ht=2ex,dp=0ex,left]{innerbox}%
{\setstretch{10.0}\fontsize{5}{10}\selectfont \inserttitle \\[4pt] \insertauthor \par}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=1.1cm,ht=2ex,dp=0ex,center]{innerbox}%
{\fontsize{3}{0}\selectfont\textcopyright~\the\year\\[3pt]
%Page \insertframenumber{}/\inserttotalframenumber{}}
Page \insertframenumber{}}
\end{beamercolorbox}
% Page Counter
\begin{beamercolorbox}[wd=0.425\paperwidth,ht=1ex,dp=0ex,right]{innerbox}%
%{\large Institute}\\
\vspace{-0.19cm}
\includegraphics[height=0.7cm]{templates/logos/logo_dummy}
%{\fontsize{4}{0}\selectfont\copyright~Institute, 2013\\[3pt]
%Page \insertframenumber{}/\inserttotalframenumber{}}
% \vspace{-0.5pt}
\end{beamercolorbox}
\end{beamercolorbox}
}
这导致页脚呈现如下形式:
如您所见,标题行之间没有空格(baselineskip)。我尝试
- 设置
\fontsize{x}{y}\selectfont
为不同的值 - 手动设置
\baselineskip
- 改变
\setbeamerfont{footline}{size=\large}
beamercolorbox
改变es的大小
但没有什么可以帮助区分这两条标题线。
答案1
该问题已解决https://tex.stackexchange.com/a/179255可以通过添加\normalbaselines
footline的代码来解决。