Hello I am currently writing a CV and trying to include a picture of myself to the right of a table that shows personal information. However no matter what commands I try I cannot add to the right of the table. Here is the code:
\section{Personal Data}
\begin{tabular}{rl}
\textsc{Place and Date of Birth:} & Someplace, Italy | dd Month 1912 \\
\textsc{Address:} & CV Inn 19, 20301, Milano, Italy \\
\textsc{Phone:} & +39 123 456789\\
\textsc{email:} & \href{mailto:[email protected]}{[email protected]}
\end{tabular}
Whenever I try to include \includegraphics[scale=0.10]{picture.jpg}
it simply brakes the table in the middle. I also tried \hbox{\hspace{2.5cm}\includegraphics[scale=0.10]{picture.jpg}}
This will add the picture at approx. the right position to the right but the table is still broken in the middle. My question is then what code should i write to add a picture perfectly to the right of a table and should I include it in the table
environment or outside the environment?
Thanks for all answers!
\documentclass
are you using to write your CV?tabular
is an unbreakable box. the tabular and the graphic will be positioned just as letters are positioned,XY
will make them come side by sideX Y
makes them have a space between andX <blank line> Y
makes them come one above the other.