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
Curricula Vitae / Résumés ⇒ How to include Subject to letter
Re: How to include Subject to letter
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.
Sorry for the noise.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: How to include Subject to letter
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.
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
How to include Subject to letter
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:
Stefan
welcome to the forum!
Don't worry about noise. It's a discussion forum.

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
\newcommand
, use a \renewcommand
to redefine it.Stefan
LaTeX.org admin