jeudi 4 décembre 2014

Two logos in opposite side on beamer with sidebar


I want to create a presentation in beamer. Like this question, I want to have two logos in opposite side on beamer, but my template have sidebar too. I also used this question to prevent logo from title page in beamer class. But the problem is one of the logos goes out of the slide.


I tried \centering command then add space between logos, so they get set on opposite sides but it didn't help. I think one possible solution is using PGF package, but that is my last resort.



\documentclass{beamer}
\usetheme{Berkeley}

\logo{%
\makebox[0.2\paperwidth]{%
\includegraphics[width=1cm,keepaspectratio]{example-image-a}%
\hfill%
\includegraphics[width=1cm,keepaspectratio]{example-image-b}%
}%
}

\title{The Title}
\author{The Author}
\institute{The Institute}

\begin{document}

{
\setbeamertemplate{logo}{}
\begin{frame}
\maketitle
\end{frame}
}

\begin{frame}
test
\end{frame}

\end{document}




Aucun commentaire:

Enregistrer un commentaire