I have a few JPEGS that I need to place in a beamer theme. They are
- Cover Image - cover.jpg: 1st slide
- Header - header.jpg: 2nd slide only
- Footer - footer.jpg: 2nd slide to end
The Cover Image goes on the first slide, the header and footer appear on the title slide (after the footer), and the footer on every subsequent slide.
I've included an example:
I have the footer as a jpeg, and I would like it show on every slide.
So far I've just arranged these in paint and saved a blank slide, and then used \usebackgroundtemplate:
\usebackgroundtemplate{%
\includegraphics[width=\paperwidth,height=\paperheight]{frontslide.jpg}}
however, this has distorted the images unacceptably.
I've created a beamer theme as below:
Outer: \mode
% Frame title
\defbeamertemplate*{frametitle}{texsx}[1][]
{
\vskip1cm%
\begin{beamercolorbox}[wd=\paperwidth,ht=1.2cm]{frametitle}
\end{beamercolorbox}
}
\mode<all>
Inner:
\mode<presentation>
\setbeamertemplate{background canvas}{\begin{tikzpicture}\node[opacity=.9]
{\includegraphics [width=\paperwidth]{slide.png}};
\end{tikzpicture}}
% Title page
\defbeamertemplate*{title page}{cdt}[1][]
{ begin{tikzpicture}[remember picture,overlay] \begin{pgfonlayer}{background} \node at (current page.center) {\includegraphics[width=\paperwidth,height=\paperheight] {frontslide.jpg}}; \end{pgfonlayer}
\end{tikzpicture}}
\mode<all>
Colour:
\mode<presentation>
% Settings
\setbeamercolor*{title page header}{fg=white}
\setbeamercolor*{author}{fg=white}
\setbeamercolor*{date}{fg=white}
\mode<all>
The theme.sty:
\mode<presentation>
% Requirement
\RequirePackage{tikz}
% Settings
\useinnertheme{cdt}
\useoutertheme{cdt}
\usecolortheme{cdt}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]
\mode<all>
How do I place these jpegs directly?

keepaspectratiooption for\includegraphics? – Ignasi Sep 25 '14 at 17:31