From b2d2b32c8dff84a01d1e0ca4e251e5a2f50ad075 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 16 May 2015 16:51:00 +0200 Subject: [PATCH] Make ObnoxSamba style use pgfdeclareimage. so caller does not need to provide the images... Signed-off-by: Michael Adam --- beamerouterthemeobnoxinfolines.sty | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/beamerouterthemeobnoxinfolines.sty b/beamerouterthemeobnoxinfolines.sty index 29df71f..a0d5e06 100644 --- a/beamerouterthemeobnoxinfolines.sty +++ b/beamerouterthemeobnoxinfolines.sty @@ -17,6 +17,10 @@ \setbeamercolor*{logo in head/foot}{parent=palette tertiary} \setbeamercolor*{logo in head/foot}{parent=palette primary} +%%\pgfdeclareimage[width=12mm]{samba}{samba} +\pgfdeclareimage[width=16mm]{Samba-Logo}{Samba_Logo_4c-grey-bbbbbb-256} +\pgfdeclareimage[width=16mm]{RedHat-Logo}{Logo_RH_RGB_Default} + %%%%\defbeamertemplate*{footline}{obnoxinfolines theme} %%\defbeamertemplate*{headline}{obnoxinfolines theme} %%{ @@ -41,7 +45,7 @@ %% \leavevmode% %% \hbox{% %% \begin{beamercolorbox}[wd=.5\paperwidth,ht=5ex,dp=1ex,left]{xy}% -%% \hspace*{2ex} \hbox{\pgfuseimage{sambanew}} +%% \hspace*{2ex} \hbox{\pgfuseimage{Samba-Logo}} %% \end{beamercolorbox}% %% \begin{beamercolorbox}[wd=.5\paperwidth,ht=5ex,dp=1ex,right]{xy}% %% \hbox{\pgfuseimage{sernet}} @@ -55,7 +59,7 @@ \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.2\paperwidth,ht=5ex,dp=1ex,left]{xy}% - \hspace*{2ex} \hbox{\pgfuseimage{sambanew}} + \hspace*{2ex} \hbox{\pgfuseimage{Samba-Logo}} \end{beamercolorbox}% \begin{beamercolorbox}[wd=.3\paperwidth,ht=5ex,dp=1ex,center]{author in head/foot}% \usebeamerfont{author in head/foot}\scriptsize\insertshortauthor{}\hspace*{2ex} @@ -65,7 +69,7 @@ \insertshorttitle{} (\insertframenumber{}/\inserttotalframenumber)\hspace*{2ex} \end{beamercolorbox}% \begin{beamercolorbox}[wd=.2\paperwidth,ht=5ex,dp=1ex,right]{xy}% - \hbox{\pgfuseimage{redhat}} + \hbox{\pgfuseimage{RedHat-Logo}} \hspace*{2ex}\end{beamercolorbox}}% \vskip0pt% } -- 2.34.1