如何控制信函文件中签名的空间?

如何控制信函文件中签名的空间?

我想在黑框突出显示的空间中用大写字母和斜体输入我的名字,但似乎做不到。求职信的其他一切都很好,我只需要在下面图片中用黑框突出显示的空间中输入我的名字。

我的乳胶代码在这里:

% 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文件中,此值设置为两行。然后您可以在此空间中写下您的签名。(KOMA手册,22.1.7)

最近——自版本以来3.26.2980,〜自 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}} 

相关内容