Tag Info

New answers tagged

5

It is not possible to use the fromrule option together with firsthead. But here is an suggestion how you can get the same line as in your MWE: \documentclass{scrlttr2} %\KOMAoptions { fromalign=right, %fromrule=aftername } \setkomavar{firsthead}{% \parbox{\textwidth}{ \raggedleft ...


1

If you only want to color the first name and the familiy name in the first header you can set the firsthead variable: \documentclass[parskip=full-]{scrlttr2} \usepackage{xcolor} \usepackage[english, ngerman]{babel} % new variables and fonts \newkomavar[sender-firstname]{fromfirstname} \newkomafont{fromfirstname}{} ...


6

utf8.def from package inputenc only supports characters, which are used in one of the declared output encodings. Otherwise LaTeX would not know, how to print the character. ° is defined in TS1 encoding, which can be loaded by package textcomp: \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage[utf8]{inputenc} Complete example: ...


4

You can use siunitx which offers \degree and \celsius \documentclass[fontsize=10pt,paper=a4,DIN]{scrlttr2} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{siunitx} \setkomavar{fromaddress}{% Main Street 1\\ 55555 Springfield)} \setkomavar{fromname}{John Doe} \begin{document} \begin{letter}{Jack \si{\degree} Jones \\ 2nd Street ...


2

Let's add the showframe package to your preamble and see what the output looks like: It's clear that there is enough space, as the text block has a big empty section at the bottom of the first page. However, looking at the content on page 2, we see a single sentence followed by the "closing" (specified by \closing). The \closing issues a \nobreak to ...


3

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} \geometry{hmargin=\useplength{toaddrhpos},bottom=2cm} Code: ...


1

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. Your comments are misleading mostly. you should also use \usepackage[T1]{fontenc} when using pdflatex. never use \setlength{evensidemargin}{} or \setlength{oddsidemargin}{}, especially in ...


1

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.



Top 50 recent answers are included