Curricula Vitae / RésumésSubject/reference line

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

Subject/reference line

Post by liminarflow13 »

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!

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

Subject/reference line

Post by Stefan Kottwitz »

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
LaTeX.org admin
liminarflow13
Posts: 15
Joined: Wed Oct 12, 2016 3:54 pm

Subject/reference line

Post by liminarflow13 »

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! :D

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

Code: Select all

%% 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
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Subject/reference line

Post by Stefan Kottwitz »

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
LaTeX.org admin
liminarflow13
Posts: 15
Joined: Wed Oct 12, 2016 3:54 pm

Subject/reference line

Post by liminarflow13 »

Thank you sir. Gets the job done. I tried it that why, didnt work because of the reasons explained.

Have a nice day!
Post Reply