目标:实现如下目标:
通过修改这个:
\documentclass{beamer}
\usetheme{metropolis}
\def\Vhrulefill{\leavevmode\leaders\hrule height 0.5ex depth
\dimexpr-.5ex+0.4pt\hfill\kern0pt}
\setbeamertemplate{frame footer}{Tag line \Vhrulefill$\begin{array} {l}\includegraphics[height=0.5cm]{example-image-a}\end{array}$}
\begin{document}
\begin{frame}{Frame title}
Text
\end{frame}
\end{document}
得出的结果是:
答案1
这frame footer
只是 metropolis 主题(或其更新的分支moloch
)中脚注线的第一部分。如果您希望线跨越整个框架,请修改脚注线。
\documentclass{beamer}
\usetheme{moloch}% modern fork of the metropolis theme
\usepackage[export]{adjustbox}
\def\Vhrulefill{\leavevmode\leaders\hrule height 0.5ex depth
\dimexpr-.5ex+0.4pt\hfill\kern0pt}
\setbeamertemplate{footline}{%
\begin{beamercolorbox}[wd=\textwidth, sep=3ex]{footline}%
\usebeamerfont{page number in head/foot}%
Tag line \Vhrulefill
\space
\includegraphics[height=0.5cm,valign=c]{example-image-a}
\space
\usebeamertemplate*{page number in head/foot}
\end{beamercolorbox}%
}
\begin{document}
\begin{frame}
\frametitle{Frame title}
Text
\end{frame}
\end{document}