Document Classesmoderncv | Compilation of CV Template fails

Information and discussion about specific document classes and how to create your own document classes.
surjective
Posts: 9
Joined: Sun Nov 04, 2012 3:30 pm

moderncv | Compilation of CV Template fails

Post by surjective »

Hello,

I found a LaTeX CV template but I can't seem to compile it. It can't find the suffix package and I don't know where to find it.

I would appreciate it greatly if someone could help me getting the file compiled. I have attached the file.

Thanks in advance.
Attachments
cv_stefanie_v3.tex
CV tex file
(6.84 KiB) Downloaded 853 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

moderncv | Compilation of CV Template fails

Post by Stefan Kottwitz »

Hi,

welcome to the board!

You can download suffix from CTAN. However, as it belongs to the bigfoot package, you could install this package using your MiKTeX or TeX Live package manager.

Stefan
LaTeX.org admin
surjective
Posts: 9
Joined: Sun Nov 04, 2012 3:30 pm

Re: moderncv | Compilation of CV Template fails

Post by surjective »

Hey,

Thank you for the answer. It worked. Perhaps you could help me with another problem. I would like to insert a photo (in the upper right corner aligned with the text) in the CV I attached above. How could I do that? I have googled it but couldn't find anything useful.

Thanks :)
alainremillard
Posts: 45
Joined: Fri Mar 16, 2012 8:22 pm

moderncv | Compilation of CV Template fails

Post by alainremillard »

If you look in your tex file, you'll find the following line, in the personal data section

Code: Select all

%\photo[64pt][0.4pt]{picture}
Uncomment it if you want to add a picture to your CV.
The first argument is the desired height of the picture.
The second is the width of the frame around the picture. It can be remove if you don't want any frame
The third one is the name of your picture.

Have a nice day
Alain Rémillard
surjective
Posts: 9
Joined: Sun Nov 04, 2012 3:30 pm

moderncv | Compilation of CV Template fails

Post by surjective »

Thanks you very much for your response. It worked perfectly. When I compile the file it says:

Code: Select all

! LaTeX Error: Option clash for package hyperref.
What does this mean? There appears extra letters in front of the email and phone number in the top? Maybe this is related to the compile error?

Assistance would be greatly appreciated.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

moderncv | Compilation of CV Template fails

Post by localghost »

surjective wrote:[…] It worked perfectly. When I compile the file it says:

Code: Select all

! LaTeX Error: Option clash for package hyperref.
What does this mean? […]
How can you say that it works perfectly if you get a concrete error message? Since the moderncv class already loads hyperref, every subsequent try to load it again in the document itself will fail. Delete these lines (16–19) in your code and try again.

Code: Select all

% Hyperlinks
\usepackage{hyperref}								% to use hyperlinks
\definecolor{linkcolour}{rgb}{0,0.2,0.6}			% hyperlinks setup
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}

Thorsten
surjective
Posts: 9
Joined: Sun Nov 04, 2012 3:30 pm

Re: moderncv | Compilation of CV Template fails

Post by surjective »

Oh, when i said that it worked perfectly i was referring to the advice about inserting a photo.

One last thing. To the left of my amail and phone number there appears a letter which is not supposed to be there!! The letter is not in the latex code so i don't know why it is showing up there. Maybe some can tell me how to remove it.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

moderncv | Compilation of CV Template fails

Post by Stefan Kottwitz »

surjective wrote:To the left of my amail and phone number there appears a letter which is not supposed to be there
Perhaps it should be a symbol? Such as a telephone icon, but the font is missing, i.e. replaced. The .log file would show a warning if a font cannot be loaded.

Stefan
LaTeX.org admin
surjective
Posts: 9
Joined: Sun Nov 04, 2012 3:30 pm

moderncv | Compilation of CV Template fails

Post by surjective »

Yes, you are right. They are symbols, but they do not appear as symbols but as letters. It says:

Code: Select all

LaTeX Font Warning: Font shape `U/mvs/m/n' undefined
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
Should I install a package to get rid of the problem?

Thanks.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

moderncv | Compilation of CV Template fails

Post by Stefan Kottwitz »

mvs means marvosym, you could install that package.

Stefan
LaTeX.org admin
Post Reply