Graphics, Figures & Tables ⇒ moderncv | Add a Photo to a CV
moderncv | Add a Photo to a CV
Hello, I am new here and I am also new to Latex and would be grateful for some help. I have been using the moderncv package (and the cv looks nice!). Now I would like to add a photo to it, but I have no idea how to do this. I don't know, for example, what size photo I can use, how to import it into latex, which commands to use, do I need another package to do this? I have already spent time trying to find an answer I could follow, but still haven't found anything that tells how to do this from the very beginning. I'd be glad of any help you all might be able to offer. Thanks in advance.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
moderncv | Add a Photo to a CV
Hi Irenkina,
welcome to the board!
Since you are new to LaTeX, I recommend reading a LaTeX introduction, since you have very basic questions.
Regarding the photo, you can use PNG and JPEG format, with pdfLaTeX. Additionally PDF images and EPS images (in DVI mode) would be possible. The size doesn't matter much, as long as it looks good and the file size is not too big to handle for the final PDF.
Generally, for including a photo, you need to load the graphicx package and use the command
However, the moderncv class provides a special command for it:
Here,
Stefan
welcome to the board!
Since you are new to LaTeX, I recommend reading a LaTeX introduction, since you have very basic questions.
Regarding the photo, you can use PNG and JPEG format, with pdfLaTeX. Additionally PDF images and EPS images (in DVI mode) would be possible. The size doesn't matter much, as long as it looks good and the file size is not too big to handle for the final PDF.
Generally, for including a photo, you need to load the graphicx package and use the command
\includegraphics
.However, the moderncv class provides a special command for it:
Code: Select all
\photo[64pt][0.4pt]{filename}
64pt
is the height the picture (to which it's resized), 0.4pt
is the thickness of the frame around it. Use 0pt
for no frame.Stefan
LaTeX.org admin
Re: moderncv | Add a Photo to a CV
Thank you. I'll have go!
Re: moderncv | Add a Photo to a CV
Wow ---- it worked! First solo LaTeX project complete! Thank you so much
So much better looking than what I had before.
