# What package to use to write a letter?

I would like to write a letter to someone. So far I've discovered two packages letter and lettre (written by a french guy). Both are nice, but I would like to customize the layout of the letter.

For instance, I would like to move the date below the address and move the address to fit my windowed envelope.

I spent some time trying to achieve this, unfortunately these packages seems not very modular. So I am thinking to rewrite a very simple package where each letter component (address, date, ...) are using textblock

\begin{textblock}{hwidthi}[hhx i,hhyi](hx i,hyi)
...
\end{textblock}


What would be the most straightforward solution in my case?

• The date is above the address in lettre because it's the traditional layout out of letters in French. – Bernard Apr 23 '16 at 8:56
• It is, but the envelopes I bought have a window located slightly above. – nowox Apr 23 '16 at 8:57
• I found scrlttr2 a very convenient package. – thewaywewalk Apr 23 '16 at 9:01
• You can easily customise the layout of the lettre heading: it is a picture environment, with a number of \parboxes. The default placement and dimensions of these boxes is explained in § 2.7.3 (De l'entête), pp 25-26 of the documentation. – Bernard Apr 23 '16 at 9:23
• letter, scrlttr2, newlfm and isodoc are all discussed in Correspondence if that's of any help. – Nicola Talbot Apr 23 '16 at 10:03

Maybe this helps - here's the code of my personal standard letter using the scrlttr2 document class.

\documentclass[a4paper]{scrlttr2}

% Options
% true/on/yes oder false/off/no
\KOMAoptions{
parskip=half,
fromphone=off,
fromrule=off,
fromfax=off,
fromemail=off,
fromurl=off,
foldmarks=true,
}

% Standard packages
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

\usepackage{csquotes}
\usepackage[]{url}

% Some sombols - just in case :)
\usepackage{textcomp}

%% Setting the Variables
\setkomavar{fromname}{Dr.~Manuel Kuehner}
\setkomavar{signature}{\small\sffamily Dr.~Manuel Kuehner}
\setkomavar{fromphone}{0123-123456789 (Mobil)}
\setkomavar{fromemail}{xxx@gmail.com}
\setkomavar{fromurl}{www.manuelkuehner.de}
\setkomavar{frombank}
{%
Konto 000\,000\,000,
Postbank Berlin,
BLZ 100\,100\,10\\
IBAN DE\,08\,10010010\,123456789, BIC PBNKDEFF
}

% Footnote with bank account, custom code
\setkomavar{firstfoot}
{%
\parbox[b]{\linewidth}
{%
\centering\usekomavar{frombank}%
}%
}

% Letter specific information
% Leave the {} empty and it will not appear.
\setkomavar{customer}{}
\setkomavar{subject}{Cancellation}
\setkomavar{myref}{--}
\setkomavar{yourmail}{}
\setkomavar{yourref}{}
\setkomavar{invoice}{}

\setkomavar{date}{\today} % Date of letter

\begin{document}

\begin{letter}
Name Name\\
Street Street\\
Town Town
}

\opening{Dear Mr. Mueller,}

\enlargethispage{0\baselineskip}

I would like to cancel my newspaper.

\closing{Best regards}
\ps{}
\encl{Attached documents} % comment out if not needed
\end{letter}

\end{document}


Here's the result of the code above:

But I must admit that it took me a while until I figured out how the document class works and until I was satisfied with the result. But I use it for years now without changing the code.

• Seems the space between Dr. and M is too large (frenchspacing). Try Dr.~M in all matching occasions. – Johannes_B Apr 24 '16 at 2:58
• @Johannes_B Or Dr.\ M – CarLaTeX Aug 12 at 20:19
• @CarLaTeX Thx for the hint! – Dr. Manuel Kuehner Aug 13 at 18:21
• @Johannes_B Thanks for the hint (sorry, that was years ago but I missed it apparently that time)! – Dr. Manuel Kuehner Aug 13 at 18:22
• You're welcome! – CarLaTeX Aug 13 at 18:58