0

I am studying the answers to this question Beamer, adding logo to frame title The solutions use height=0.45cm in which case everything is fine. I considered this height too small, so I enlarged it. However, this fix causes the frame title to jump out of its place.

How can I change the logo size while keeping the frame title position fixed.

\documentclass{beamer}
\usepackage[export]{adjustbox}
\begin{document}
\begin{frame}{Introduction}
  introduction
\end{frame}
\begin{frame}
  \frametitle{Tabla de contenidos \includegraphics[height=0.8cm,right=7.8cm]{example-image}}
  abc
\end{frame}    
\end{document}

enter image description here

1 Answer 1

1

As you are already using \usepackage[export]{adjustbox} you can use valign=t option when including the image. This will fix the title at the top of the image, no matter how large the image gets. I have made the image larger to show the difference.

\documentclass{beamer}
\usepackage[export]{adjustbox}
\begin{document}
\begin{frame}{Introduction}
  introduction
\end{frame}
\begin{frame}
  \frametitle{Tabla de contenidos \includegraphics[height=3cm,right=7.8cm, valign=t]{example-image}}
  abc
\end{frame}    
\end{document} 

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.