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

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?

share|improve this question

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.

share|improve this answer
Using \AtBeginDocument{\makeatletter\renewcommand*{\maketitle}{...}\makeatother} you can still put your code in the preamble. – Gonzalo Medina Nov 18 '11 at 23:34
@GonzaloMedina: you are right, and that's a better answer. I've edited. – Matthew Leingang Feb 27 '13 at 2:43
Package moderncv has changed. To solve this problem now there is another fix needed. For one possible solution see question moderncv casual header photo right, title on the left. – Kurt Apr 2 '13 at 18:30

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.

share|improve this answer

Your Answer


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