如何在求职信顶部添加标题?

如何在求职信顶部添加标题?

我正在使用该newlfm软件包创建一封求职信。我正试图用标题替换这封求职信顶部的徽标。现在我知道如何删除徽标,但我不知道如何在顶部的黑线上方添加标题?另外,我找不到在图像中创建这两条黑线的任何乳胶代码,这就是为什么我不知道如何在上方黑线的正上方放置标题或一些文本

\documentclass[10pt,stdletter,dateno,sigleft]{newlfm} % Extra options: 'sigleft' for a left-aligned signature, 'stdletternofrom' to remove the from address, 'letterpaper' for US letter paper - consult the newlfm class manual for more options

\usepackage{charter} % Use the Charter font for the document text

\newsavebox{\Luiuc}\sbox{\Luiuc}{\parbox[b]{1.75in}{\vspace{0.5in}
\includegraphics[width=1.2\linewidth]{logo.png}}} % Company/institution logo at the top left of the page
\makeletterhead{Uiuc}{\Lheader{\usebox{\Luiuc}}}

\newlfmP{sigsize=50pt} % Slightly decrease the height of the signature field
\newlfmP{addrfromphone} % Print a phone number under the sender's address
\newlfmP{addrfromemail} % Print an email address under the sender's address
\PhrPhone{Phone} % Customize the "Telephone" text
\PhrEmail{Email} % Customize the "E-mail" text

\lthUiuc % Print the company/institution logo

%----------------------------------------------------------------------------------------
%   YOUR NAME AND CONTACT INFORMATION
%----------------------------------------------------------------------------------------

\namefrom{John Smith} % Name

\addrfrom{
\today\\[12pt] % Date
123 Broadway \\ % Address
City, State 12345
}

\phonefrom{(000) 111-1111} % Phone number

\emailfrom{[email protected]} % Email address

%----------------------------------------------------------------------------------------
%   ADDRESSEE AND GREETING/CLOSING
%----------------------------------------------------------------------------------------

\greetto{Dear Mrs. Smith,} % Greeting text
\closeline{Sincerely yours,} % Closing text

\nameto{Mrs. Jane Smith} % Addressee of the letter above the to address

\addrto{
Recruitment Officer \\ % To address
The Corporation \\
123 Pleasant Lane \\
City, State 12345
}

%----------------------------------------------------------------------------------------

\begin{document}
\begin{newlfm}

%----------------------------------------------------------------------------------------
%   LETTER CONTENT
%----------------------------------------------------------------------------------------

PARAGRAPH ONE: State the reason for the letter, name the position or type of work you are applying for and identify the source from which you learned of the opening (i.e. career development center, newspaper, employment service, personal contact).

在此处输入图片描述

答案1

您可以简单地\includegraphics用您的标题替换,确保与{&匹配}。换句话说,将 3 行更改为:

\newsavebox{\Luiuc}\sbox{\Luiuc}{\parbox[b]{1.75in}{\vspace{0.5in}
This is a dummy title }}
\makeletterhead{Uiuc}{\Lheader{\usebox{\Luiuc}}}

并且您将在线上方看到“这是一个虚拟标题”(顺便说一下,这是由包添加的,因此您看不到绘制它的命令)。

您可以在标题中使用任何您喜欢的文本格式命令,例如更改大小,就像在正文中一样。

相关内容