Source

cover-letter / cover-letter-example.tex

Full commit
\documentclass[12pt]{scrartcl}

%%----------------------------------------------------
% Geometry and layout
%%----------------------------------------------------
\usepackage[
    a4paper,
    %xetex,
    width=435pt,
    top=3cm,
    bottom=3cm,
]{geometry}
\usepackage{parskip}

%%----------------------------------------------------
% XeLaTeX font selection
%%----------------------------------------------------
%\usepackage{fontspec}
%\setmainfont[Kerning=On, Mapping=tex-text, ]{Linux Libertine O}
%\setmonofont[Mapping=tex-text]{Consolas} % monospace fonts

%%----------------------------------------------------
% Dummy text
%%----------------------------------------------------
\usepackage{lipsum}

%%----------------------------------------------------
% Cover letter
%%----------------------------------------------------
\usepackage{cover-letter}

\SetColors{
    Primary = black,    % Currently inactive
    Secondary = darkgray,
}

\SetPersonal{%
    Firstname = Charis,
    Lastname = Papadopoulos,
    Title = {Civil Engineer, M.Sc.},
    AddressA = {Syntagma Sqr.\ 1},
    AddressB = {Address second line},
    AddressC = {Address third line},
    Email = {email@example.com},
    Mobile = {+30 6969.666.999},
    Phone = {+30 210.123.4567},
    Homepage = {www.google.com},    % currently not active
}

\SetRecipient{%
    Firstname = John,
    Lastname = Doe,
    AddressA = {You may use up to 3 lines},
    AddressB = {for the Addresses.},
    AddressC = {Don't forget the braces!},
}

\SetEnclosures{%
    Name=Enclosures,
    ItemA={Curriculum Vit\ae},
    ItemB={Item 2},
    ItemC={Item 3},
    ItemD={Item 4},
    ItemE={You may use up to 5 items},
}

\begin{document}

% By default the footer is empty. If you uncomment the following line, the
% footer will display the message "Page N of M".
% If it is active, the document must be compiled twice.
%\ShowPageNumbers

\TypesetPersonal
\TypesetRecipient
\TypesetDate

%----------------------------------
% This is where your letter starts!
Dear Mr. Doe

\lipsum[1-5]

Yours sincerely,

% And this is where it ends...
%----------------------------------
\TypesetSignature
\TypesetEnclosures

\end{document}