diff --git a/templates/presentation.org b/templates/presentation.org index a7f8f4d..8473595 100644 --- a/templates/presentation.org +++ b/templates/presentation.org @@ -42,26 +42,10 @@ # -- Navigation ---------------------------------------------------------------- #+LATEX_HEADER: \setbeamertemplate{navigation symbols}{} -# -- Custom footer (BEAMER_HEADER = inserted AFTER \usetheme{Madrid}) ---------- -# Logo left, author, title (white on red), date + page number -#+BEAMER_HEADER: \setbeamercolor{title in head/foot}{fg=white,bg=kyndrylRed} -#+BEAMER_HEADER: \setbeamertemplate{footline}{% -#+BEAMER_HEADER: \leavevmode% -#+BEAMER_HEADER: \hbox{% -#+BEAMER_HEADER: \begin{beamercolorbox}[wd=.06\paperwidth,ht=2.5ex,dp=1.125ex,center]{author in head/foot}% -#+BEAMER_HEADER: \includegraphics[height=2ex]{logo}% -#+BEAMER_HEADER: \end{beamercolorbox}% -#+BEAMER_HEADER: \begin{beamercolorbox}[wd=.34\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm]{author in head/foot}% -#+BEAMER_HEADER: \usebeamerfont{author in head/foot}\insertshortauthor% -#+BEAMER_HEADER: \end{beamercolorbox}% -#+BEAMER_HEADER: \begin{beamercolorbox}[wd=.40\paperwidth,ht=2.5ex,dp=1.125ex,center]{title in head/foot}% -#+BEAMER_HEADER: \usebeamerfont{title in head/foot}\insertshorttitle% -#+BEAMER_HEADER: \end{beamercolorbox}% -#+BEAMER_HEADER: \begin{beamercolorbox}[wd=.20\paperwidth,ht=2.5ex,dp=1.125ex,rightskip=.3cm,right]{date in head/foot}% -#+BEAMER_HEADER: \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}\insertframenumber{}/\inserttotalframenumber% -#+BEAMER_HEADER: \end{beamercolorbox}% -#+BEAMER_HEADER: }% -#+BEAMER_HEADER: } +# -- Footer: make title readable (white on red) + add logo -------------------- +# BEAMER_HEADER runs AFTER \usetheme{Madrid} in the preamble +#+BEAMER_HEADER: \setbeamercolor{title in head/foot}{fg=white} +#+BEAMER_HEADER: \addtobeamertemplate{footline}{\hskip0.3cm\raisebox{1.2ex}{\includegraphics[height=1.8ex]{logo}}\hskip0.2cm}{} # -- Logo (title page + footer) ------------------------------------------------ #+LATEX_HEADER: \graphicspath{{~/org/templates/}}