Added a background to all slides

This commit is contained in:
Séverin Lemaignan 2014-06-27 23:11:09 +02:00
parent 08702493fd
commit dd7fb8f907
2 changed files with 15 additions and 2 deletions

View File

@ -44,6 +44,15 @@
\setlength{\parskip}{0.5em}
%---------------------------------------------------------------------
% Background
%---------------------------------------------------------------------
\setbeamertemplate{background}{
\includegraphics[width=\paperwidth,
height=\paperheight]{slide-background.pdf}
}
%---------------------------------------------------------------------
% Colors
%---------------------------------------------------------------------
@ -160,8 +169,11 @@
%---------------------------------------------------------------------
% Titlepage structure
\def\maketitle{\ifbeamer@inframe\titlepage\else\frame[plain]{\titlepage}\fi}
\def\titlepage{\usebeamertemplate{title page}}
\def\maketitle{\ifbeamer@inframe\titlepage\else{\setbeamertemplate{background}{}\frame[plain]{\titlepage}}\fi}
\def\titlepage{
\usebeamertemplate{title page}
}
\setbeamertemplate{title page}
{
% Add background to title page
@ -215,6 +227,7 @@
\AtBeginSection[]
{
\begingroup
\setbeamertemplate{background}{}
\setbeamercolor{background canvas}{bg=hriWarmGreyDark}
\begin{frame}[plain]
\centering

BIN
slide-background.pdf Normal file

Binary file not shown.