# (Warsaw Theme) How can I put the logo on the top right of each slide?

Hi I wish that my logo could be on the top right of each slide and also to position it wherever I want on the title page.

\documentclass[11pt]{beamer}
\usetheme{Warsaw}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\newcommand{\Rightarrowtext}[1]{\ensuremath{\stackrel{\text{#1}}{\Rightarrow}}}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{eso-pic}
\author{Philippe Fanaro}
\title{MC Algorithm for Non-Linear Equations}
%\setbeamercovered{transparent}
\logo{\includegraphics[height=1cm]{Minerva}\vspace{175pt}}
%\institute{}
\date{October 2014}
%\subject{}

\newcommand*\oldmacro{}
\let\oldmacro\insertshorttitle
\renewcommand*\insertshorttitle{
\oldmacro\hfill

\begin{document}


This is what I have so far, I wish the logo would be on the top right blue part of the Warsaw theme, but no matter what I do with the "175pt" the image will not get there. I don't think the Warsaw theme enables it, maybe I'll have to write a custom theme.

• Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. You might also want to add to your question how you're including the pdfs etc. What class are using you for these slides? – Aradnix Oct 17 '14 at 0:32
• Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. An MWE is badly needed here. We do not even know which of the many possible classes and packages you are using to create your slides. (If you are using beamer, it depends heavily on your configuration. I have code to put a logo at the top right of slides but I doubt it would work for you.) – cfr Oct 17 '14 at 0:43
• I'm testing it but I was hoping for something simpler than that... – Philippe Fanaro Oct 17 '14 at 1:12
• My trick works well but won't work here as you have no headline, I think. (I put the image in the headline.) Maybe you could make it part of the invisible right sidebar which contains the navigation bar? – cfr Oct 17 '14 at 1:44

You can add the image to the headline:

\documentclass[11pt]{beamer}
\usetheme{Warsaw}

\makeatletter
{%
\leavevmode%
\@tempdimb=2.4375ex%
\ifnum\beamer@subsectionmax<\beamer@sectionmax%
\multiply\@tempdimb by\beamer@sectionmax%
\else%
\multiply\@tempdimb by\beamer@subsectionmax%
\fi%
\ifdim\@tempdimb>0pt%
\end{beamercolorbox}%
\hfill
\end{beamercolorbox}%
\fi%
}
\makeatother

\begin{document}

\section{bla}
\subsection{blub1}
\begin{frame}
content...
\end{frame}
\subsection{blub2}
\begin{frame}
content...
\end{frame}
\subsection{blub3}
\begin{frame}
content...
\end{frame}
\subsection{blub4}
\begin{frame}
content...
\end{frame}

\end{document}