I am trying to insert a picture in the first page of my report but it is becoming on a separate page or else it comes above the title. I want it to be between author and date:
\begin{document}
\title{bb}
\author{bb}
\date {bb}
\begin{figure}[]
\centering
\includegraphics[width=3in]{figure1}
\end{figure}
\maketitle
\end{document}
I tried doing as shown below but I got an error with \titlehead:
\titlehead{\centering\includegraphics[width=3in]{figure1}}
Best Answer
There is no requirement that
\includegraphics
is in afigure
environment, which is for including floating objects (including pictures) with their caption.For your problem, use the
titling
package that allows customizing the\maketitle
command adding items where needed.So long as you have
\titlepicture
before\maketitle
you'll get the picture where you want it. Not specifying\titlepicture
will do nothing different from the usual\maketitle
.