4

I am using the moderncv template. when I insert an image, the text gets aligned with the bottom of the image. is there anyway to make it align with the top of the image?

Also, if the text goes into the next line, would it be possible to shift the entire text up instead of down like in the second image?

\cventry{\includegraphics[width=\hintscolumnwidth]{pictures/001237.png}}{test}{}{}{}{}

enter image description here

enter image description here

1 Answer 1

4

Raise the image into position:

\cventry
  {\raisebox{\dimexpr-\height+.8\baselineskip}
     {\includegraphics[width=\hintscolumnwidth]{example-image}}}
  {test}{a}{b}{c}{d}

enter image description here

The above output was obtained using template.tex.

You must log in to answer this question.

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