[Tex/LaTex] How to move up the text

lettersspacing

I have used a LaTeX template for the cover letter:

% Cover letter using letter.cls
\documentclass{letter} % Uses 10pt
%\usepackage{helvetica} % uses helvetica postscript font (download helvetica.sty)
%\usepackage{newcent}   % uses new century schoolbook postscript font 
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[swedish]{babel}
% the following commands control the margins:
\topmargin=-1.3in    % Make letterhead start about 1 inch from top of page 
\textheight=8.5in    % 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}           % name for signature 
\longindentation=0pt                       % needed to get closing flush left
\let\raggedleft\raggedright                % needed to get date flush left


\begin{letter}{}

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

\opening{Dear Ms. Roberts:} 

\noindent PARAGRAPH ONE: åäö åwäää 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,} 

\vfill


\end{letter}


\end{document}

I would like to move up the text where the codes starts

\opening{Dear Ms. Roberts:} 

    \noindent PARAGRAPH ONE: åäö åwäää for letter

Any suggestions?

Best Answer

Naturally there is a "To name" (\toname) and "To address" (\toaddress) that forms part of the class preamble. Without that, the class inserts a bunch of nothing, plus some vertical skips, which leads to your spacing problem.

Add the following to your letter preamble. It adjusts/removes the spacing:

% Cover letter using letter.cls
\documentclass{letter} % Uses 10pt
%...
\makeatletter
\renewcommand*{\opening}[1]{\ifx\@empty\fromaddress
  \thispagestyle{firstpage}%
    {\raggedleft\@date\par}%
  \else  % home address
    \thispagestyle{empty}%
    {\raggedleft\begin{tabular}{l@{}}\ignorespaces
      \fromaddress \\*[2\parskip]%
      \@date \end{tabular}\par}%
  \fi
  %\vspace{2\parskip}%                        <-- Removed
  %{\raggedright \toname \\ \toaddress \par}% <-- Removed
  %\vspace{2\parskip}%                        <-- Removed
  #1\par\nobreak}
\makeatother
%...
\begin{document}
%...

enter image description here

Related Question