Does anybody know of a good way to write simple paper letters in LaTeX, so that the formatting shows the receiver's address in the right place, to show it in the window of those C5 envelopes with an "address window" (see picture)?
Those envelopes follow some kind of standard here in Sweden, I would like to use them since my handwriting is not that good looking.
The question is how I get a box with the receiver's address in the upper right corner on the first page?
Update: I think the letter should conform to SS 34321 (Swedish Standard).
Note: This question is "moved" over from SuperUser where I did not find a working answer (https://superuser.com/questions/58404/latex-letter-with-adress-field-in-the-right-place-for-a-c5-envelope-with-window)
Update:
I created a basic example using the scrlttr2 and it's close enough for now, I have printed and the address show up in the right place.
This is how my example looks like:
And this is the LaTeX code I used to create that version:
\documentclass[fontsize=11pt,a4paper]{scrlttr2}
\usepackage[english]{babel}
\usepackage[english]{isodate}
% font and input setup
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{datetime}
\renewcommand{\dateseparator}{-}
\newcommand{\todayiso}{\the\year \dateseparator \twodigit\month \dateseparator \twodigit\day}
\setkomavar{date}{\todayiso}
\setkomavar{signature}{Johan Simonsson}
\let\raggedsignature=\raggedright
\makeatletter
\@setplength{toaddrvpos}{30mm}
\@setplength{toaddrhpos}{130mm}
% The space to sign my name
\@setplength{sigbeforevskip}{10mm}
\makeatother
\setkomavar{subject}{Long fortune example}
\begin{document}
\begin{letter}{Pelle Gustavsson \\ Bergsgatan 17 lgh1115 \\ 123 45 Malmö \\ Sweden}
\opening{Dear Pelle Gustavsson}
The camel died quite suddenly on the second day, and Selena fretted
sullenly and, buffing her already impeccable nails -- not for the first
time since the journey began -- pondered snidely if this would dissolve
into a vignette of minor inconveniences like all the other holidays spent
with Basil.
\\ --- Winning sentence, 1983 Bulwer-Lytton bad fiction contest.
\\\\ Gratitude and treachery are merely the two extremities of the same procession.
You have seen all of it that is worth staying for when the band and the gaudy officials
have gone by.
\\ --- Mark Twain, "Pudd'nhead Wilson's Calendar"
%\baselineskip
\closing{Best regards}
\end{letter}
\end{document}