LaTeX forum ⇒ Curricula Vitae / RésumésHow to include Subject to letter

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
Posts: 2
Joined: Thu Nov 26, 2015 1:45 pm

How to include Subject to letter

Postby luispena » Thu Nov 26, 2015 1:50 pm

I would like to add a Subject line to the letter template "ModernCV" CV and Cover Letter from Xavier Danaux.

This is how it looks like:

\recipient{Prof. Albert}{} % Letter recipient
\date{\today} % Letter date
\opening{Sehr geehrte Damen und Herren,} % Opening greeting
\closing{Mit freundlichen Grüßen,} % Closing phrase


I would like to add a subject line before \opening{} but I'm not sure how to do it.
Any help appreciated.

Thank you,

Posts: 2
Joined: Thu Nov 26, 2015 1:45 pm

Postby luispena » Thu Nov 26, 2015 2:47 pm

I solved already my problem changing the moderncvstyleoldstyle.sty and moderncv.cls files. If someone is interested, I found the answer here:
Sorry for the noise.

User avatar
Site Moderator
Posts: 4185
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Nov 26, 2015 6:32 pm

You are not allowed to modify the files like you want and as is told in the linke material. Please read the license the file is put under very carefully.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

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

Postby Stefan Kottwitz » Thu Nov 26, 2015 10:11 pm

Hi Luis,

welcome to the forum!

Don't worry about noise. It's a discussion forum. :-) Any LaTeX related question is welcome here.

The launchpad answer is bad, the writers there may not know better. There's an important thing, like Johannes said (even if we ignore license things): never change a .cls or a .sty file. Reasons:
  • the next update destroys your changes, since the TeX package manager doesn't know you changed it and would overwrite it;
  • your code doesn't run on another computer (which has the original .cls or .sty file
Changing provided files leads to problems. You can do any change in your own file. For example, instead of changing a \newcommand, use a \renewcommand to redefine it.

Stefan admin

Return to “Curricula Vitae / Résumés”

Who is online

Users browsing this forum: No registered users and 5 guests