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

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
luispena
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

Hello,
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

\makelettertitle

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

Thank you,
Luis

Tags:

luispena
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: https://answers.launchpad.net/moderncv/+question/222784
Sorry for the noise.

User avatar
Johannes_B
Site Moderator
Posts: 4044
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: 9434
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
Site admin


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

Who is online

Users browsing this forum: No registered users and 5 guests