TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a newbie in LaTeX and like to customize the moderncv layout.

Based on the solution of Moderncv casual header - photo right, name and title on the left, I tried to position the photo below the line instead of above.

But I am getting some errors

How can I achieve this?

share|improve this question
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – texenthusiast Jul 31 '13 at 23:00
up vote 1 down vote accepted

One option, building on the answer you linked to:


\title{Optional title}
\address{street and number}{postcode city}
\extrainfo{additional information}
\quote{Some quote}

% reverse the name and photo
  % define optional picture
        \@initializelength{\makecvtitlepicturewidth}% Damit Länge bekannt bei Name
        \@initializelength{\makecvtitlepicturewidth}% Damit Länge bekannt bei Name
  % end define optional picture

  % name
%    \parbox[b]{\textwidth-\makecvtitlepicturewidth}{%
 {   \raggedright\namefont{\color{color2!50}\@firstname} {\color{color2}\@familyname}}%\lastname -> error
%    \parbox[b]{\textwidth-\makecvtitlepicturewidth}{%
%   \raggedleft\namefont{\color{color2!50}\@firstname} {\color{color2}\@lastname}}%\familyname
  % optional title
  % optional quote
%}% AtBeginDocument ende


\cventry{year--year}{Degree}{Institution}{City}{ \textit{Grade} }{Description}  % arguments 3 to 6 can be left empty
\cvitem{title}{ \emph{Title} }
\cvitemwithcomment{Language 1}{Skill level}{Comment}
\cvdoubleitem{category X}{XXX, YYY, ZZZ}{category Y}{XXX, YYY, ZZZ}
\cvlistitem{Item 1}
\cvlistdoubleitem{Item 2}{Item 3}

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.