I try add a figure in the titlepage
\begin{titlepage}
\begin{center}
\begin{figure}[h]
\includegraphics[scale=0.15]{images/logo.jpg}
\end{figure}
Univ...\\
fac ...
\end{center}
\begin{center}
{\large Title}\\
\end{center}
\end{titlepage}
but text [univ…] is down of figure
the idea is get some similar to this
[figure][univ ...]
[title]
Best Answer
Don't use a figure but only
\includegraphics
:Here, if top aligned the text and the image, because using multi line text this is common and mostly asked. If you want the text beside the image be vertical centered to the image, you may use one more
minipage
and adjustes vertical alignment options:Here I've used a horizontal centered title, to show more alternatives.
Alternative you may simply change vertikal alignment of images changing the first argument of
\raisebox
and the alignment option of theminipage
with the text.Another solution would be to use package adjustbox to add the vertical alignment option
valign
to the\includegraphics
options. See the excellent manual of package adjustbox for more information. Some lines below you may even find an example of using the package.One more alternative: If you are using a KOMA-Script class like scrartcl, it's very easy to do it, using
\titlehead
:And if you don't use a KOMA-Script class but like that title, you may install package titlepage (link destination in German!).
The
\raisebox
in these examples is used to move the baseline of the graphics from the bottom to almost the top of the graphics. An alternative solution for this would be using package adjustbox and add optionvalign=t
to\includegraphics
, if your adjustbox is up to date:If you want the titles of the KOMA-Script classes with, e.g., a standard class and installation of package titlepage is to difficult, you may try package scrextend. This package is part of KOMA-Script, which may be installed via package manager of almost every TeX distribution and often is already installed.
Here's the example above with standard class article but KOMA-Script title:
To show one more alternative, I've changed the vertical alignment of image text beside the image: