%
% scrlttr2en.tex
%
% This file is published and distributed under the latest version of
% the LPPL. By Juergen Fenn.
% You can reach me at http://www.juergenfenn.de/ .
%
% scrlttr2en.tex provides a commented template for writing a letter with
% scrlttr2.cls from the KOMA-Script bundle by Markus Kohm. 
%
% Translated into English by Jan Beilicke (http://jotbe-fx.de)
%
%---------------------------------------------------------------------------
\documentclass%%
%---------------------------------------------------------------------------
  [fontsize=12pt,%%          Font size
%---------------------------------------------------------------------------
% Type area
   paper=a4,%%               Sheet size
   enlargefirstpage=on,%%    Enlarge the first page
   pagenumber=headright,%%   Page number on the top right of the header
%---------------------------------------------------------------------------
% Layout
   headsepline=on,%%         Line below the page number
   parskip=half,%%           Space between paragraphs
%---------------------------------------------------------------------------
% Letterhead and address
   fromalign=right,%%        Positioning of the letterhead
   fromphone=on,%%           Phone number in the sender's area
   fromrule=off,%%           Line below the sender's area (aftername, afteraddress)
   fromfax=off,%%            Fax number
   fromemail=off,%%          Mail address
   fromurl=off,%%            Homepage
   fromlogo=off,%%           Company logo
   addrfield=on,%%           Adress field for window envelopes
   backaddress=on,%%         ... with sender address
   subject=beforeopening,%%  Positioning of the subject
   locfield=narrow,%%        Additional field for the sender
   foldmarks=on,%%           Folding mark
   numericaldate=off,%%      Numerical date
   refline=narrow,%%         Spread of the reference line in the type area
%---------------------------------------------------------------------------
% Formatting
   draft=on%%                Draft mode
]{scrlttr2}
%---------------------------------------------------------------------------
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{url}
%---------------------------------------------------------------------------
% Fonts
\setkomafont{fromname}{\sffamily \LARGE}
\setkomafont{fromaddress}{\sffamily}%%    Instead of \small
\setkomafont{pagenumber}{\sffamily}
\setkomafont{subject}{\mdseries}
\setkomafont{backaddress}{\mdseries}
\usepackage{mathptmx}%%                   Font Times
%\usepackage{mathpazo}%%                  Font Palatino
%\setkomafont{fromname}{\LARGE}
%---------------------------------------------------------------------------
\begin{document}
%---------------------------------------------------------------------------
% Letter style and positioning of the letterhead
\LoadLetterOption{DIN} %% or: DINmtext, SN, SNleft, KOMAold.
\makeatletter
\@setplength{firstheadvpos}{20mm}
\@setplength{firstheadwidth}{\paperwidth}
\ifdim \useplength{toaddrhpos}>\z@
  \@addtoplength[-2]{firstheadwidth}{\useplength{toaddrhpos}}
\else
  \@addtoplength[2]{firstheadwidth}{\useplength{toaddrhpos}}
\fi
\@setplength{foldmarkhpos}{6.5mm}
\makeatother
%---------------------------------------------------------------------------
% Sender information
\setkomavar{fromname}{Sender name}
\setkomavar{fromaddress}{Street\\Postcode City\\Country}
\setkomavar{fromphone}{12345 678890}
\renewcommand{\phonename}{Phone}
%\setkomavar{fromemail}{sender.name@example.org}
\setkomavar{backaddressseparator}{. }
\setkomavar{signature}{(Name)}
%\setkomavar{frombank}{}
%\setkomavar{location}{\\[8ex]\raggedleft{\footnotesize{\usekomavar{fromaddress}\\
%      Phone:\ usekomavar{fromphone}}}}%% Beside the address field
%---------------------------------------------------------------------------
\firsthead{User-defined letterhead}
%---------------------------------------------------------------------------
%\firstfoot{Footer}
%---------------------------------------------------------------------------
% Fields of business line
%\setkomavar{place}{Place}
%\setkomavar{placeseparator}{, }
\setkomavar{date}{\today}
%\setkomavar{yourmail}{1. 1. 2009}%%  'Your writing ...'
%\setkomavar{yourref} {abcdefg}%%     'Your reference ...'
%\setkomavar{myref}{}%%               'Our reference ...'
%\setkomavar{invoice}{123}%%          'Invoice number ...'
%\setkomavar{phoneseparator}{}
%---------------------------------------------------------------------------
% Shipping notice
%\setkomavar{specialmail}{Recommand\'{e} avec avis de r\'{e}ception}
%---------------------------------------------------------------------------
% Redefine enclosure
\renewcommand{\enclname}{Enclosure}
\setkomavar{enclseparator}{: }
%---------------------------------------------------------------------------
% Page style
\pagestyle{plain}%% No header
%---------------------------------------------------------------------------
\begin{letter}{Recipient\\Street\\Postcode City\\Country}
%---------------------------------------------------------------------------
% Further options
\KOMAoptions{%%
}
%---------------------------------------------------------------------------
\setkomavar{subject}{Subject}
%---------------------------------------------------------------------------
\opening{Dear Sir or Madam,}


\closing{Yours sincerely}
%---------------------------------------------------------------------------
%\ps{PS:}
%\encl{}
%\cc{}
%---------------------------------------------------------------------------
\end{letter}
%---------------------------------------------------------------------------
\end{document}
%---------------------------------------------------------------------------
%
% end of file