I'm trying to put a logo on the top right of the headers of all my slides (c.f. the following picture) but I have absolutely no idea how to do it. Can someone help me about it please.
Asked
Active
Viewed 18 times
0
-
1Does this answer your question? How to put the logo on the upper left side? – Claudio Fiandrino Sep 14 '23 at 13:30
-
Not really. It works with the Berkeley theme, but it doesnt works with my curent theme (Madrid). – Adrien Varet Sep 14 '23 at 13:35
-
Please include a small, but compilable test document in your question so that one does not need to guess the theme. – samcarter_is_at_topanswers.xyz Sep 14 '23 at 13:36
1 Answers
1
Quick hack (you will make sure that your title is short enough to not be hidden by the logo):
\documentclass{beamer}
\usetheme{Madrid}
\title{The Title}
\author{The Author}
\institute{The Institute}
\usepackage{tikz}
\addtobeamertemplate{frametitle}{}{
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north east] at (current page.north east) {\includegraphics[height=0.6cm]{example-image-a}};
\end{tikzpicture}
}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\begin{frame}{this}
test
\end{frame}
\end{document}
samcarter_is_at_topanswers.xyz
- 158,329

