# komascript scrlttr2: how to put recipient's address on the right

I need to put the recipient's address on the right of the letter.

I'm using scrlttr2 class and I know that it is very flexible, but I can't find a way to do that.

• Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – karlkoeller Jan 27 '15 at 13:19
• Is that the standard in your country? If so, you should tell us the location and provide links to some official resources. Then we can provide stuff that is easily accesible by everyone in your country. – Johannes_B Feb 4 '15 at 15:41

The horizontal position of the the address field is determined by the pseudolength toaddrhpos. A value of toaddrhpos greater than 0 means the distance from the left border, a value lower than 0 means the distance from the right border.

So you could use something like

\makeatletter
\makeatother


or

\makeatletter
\makeatother


Code:

\documentclass{scrlttr2}
%%% only to show the fields, do not use in your real document
%%%
\makeatletter
\makeatother
\usepackage{blindtext}% for dummy text
\begin{document}
\begin{letter}{Max Mustermann\\Musterstr.12\\12345 Musterhausen}
\opening{Hello}
\blindtext
\end{letter}
\end{document}


Other pseudolengths related to the address field are toaddrvpos, toaddrwidth and toaddrheight.

And you can use \addtokomafont{addressee}{\raggedleft} to right align the address in the address field:

Code:

\documentclass[backaddress=false,fromalign=right]{scrlttr2}
%%% only to show the fields, do not use in your real document
%%%
\makeatletter
\makeatother

\setkomavar{fromname}{Kombi Karle}
\usepackage{blindtext}% for dummy text
\begin{document}
\begin{letter}{Max Mustermann\\Musterstr.12\\12345 Musterhausen}
\opening{Hello}
\blindtext
\end{letter}
\end{document}


But there are also some Letter Class Option files included in the KOMA-Script Distribution having the recipient's address on the right.

Use \LoadLetterOption{SN} (Swiss letters with address field on the right side) in the preambel to get:

Or \LoadLetterOption{NF} (French letters):

• I am a bit confused, the Q was in the list of questions with zero answers.Your answer is from january and much better than mine, why did i overlook it? – Johannes_B Jun 19 '15 at 8:50
• @Johannes_B I am sorry you did not have a chance to see it ;-) The question was a bit unclear and I thought my answer was out of interest. – esdd Jun 19 '15 at 9:40
• For a few hours now i can see deleted answers, it was too early. Your question is very very good, better than mine. But i like the busy bee ;-) – Johannes_B Jun 19 '15 at 9:47

This is my best guess. Many many more information can be found in the answer by @esdd.

\documentclass[backaddress=false,fromalign=right,NF]{scrlttr2}
\makeatletter

• Maybe you have to shorten the toaddrwidth additionally? If the text in a line of the address field is longer it could run out of the paper without a warning. Use \LoadLetterOption{visualize} \showfields{address} in the preamble to show the position and the width of the address field. – esdd Jun 19 '15 at 8:47