I am trying to create a university presentation and am having a bit of trouble formatting the University logo correctly on the first slide.
I am using the popular Overleaf template found here.
My immediate code for this slide is:
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{figure}[htp]
\centering
\includegraphics[width=4cm]{COBlogo.jpg}
\end{figure}
\title[Short title]{Main Topic } % The short title appears at the bottom of every slide, the full title is only on the title page
\author{John Smith} % Your name
\institute[UCLA] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
{
University of California \\ % Your institution for the title page
\medskip
\textit{john@smith.com} % Your email address
}
\date{\today} % Date, can be changed to a custom date
\begin{document}
\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}
\begin{frame}
\frametitle{Overview} % Table of contents slide, comment this block out to remove it
\tableofcontents % Throughout your presentation, if you choose to use \section{} and \subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
\end{frame}
However, when I add the figure code in as shown at the top of the code, I get this result:
I would like the university logo to be centered and below the "Main topic" box. I have tried copying and pasting the add figure code to other positions (ie further down the code after the Name etc.) but have had no luck.
Any ideas on the code I need to use to format this correctly? Any ideas, advice, or links to examples would be greatly appreciated.
Thanks.