is there a way to create a table with 2 columns, in the left column should be some text, in the right column should be a picture.

The problem is - to align both to the left, top corner. The image seems to be inserted as an inline object, so it pushes the text down, from the top.

                         |                     |    
                         |                     |
Some text is pushed down |                     |

What i want is:

Some text is pushed down  _____________________
                         |                     |    
                         |                     |
                         |                     |

Here is the code:

\begin{tabular}{\textwidth}{ l l }
Some text & \includegraphics{images/image.png} \\

2 Answers 2


The adjustbox is what's needed:

Some text & \adjustbox{valign=t}{\includegraphics[height=3cm,width=4cm]{p}}\\

With valign=t the picture is lowered in such a way that its final height is similar to the height of the surrounding text (the rest will stick below).

If you want that the top of the figure is on the baseline, use valign=T.

As the author of adjustbox comments, calling


the options provided by the package can go directly in the argument of \includegraphics, so

Some text & \includegraphics[valign=T,height=3cm,width=4cm]{p}}\\

is good as well. Change the other options for your case.

  • 3
    Using \usepackage[export]{adjustbox} you can use most keys directly for \includegraphics, i.e. \includegraphics[height=3cm,width=4cm,valign=t]{p}. The set depth key might also be useful if the official depth should be changed afterwards. A package-less alternative to valign=T would be \raisebox{-\height}{\includegraphics[..]{..}}. Sep 30, 2011 at 17:34
  • The new v0.7 now also provides \adjustimage{<key=value>}{<filename>} as a shortcut for \adjustbox{<key=value>}{\includegraphics{<filename>}}. You can place all keys for \includegraphics also into \adjustbox. Nov 9, 2011 at 15:19
  • FINALLY! I've been looking all over the web, and found many answers, but this is the only really easy and good one.
    – JHBonarius
    Jun 19, 2018 at 10:38

A similar approach without adjustbox is to use \raisebox:

enter image description here


\setlength{\parindent}{0pt}% Just for this example

Some text \includegraphics[height=3\baselineskip]{example-image} (bottom-aligned with baseline)


Some text \raisebox{-\height}{%
  \includegraphics[height=3\baselineskip]{example-image}} (top-aligned with baseline)


Some text \raisebox{\dimexpr-\height+\baselineskip}{%
  \includegraphics[height=3\baselineskip]{example-image}} (top-aligned with ``baselineskip'')


If the image is used inside a tabular, one may consider using \raisebox{..}[0pt][0pt]{...} to remove the depth/height of the object. This allows the object to overlap with content above/below it, depending on the usage.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .