Is there a possibility to change the order of photo and name in the moderncv class using \moderncvtheme[blue]{casual}?

Right now it looks like this:

PHOTOPHOTO                      FirstName LastName

But actually I want it to look like this:

FirstName LastName                      PHOTOPHOTO

How can I do that?

2 Answers 2


You just need to change the \maketitle command:

% reverse the name and photo
% maketitle
% optional quote
  \par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle

The hardest part is determining where to put this block of code. The \maketitle command is defined not in moderncv.cls, but in the theme (package) file such as moderncvthemecasual.sty. Moreover, the implementation of \moderncvtheme makes sure that this theme package is not loaded until the end of the preamble.

So if you want to do this once, put it in your cv TeX file, but it has to be expanded after \begin{document} and before \maketitle. The best way to do this is to surround the block above with \AtBeginDocument{...} in the preamble, after \moderncvtheme[blue]{casual}.

If you want to do this more than once, you could copy the file moderncvthemecasual.sty and add a package option. If this is beyond your expertise you may want to email the developers and see if they'll consider it.

  • 1
    Using \AtBeginDocument{\makeatletter\renewcommand*{\maketitle}{...}\makeatother} you can still put your code in the preamble. Nov 18, 2011 at 23:34
  • @GonzaloMedina: you are right, and that's a better answer. I've edited. Feb 27, 2013 at 2:43

I don't know if you really need to do all that trouble. Maybe you just want to use the classic theme that moderncv provides. So you can try to use


instead of


The classic theme does place the photo on the right. I have summed up some information on the moderncv package at Moderncv LaTeX package. A really easy way to create a modern CV.

You must log in to answer this question.