2

Objective: Achieve something like this:

Desired results

by modifying this:

\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}

Which gives this result:

Starting point

1 Answer 1

5

The frame footer is only the first part of the footline in the metropolis theme (or its updated fork moloch). If you want your line to span the whole frame, modify the footline instead.

\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}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .