## LaTeX forum ⇒ Curricula Vitae / Résumés ⇒ Subject/reference line Topic is solved

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
liminarflow13
Posts: 15
Joined: Wed Oct 12, 2016 3:54 pm

### Subject/reference line

Hey guys,

im still using the template. Its really nice.

I would like a reference line inbetween the opening and the adressline. What I mean by that is something like "\begin{center}
\textbf{Application for...}
\end{center}"

Can somebody tell me how i add this accordingly?

With my best regards!

Tags:

Stefan Kottwitz
Posts: 8523
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Which template, specifically? I saw you posted earlier about a moderncv template. Maybe you mean this, maybe not.
Do you have some code? Otherwise it's a bit theoretical.

Stefan

liminarflow13
Posts: 15
Joined: Wed Oct 12, 2016 3:54 pm
Heyhey,

oh sure. Yeah I'm talking about the moderncv template. I thought every post in this part of the forum is about that. But yeah, alright. Now you know!

About the code. There is no code :s. I would say it should be like that:

%% this is the code from the template\recipient{ASD AG}{ 116 \\   70567 Stuttgart} % Letter %recipient\date{\today} % Letter date\opening{Sehr geehrte Damen und Herren,} % Opening greeting\closing{Es gruest Sie freundlich} % Closing phrase\enclosure[Angehängt]{CV} %% Now i want a title inbetween the recpient (ASD AG..) and the opening (Sehr geehrte Damen und Herren,)\textbf{This is a job application for advisory...} % Here is the problem, the title over everything. This is not what i want.% If i put it below \makelettertitle its inbetween the opening and the motivational writing.  %% the motivational writing starts here.\makelettertitle I want a job because....\makeletterclosing

Stefan Kottwitz
Posts: 8523
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Yes, there are other CV templates and classes around.

You could consider that subject line as an additional part of the opening. Such as:

\opening{\textbf{This is a job application for advisory...}\\[2\baselineskip]Dear Sir or Madam,} % Opening greeting

The \opening command doesn't accept a paragraph break in its argument, that's why I used \\ to end the line, with some vertical distance in square brackets. You can change the value in [...].

A "cleaner" way would be to patch the class to add such a feature, but it's a way to simply get it done.

Stefan

liminarflow13
Posts: 15
Joined: Wed Oct 12, 2016 3:54 pm
Thank you sir. Gets the job done. I tried it that why, didnt work because of the reasons explained.

Have a nice day!