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

How can I add a photo on the top right/left corners to this CV Template ?


I tried to use variants of the following code to insert the photo on right top corner after moving the name to the left side:


I have two problems: 1- The photo is always at the center 2- The rest of the template (in a minipage environment) moves to a new page

share|improve this question
Welcome to TeX.sx! Can you show what you have tried so far? – Matthew Leingang Mar 7 '13 at 14:43
up vote 1 down vote accepted

The file you linked to is not well set up for using as an example here, but the following works. (Note: I did not have the fonts in used in the linked file; but I assume you do.)

Rather than post the whole thing, which is very verbose, I'll point you to where to add or subtract or move things.

[1] Add \usepackage{graphicx} to your preamble. (I put it just after xcolor.)

[2] Move the 'TITLE' section inside the first minipage, following the \vspace{0pt} line; note that the example is missing a closing brace. I would do something like:

\par{\centering{\sffamily\Huge John Smith}\\ % Your name
 {\color{headings}Curriculum Vit\ae}\par
} % <--- ADDED !

[3] Following the second \vspace{0pt}, add the following lines (but you can use the fonts the file has if they are on your system):


[4] Now the second minipage is too long: you need to remove some material from the example file. For instance, if you comment out the 'Communication Skills' seciton, you'll see everything fits on one page. That means you'll need to move things around between the left and right minipages until everything fits; you may need to pare down how verbose you are in various sections.

share|improve this answer
Thanks Jon! It works very well, but I get an empty page at the beginning. – Tarek Mar 8 '13 at 9:57
@Tarek -- That's because one of the minipages is too long (in TeX's opinion): try removing a little at a time and see how much is too much for everything to fit on a page. Note that it could be too long in either or both of the minipage environments since we've added material to both of them. See which one is longer in the 2-page document, and try removing material from that one first; but you may need to remove stuff from both. – jon Mar 8 '13 at 15:24
I can't use this template with TexStudio. I tried TeLaTex and LulaTeX but didn't work. Can you hlep me? Thanks in advance – Sameir Deif May 18 '13 at 5:22
@SameirDeif -- Can you be more specific? 'didn't work' can mean a lot of things; what error message(s) are you getting? Are you using exactly the file linked to above? (Also: 'TeXLaTex' and 'LulaTeX' are not commands you can use. Did you in fact try with xelatex and lualatex?) – jon May 18 '13 at 18:54

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.