Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to type my name in block capitals and in italics in the space highlighted in the blackbox, but I can't seem to be able to. Everything else is fine with the cover letter, I just need to type my name in the space where I have highlighted with the black box in the picture below.

My latex code is here:

% 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}

enter image description here

share|improve this question

1 Answer 1

up vote 12 down vote accepted

The distance between the closing phrase and the signature is hard coded in letter.cls; in order to modify it, you have to change the \closing command: the following code doesn't really modify the distance, you should act on 6\medskipamount, changing it into a length that suits your needs.

\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

This is the result when 2\medskipamount is used

enter image description here

Note that \noindent is not needed in the letter body with the letter class, which sets zero indentation.

share|improve this answer
    
Thanks egreg, most appreciated! –  Gary Aug 24 '12 at 5:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.