i have the following formatting problem writing a cover letter, using scrttr2.
The main text is very long, but as you can see from the given example - there is a lot of unused space. I want the letter fit to one page; for example by reducing the space to the bottom edge.

\documentclass[a4paper,11pt,version=last,ich]{scrlttr2} %Standard: 12 DIV, BOIC 0%
\usepackage[utf8]{inputenc} % erkennen von Umlauten %
\usepackage[ngerman]{babel} % Silbentrennung nach deutschem Standard %
\usepackage{charter} %Schriftart%
\KOMAoptions{foldmarks=off,fromrule=false} % die hässlichen Striche am Rand wegmachen %
\usepackage{blindtext}
\setkomavar{place}{Mars}        % um den Ort hinzuzufügen %
\setkomavar{fromname}{Space Cowboy}
99999 Town}
\renewcommand*{\raggedsignature}{\raggedright} % um die Unterschrift bündig zu machen %
% so kann man den Text direkt unter die Anschrift setzen
\addtolength{\oddsidemargin}{-1in} % in sind inch %
% how can i change this - ist there a more elegant way???
\makeatletter
\setlength{\@tempskipa}{-12ex}%
\makeatother
\makeatletter
\setlength{\@tempskipa}{-12ex}%
\makeatother
\makeatletter
\setlength{\@tempskipa}{12ex}%
\makeatother
\begin{document}
\begin{letter} {
Sausage Shop\\
Recruiting Management\\
Mr Sausage \\
Street 5 \\
99999 Town\\
}
\opening{Dear Mr Sausage,}
\blindtext
\\
\blindtext
\\
\blindtext
\closing{Greets,\\}
\setkomavar*{enclseparator}{Anlagen}
\encl{Notenspiegel, Excelschein}
\end{letter}
\end{document}

• Please reduce your code, e.g. Do not post random text, use blind text for this – MaxNoe Apr 28 '15 at 20:59
• But the exaple fits very good to my orginal text. should i write xxx... instead? - Sorry i'm new – Jogi Apr 28 '15 at 21:03
• \usepackage{blindtext}  in the preamble and \blindtext in the document – MaxNoe Apr 28 '15 at 21:05
• There are many strange things you do there. A question: do you want to use a windowed envelope? – MaxNoe Apr 28 '15 at 21:25

There are a few caveats in your code. First some general hints:

• do not use \\ in text. It is not a marker for a new paragraph. Just leave a single empty line in the code.

• you should also use \usepackage[T1]{fontenc} when using pdflatex.

• never use \setlength{evensidemargin}{} or \setlength{oddsidemargin}{}, especially in a letter they make no sense at all. letters are one-sided by default. More on this in the l2tabu: ftp://ftp.dante.de/tex-archive/info/l2tabu/german/l2tabu.pdf

• \setkomavar{backaddress}{} does not remove the underlining, it removes your address from the address window completely.

• the ugly stripes are actually the marks where you have to fold the paper to fit it into a regular envelope, might be helpful.

If you do not use a windowed envelope, you do not need the address field, and the result fits on one page if you remove it and the space it takes:

\documentclass[paper=a4,11pt,version=last]{scrlttr2}

% this tells LaTeX the source file's encoding
\usepackage[utf8]{inputenc}
% e.g. it changes names (Tabelle instead of Table etc.)
\usepackage[ngerman]{babel}

\usepackage{blindtext}

\KOMAoptions{foldmarks=off, fromrule=false}

\setkomavar{place}{Mars}
\setkomavar{fromname}{Space Cowboy}
Milkiway 5\\
99999 Town%
}

\makeatletter
\makeatletter

\begin{document}
\begin{letter}{%
Sausage Shop\\
Recruiting Management\\
Mr Sausage \\
Street 5 \\
99999 Town\\
}
\opening{Dear Mr Sausage,}
\blindtext

\blindtext

\blindtext
\closing{Greets}
\encl{Notenspiegel, Excelschein}
\end{letter}
\end{document}


Result:

You can load the DINmtext.lco to save space. See the KOMA-Script documentation, section "Letter Class Option Files" for more information.

If there is no firstfoot you can set firstfoot=false and enlargefirstpage.

Use the package geometry to change the pagelayout:

\usepackage{geometry}


Code:

\documentclass[
%  ich,
DINmtext,
foldmarks=off,
fromrule=off,
firstfoot=off,
enlargefirstpage
]{scrlttr2}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{charter}

\setkomavar{place}{Mars}
\setkomavar{fromname}{Space Cowboy}
\renewcommand*{\raggedsignature}{\raggedright}

\usepackage{geometry}

\makeatletter
\makeatother

\usepackage{blindtext}
\begin{document}
\begin{letter} {
Sausage Shop\\
Recruiting Management\\
Mr Sausage \\
Street 5 \\
99999 Town\\
}
\opening{Dear Mr Sausage,}
\blindtext

\blindtext

\blindtext
\closing{Greets,\\}
\setkomavar*{enclseparator}{Anlagen}
\encl{Notenspiegel, Excelschein}
\end{letter}
\end{document}

• i used this soution. Please explain in key points what DINmtext means? – Jogi Apr 29 '15 at 21:05
• DINmtext.lco is a Letter Class Option File that is part of the KOMA-Script bundle. scrlttr2 loads automatically DIN.lco which sets the parameters for letters on A4 paper complying the German DIN 676 standard. DINmtext.lco changes the parameter to use a different layout with more text on the first page. It complies also the German DIN. Because of the changed address position it is only suitable for window envelopes C6 and C6/5 (but not C4 and C5 window envelopes). – esdd Apr 30 '15 at 13:17

You can work with enlargefirstpage as documented, but please don't.

Sometimes, you have to accept, that some things don't fit. I don't know about Mr. Sausage, but tfl gets furious looking at this.