1. Add image to the slide page (bottom)
The following minimal working example shows how on can include an image in the title page using \titlegraphics command:
% Add image to the title page \documentclass{beamer} \usepackage{tikz} \title{A new presentation} \author{The author} \institute{The Institute that pays him} % Add the image inside titlegraphics macro \titlegraphic{ \includegraphics[width=\textwidth]{Sample Image} } \begin{document} \begin{frame} \titlepage \end{frame} \end{document}
Compiling this code yields:
It should be noted that titlegraphics content will move the title page details (title, author, institute, etc) to the above. So sometimes we need to fix also the height of the image in the \includegraphics
command using height=<value>
(e.g. height=0.5\textwidth
).
2. Add image to the slide page (top)
As the title of a presentation is positioned at the top of a title slide, we can include an image just before the title text inside \title{}
command:
% Add image to the title page (top position) \documentclass{beamer} % Add the image inside title macro \title{ \centering\includegraphics[width=\textwidth]{Sample Image}\\ A new presentation } \author{The author} \institute{The Institute that pays him} \begin{document} \begin{frame} \titlepage \end{frame} \end{document}
Compiling this code yields:
We reached the end of this tutorial, If you would like to add a background image to the title slide, I invite you to read this tutorial: “How do you add a background image in LaTeX Beamer?“