如何控制信件文件中簽名的空間?

如何控制信件文件中簽名的空間?

我想在黑框中突出顯示的空間中以大寫字母和斜體輸入我的名字,但我似乎無法做到。求職信的其他內容都很好,我只需在下圖中用黑框突出顯示的空白處輸入我的名字即可。

我的乳膠代碼在這裡:

% Cover letter using letter.sty
\documentclass{letter} % Uses 10pt
%Use \documentstyle[newcent]{letter} for New Century Schoolbook postscript font
% the following commands control the margins:
\topmargin=-1in    % Make letterhead start about 1 inch from top of page 
\textheight=8in  % text height can be bigger for a longer letter
\oddsidemargin=0pt % leftmargin is 1 inch
\textwidth=6.5in   % textwidth of 6.5in leaves 1 inch for right margin

\begin{document}

\signature{Susan R. Bumpershoot}           % name for signature 
\longindentation=0pt                       % needed to get closing flush left
\let\raggedleft\raggedright                % needed to get date flush left


\begin{letter}{Ms. Terri Roberts \\
Senior Staff Recruiter \\
XYZ Corporation \\
Rt. 56 \\
Anytown, New Jersey 05867}


\begin{flushleft}
{\large\bf Susan R. Bumpershoot}
\end{flushleft}
\medskip\hrule height 1pt
\begin{flushright}
\hfill 1985 Storm Lane, Troy, NY 12180 \\
\hfill (518) 273-0014 or (518) 272-6666 
\end{flushright} 
\vfill % forces letterhead to top of page


\opening{Dear Ms. Roberts:} 

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

\noindent PARAGRAPH  TWO:  Indicate why you are interested in the position, 
the company, its products, services - above all, stress what  you 
can  do  for  the employer. If you are a recent graduate, explain 
how your academic background makes you a qualified candidate  for 
the  position.  If  you have practical work experience, point out 
specific achievements or unique qualifications. Try not to repeat 
the  same  information  the reader will find in the resume. Refer 
the reader to the enclosed resume or application which summarizes 
your  qualifications,  training,  and experiences. The purpose of 
this section is to strengthen your resume  by  providing  details 
which bring your experiences to life. 

\noindent PARAGRAPH THREE: Request a personal interview and  indicate  your 
flexibility as to the time and place. Repeat your phone number in 
the letter and offer assistance to help in a speedy response. For 
example,  state that you will be in the city where the company is 
located on a certain date and would like to set up an  interview. 
Or,  state  that  you  will  call  on a certain date to set up an 
interview. End the letter by thanking  the  employer  for  taking 
time to consider your credentials. 

\closing{Sincerely yours,} 



\encl{}                 % Enclosures

\end{letter}


\end{document}

在此輸入影像描述

答案1

結束短語和簽名之間的距離被硬編碼在letter.cls;為了修改它,你必須改變命令\closing:下面的程式碼並沒有真正修改距離,你應該對 進行操作6\medskipamount,將其更改為適合你需要的長度。

\makeatletter
\renewcommand{\closing}[1]{\par\nobreak\vspace{\parskip}%
  \stopbreaks
  \noindent
  \ifx\@empty\fromaddress\else
  \hspace*{\longindentation}\fi
  \parbox{\indentedwidth}{\raggedright
       \ignorespaces #1\\[6\medskipamount]%
       \ifx\@empty\fromsig
           \fromname
       \else \fromsig \fi\strut}%
   \par}
\makeatother

2\medskipamount這是使用時的結果

在此輸入影像描述

請注意,\noindent在帶有類別的信件正文中不需要letter,它設定零縮排。

答案2

一個簡單的解決方法是這樣的:

\signature{\vspace{-80pt} Susan R. Bumpershoot}

答案3

同時透過偽長度控制距離sigbeforevskip

sigbeforevskip在結束短語和簽名解釋之間插入一個垂直跳躍,其高度在偽長度中定義。在預定義lco檔中,該值設定為兩行。然後您可以在此空間中寫下您的簽名。 (科馬手冊、22.1.7)

最近—自版本以來2980年3月26日, ~ 自 2019 年起 -- 有新命令

\setplength[factor]{pseudo-length}{value}

您可以直接將距離設為value x factorfactor預設為 1。

例如預設是

\setplength{sigbeforevskip}{2\baselineskip}

但你也可以說:

\setplength[1.5]{sigbeforevskip}{\useplength{other-pseudo-length}}

答案4

這是一種手動但簡單的解決方案:

\closing{Sincerely yours, \vspace{2cm}} 

相關內容