I have table with text in the first column and image in second. I want both columns to be top aligned. I use following code:
\begin{tabular}{p{3cm}l}
Internal state after adding 2 elements & \includegraphics[scale=0.4]{pics/queue_after_add.png} \\
Internal state non-concurrent execution & \includegraphics[scale=0.4]{pics/queue_sequential.png} \\
Internal state concurrent execution & \includegraphics[scale=0.4]{pics/queue_concurrent.png}\\
\end{tabular}
The result looks like this:
I also tried to insert \vspace{0pt} as some thread suggests, but result was the same.
\vfillunderneath the text? I seem to recall that that has worked for me before. – myrtille Feb 05 '13 at 15:29\vspace{0pt}would work if the graphics were in a column of typep{..}. In l-columns you will have to move the graphics below the baseline with\raisebox{-\height}{....}. – Ulrike Fischer Feb 05 '13 at 15:31