Commit 11870534 authored by Andreas Herten's avatar Andreas Herten

Make footer element4 also changeable, for institute logos

Just like for footer element{1..3}, footer element4 can now be set via `\setbeamertemplate`. This will replace the FZJ logo in the lower right corner by the user's choosing. Intended usage is a FZJ logo which has the institute name to the right of it.
That also is the main difference of `\setbeamertemplate{footer element4}` to 1..3: The vertical margins are adapted to match the align of the FZJ logo.

A section has been added to the tutorial to show and explain the usage.
parent e2a55bbe
...@@ -169,7 +169,16 @@ ...@@ -169,7 +169,16 @@
\tlap{\vspace{0.02\paperheight}\includegraphics[width=3.0cm]{#1}}% \tlap{\vspace{0.02\paperheight}\includegraphics[width=3.0cm]{#1}}%
%\end{beamercolorbox}% %\end{beamercolorbox}%
} }
\defbeamertemplate{footer element4}{logo}[1]
{%
% Customize footer element 4, where usually the Jülich logo goes. This template expects a FZJ logo with an institute addition to the right. The vertical margins are modified the same way they are for the FZJ logo
\raisebox{%
\dimexpr0.05\paperheight-0.0028\paperheight-0.0015\paperheight\relax% 0.0028 = 0.5*0.07*0.08
}{%
\includegraphics[height=0.08\paperheight]{#1}%
}%
\hspace*{0.05\paperheight}%
}
%------------------------------------------------ %------------------------------------------------
% footer elements: default settings % footer elements: default settings
%------------------------------------------------ %------------------------------------------------
......
File added
% !TEX root = tutorial.tex
\part{Tweaks} \part{Tweaks}
\makepart \makepart
\section{Slide Number Display} \section{Slide Number Display}
...@@ -24,6 +25,7 @@ ...@@ -24,6 +25,7 @@
\end{block} \end{block}
\end{frame} \end{frame}
\section{Partner Logos} \section{Partner Logos}
\setbeamertemplate{footer element1}[logo]{jara}% \setbeamertemplate{footer element1}[logo]{jara}%
...@@ -52,3 +54,23 @@ ...@@ -52,3 +54,23 @@
\setbeamertemplate{footer element1}[default] \setbeamertemplate{footer element1}[default]
\setbeamertemplate{footer element2}[default] \setbeamertemplate{footer element2}[default]
\setbeamertemplate{footer element3}[default] \setbeamertemplate{footer element3}[default]
\section{Institute Logo}
{\setbeamertemplate{footer element4}[logo]{fzj-jsc}
\begin{frame}[fragile]
\frametitle{FZJ Logo with Institute Name}
\begin{itemize}
\item A variant of the Jülich logo has the institute's name right next to it
\item How this looks like for Jülich Supercomputing Centre is shown on this slide
\item Changing the logo works through the mechanism presented on the previous slide
\begin{block}{Change Jülich Logo}
\verb+\setbeamertemplate{footer element4}[logo]{fzj-jsc}+
\end{block}
\item In contrast to the image insertion mechanism for \verb+footer element1-3+, the logo is vertically adjusted to the bottom baseline of the slide.
\item The included logo, \verb+fzj-jsc+ in the example here, is expected to be a graphic without any surrounding whitespace
\end{itemize}
\end{frame}
}%footer element JSC
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment