# How to insert an image in the front cover of a report?

I'm pretty new in LaTeX and I'm currently writing my BSc Report. Does anyone happen to know how I can insert my uni logo on the front cover of my report? I'm using

\documentclass[final,letterpaper,twoside,11pt]{report}


I will appreciate it guys!

-
hey guys i found this and is the best solution for my problem. en.wikibooks.org/wiki/LaTeX/Title_Creation Thanks for answering though –  user4335 Mar 21 '11 at 16:35

The graphicx package provides \includegraphics to include images on the cover or inside the document. And the titlepage environment specifies your cover page. (Since this is a recurring problem at institutions, your advisor probably has examples for such cover pages. But a lot of bad code gets passed around this way.)

\documentclass{report}
\usepackage{graphicx}

\begin{document}
\begin{titlepage}
\centering
\vfill
{\bfseries\Large
Performance Report\\
First Quarter 2011\\
\vskip2cm
A. Uthor\\
}
\vfill
\includegraphics[width=4cm]{logo.jpg} % also works with logo.pdf
\vfill
\vfill
\end{titlepage}
\end{document}


The \vfills adjust the vertical spacing. Think about them this way: each \vfill will expand vertically the same amount until the entire page is filled. Because there are two \vfills at the bottom, title and logo will not be vertically centered but rather shifted towards the top. Using \vfill is much simpler than using absolute dimensions and works with all page dimensions. (I still used \vskip2cm to specify the distance between title and author, though.)

-
I have tried your way but it doesn't work! there is an error about \vskip{2cm} –  user4335 Mar 20 '11 at 20:18
Sorry, I fixed the \vskip. –  Christian Lindig Mar 20 '11 at 21:30

If you use the memoir class with the report option (which is supposedly the same as using the report class) you'll get much more control over the title page.

\documentclass[report,letterpaper,twoside,11pt,final]{memoir}
\usepackage{lipsum}
\author{Totzke Zwack}
\title{The Unspoken Truth}
\date{\today}
\renewcommand{\maketitlehookd}{%
\begin{center}
\fbox{uni-logo}
\end{center}}
%
\begin{document}
\frontmatter
\maketitle
\mainmatter
\lipsum[1]
\end{document}

-

There is a package for that on CTAN. titlepic redefines the \maketitle command to include a picture on your title page, that you provide via the \titlepic command:

...
\usepackage{titlepic}
\usepackage{graphicx}

\title{My title}
\author{Me}
\titlepic{\includegraphics[width=\textwidth]{mypicture.png}}
...
\begin{document}
\maketitle
...

-
Welcome to TeX.sx! –  lockstep Apr 11 '13 at 14:53