Float image left on titlepage

I'm trying to achieve this:

So far, this is what I've tried:

\documentclass[letterpaper]{book}

\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}

\usepackage{wrapfig}

\usepackage[letterpaper, top=4cm, bottom=2.5cm, left=4cm, right=2.5cm]{geometry}
\usepackage{setspace}
\doublespacing

\usepackage[pdftex]{graphicx}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\begin{document}
\begin{titlepage}

\begin{center}

\begin{wrapfigure}{l}{0.5\textwidth}\centering
\includegraphics[scale=0.3]{./uchile.png}
\end{wrapfigure}

{ \LARGE UNIVERSIDAD DE CHILE \\[0.1cm]}
{ \LARGE FACSO \\[0.1cm]}
{ \LARGE DEPARTAMENTO EDUCACIÓN \\[0.1cm]}

\HRule
{ \Huge TITLE \\[0.4cm]}
\vspace{3cm}

Description
\vspace{3cm}
\uppercase{My Name}
\vspace{3cm}
Professor Something

\vfill
\HRule\\[0.1cm]
Santiago, Chile 2014

\end{center}
\end{titlepage}
\end{document}


https://www.writelatex.com/1862795gxzhvy#/4675483/

• Please post a minimally working example, not just a fragment – user31729 Nov 29 '14 at 16:28
• Wrapfig does not behave well with begin{center}, I believe, I think you need a parbox for this – user31729 Nov 29 '14 at 16:39
• wrapfig is definitely the wrong tool for this – egreg Nov 29 '14 at 16:43
• You should finish the groups with \par-> { \LARGE DEPARTAMENTO EDUCACIÓN \par} – Johannes_B Nov 29 '14 at 16:53
• Also wrapfig has to be part of a paragraph. In this code it is on its own which makes no sense. – cfr Nov 29 '14 at 17:01

wrapfig is definitely the wrong tool for this.

Change the code into

\begin{center}

% You'll use the commented out line
\makebox[0pt][r]{\fbox{\includegraphics[width=2.5cm]{duck}}}
%\makebox[0pt][r]{\includegraphics[scale=0.3]{uchile.png}}
{\renewcommand{\arraystretch}{1.2}%
\begin{tabular}[b]{c}
\LARGE FACSO \\
\LARGE DEPARTAMENTO EDUCACIÓN
\end{tabular}}

\HRule

{\Huge TITLE \\[0.4cm]}

\vspace{3cm}


leaving the rest as is. Of course you'll remove the duck line and use the commented out one.

In order to vertically center the heading with respect to the picture, enclose the picture in a tabular and remove [b] from the second tabular:

\begin{center}

% You'll use the commented out lines
\begin{tabular}{@{}c@{}}
\makebox[0pt][r]{\fbox{\includegraphics[width=2.5cm]{duck}}}%
\end{tabular}
%\begin{tabular}{@{}c@{}}
%\makebox[0pt][r]{\includegraphics[scale=0.3]{uchile.png}}
%\end{tabular}
{\renewcommand{\arraystretch}{1.2}%
\begin{tabular}{c}
\LARGE FACSO \\
\LARGE DEPARTAMENTO EDUCACIÓN
\end{tabular}}

\HRule

{\Huge TITLE \\[0.4cm]}


• Thanks for your aswer. Is there a way to vertically center the text in relation to the image as in my example? – Federico Feb 17 '15 at 10:33
• @Federico Added – egreg Feb 17 '15 at 10:41

Drop the wrapfig and use a tabular environment to align the image an the University logo stuff.

The spacing can be adjusted later on.

I did not focus on the various \vspace{} commands...they are somehow weird, but that was not the question.

\documentclass[oneside]{book}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}

\usepackage{wrapfig}

\begin{document}

\begin{center}
\begin{titlepage}
\begin{tabular}{@{}cc@{}}
\begin{tabular}{@{}c@{}}
\includegraphics[scale=0.3]{./bild_erwin_schroedinger}
\end{tabular} &
\begin{tabular}{@{}c@{}@{}}
\LARGE FACSO \tabularnewline[0.1cm]
\LARGE DEPARTAMENTO EDUCACIÓN \tabularnewline[0.1cm]
\end{tabular} \tabularnewline
& \tabularnewline[\baselineskip]
\hline
& \tabularnewline[\baselineskip]
\multicolumn{2}{c}{ \Huge TITLE} \tabularnewline[0.4cm]
\end{tabular}

\vspace{3cm}

Description
\vspace{3cm}
\uppercase{My Name}
\vspace{3cm}
Professor Something

\vfill
%\HRule\\[0.1cm]
Santiago, Chile 2014

\end{titlepage}
\end{center}

\end{document}


• (+1) but I prefer egreg's picture ;). – cfr Nov 29 '14 at 17:00
• @cfr: Traitor :-P – user31729 Nov 29 '14 at 17:02
• There's a children's picture dictionary which has a duck (hwyaden) hidden somewhere on every page. I cannot see a duck image without being reminded of that... [There is an English version, too, but I did not know about that one until a few years ago. Don't know if there is a German version.] – cfr Nov 29 '14 at 17:04
• @cfr: Something similar exists in German: amazon.de/…... I can't remember to have used it as a child, however. – user31729 Nov 29 '14 at 17:44
• @cfr: I don't know, I never read it and have no printed copy in my book shelves... I will investigate ;-) – user31729 Nov 30 '14 at 6:35