[Tex/LaTex] How to put logo at the top (header side) of title page in beamer (theme warsaw)
beamerthemes
I want to put 2 logos at the header of title page as illustrated in figure, any idea please?
Best Answer
Please check the following MWE:
\documentclass{beamer}
\usetheme{Warsaw}
\makeatletter
\setbeamertemplate{headline}{}
\addtobeamertemplate{headline}{}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2pc,left]{}
\colorbox{green}{\hbox to 5pc{\vbox to 2pc{}}}
\end{beamercolorbox}}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2pc,right]{}
\colorbox{red}{\hbox to 5pc{\vbox to 2pc{}}}
\end{beamercolorbox}%
\vskip0pt%
}
\makeatother
\begin{document}
\section{Section}
\subsection{Subsection}
\begin{frame}
\frametitle{Frame title}
\end{frame}
\end{document}
Here you can change \colorbox{green}{\hbox to 5pc{\vbox to 2pc{}}} and \colorbox{red}{\hbox to 5pc{\vbox to 2pc{}}} with \includegraphics{...}. Also you can change the height by changing ht=2pc.
If you mean you want to replace the "K" logo in the header (oxygen was created with KDE in mind), you'll have to edit the file oxygen-header.png file with a graphics manipulation program. oxygen-header.png is distributed with the oxygen theme.
I'd recommend saving the edited png under a different name (say mycollege-header.png), then say in your beamer file
You can locally set the headline template to be empty and use \addtobeamertemplate to add an appropriate vertical skip before the frame title (depending on the used theme you might need to adjust the 1.7ex I used in my example):
Best Answer
Please check the following MWE:
Here you can change
\colorbox{green}{\hbox to 5pc{\vbox to 2pc{}}}
and\colorbox{red}{\hbox to 5pc{\vbox to 2pc{}}}
with\includegraphics{...}
. Also you can change the height by changinght=2pc
.