# Tag Info

13

Actually, a combination of the two answers given will give the desired result: \documentclass{scrlttr2} % ---- beginning of relevant part \usepackage{lmodern}% Latin Modern typeface (font) \usepackage[T1]{fontenc}% T1 font encoding for high quality font output \renewcommand{\familydefault}{\sfdefault}% Latin Modern's sans serif font family as default % ...

11

The document class scrlttr2 doesn't use normal length adjusting there contents. Instead it uses pseudolengths. The most important length are described in scrguien or the German version scrguide. Both documentations have a great picture which are showing the pseudolengths. To explain my solution here the picture: In your case you must change the height ...

7

Instead of minipages you can use \parboxes: \documentclass[% paper=letter, pagesize, fontsize=10pt, standard ]{scrlttr2} \usepackage[english]{babel} \usepackage{lipsum} \newcommand\Sigline[4][t]{% \parbox[#1]{.333\linewidth}{\raggedright#2}% \parbox[#1]{.333\linewidth}{\raggedright#3}% \parbox[#1]{.333\linewidth}{\raggedright#4}% } ...

7

Here is a solution that is independent of any particular document class. \documentclass{minimal} \begin{document} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. \def\s#1#2{\vbox{\hsize=4.5cm \kern2cm \hrule\kern1ex \hbox to ...

6

The nice thing about scrlttr2 is that it's easily customizable. The ORM markers you mentioned are probably the foldmarks, to be switched off using \KOMAoptions{foldmarks=off} The From address can be put to the right, check the manual for "firsthead" and "nexthead". Or take the example I put online here as a starter: uweziegenhagen.de/?page_id=132, snippet ...

6

Sometimes you may have to cheat a little... Below I set the date as part of the address, leaving the date empty: \documentclass{scrlttr2} %\usepackage{fontspec} % Allows font customization %\usepackage{marvosym} % Allows the use of symbols \usepackage[english]{babel} % Required to compile in Windows \usepackage{graphicx} \setlength\parindent{0pt} % ...

5

Here an example using \renewcommand\raggedsignature{\raggedright} . You have to use the mandatory argument of letter : \documentclass[DIN,paper=a4,fontsize=11pt]{scrlttr2} \usepackage[dutch]{babel} \def\afzender{Richard Kranendonk} \def\ondertekening{Cheers} \setkomavar{signature}{\afzender} \makeatletter %\@setplength{sigindent}{0pt} ...

5

The problem is that \firsthead{ \rule{\paperwidth}{3cm} } adds horizontal space if you don't avoid it putting a % after \firsthead{, so you would have to write \firsthead{% \rule{\paperwidth}{3cm} } Moreover, the use of \firsthead is deprecated. You should use the following syntax instead: \setkomavar{firsthead}{% \rule{\paperwidth}{3cm}% } Complete ...

5

Please try the following MWE (I have changed your MWE a little bit). It should do what you want: \documentclass[UScommercial9,paper=letter]{scrlttr2} % <==== changed \usepackage[english]{babel} \usepackage[pass]{geometry} % <==== changed \KOMAoptions{fromphone=true,fromfax=false} % <==== changed \begin{document} ...

5

With the exception of the first page you can set the margins as usual. The first page works with pseudo length. The next pages use the standard settings provided by typearea. To demonstrate this you can load the package showframe und manipulate length like \headsep. However I recommend the package geoemtry to influence the margins. If I use the following ...

4

Markus Kohm, the author if KOMAscript, has included a nowindow-lco in the samples to his book (see Beispiele aus der 4. Auflage des KOMA-Script-Buches). The sources for the file is: % nowindow.lco % Copyright 2008 Markus Kohm % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 % of ...

4

This answer elaborates on Sveinung's. At \opening, scrlttr2 "moves into position" to print the "to address" using \move@topl which is defined as: \newcommand*{\move@topl}{% \null\hskip -1in% \ifodd\value{page}\hskip -\oddsidemargin\else\hskip -\evensidemargin\fi \ignorespaces% } followed by an \hskip of size "\toaddrhpos". So, setting "\toaddrhpos" ...

4

You vertical skip between the paragraphs can be done by the option parskip. So load the class with: \documentclass[a4paper,parskip=full,]{scrlttr2} The adjustment of \closing depends on the definition of \raggedsignature which is set to \centering so you can change it as follows: \renewcommand*{\raggedsignature}{\raggedright} Based on this modification ...

4

Nice question; I solved it by changing \addrentry and adding something innocuous to \begin{letter}, that will do nothing if a subsequent \makeopening command doesn't follow. In the usual \addentry command, the last argument is used to build a control sequence that stores the address lines. I add also the building of an opening line, which for MEIER is ...

4

Depends to your system: Linux or Windows. However, it is the same as creating an own package and saving it in the local TEXMF tree which can be for Linux ~/texmf/[TDS] /usr/local/texmf/[TDS] /usr/local/texlive/texmf-local/[TDS] and so on. For MiKTeX you can define own trees and add them to the root base. And in all directories you have to create a TDS ...

4

The basic technique is like this: \documentclass[ngerman,12pt]{scrlttr2} \usepackage{babel,blindtext} \setlength{\textwidth}{16cm} \setkomavar{fromname}{Just me} \setkomavar{fromaddress}{Just some place} \def\pshape#1{% \parshape #1 \pshapexiicm{#1} 0pt 16cm } \def\pshapexiicm#1{% \ifnum#1>1 0pt 12cm \expandafter ...

4

\usekomavar cannot be used directly as file name in \includegraphics: It is not expandable, it is defined via \DeclareRobustCommand. The file name parser needs to see the dot that separates the extension. Workaround: \usekomavar has an optional argument, that can be used to define a temporary macro that will expand to the file name. The expansion is ...

4

\documentclass[a4paper,backaddress=off,foldmarks=false,parskip=half,addrfield=false]{scrlttr2} \usepackage{fontspec} % Allows font customization \usepackage{marvosym} % Allows the use of symbol \usepackage{csquotes} \defaultfontfeatures{Mapping=tex-text} \renewcommand{\normalsize}{\fontsize{12.5}{17}\selectfont} \let\raggedsignature\raggedright ...

4

Just use \ifkomavarempty{fromemail}{true-code}{false-code} for example. \documentclass[refline=nodate]{scrlttr2} \usepackage{lipsum,marvosym} \setkomavar{fromname}{David} \setkomavar{fromemail}{} \setkomavar{place}{Here} \setkomavar{backaddress}{} \usekomavar[\edef\komaemail]{fromemail} \setkomavar{fromaddress}{Road 17\\9900 Place \hfill ...

3

Let's start of with an minimal example - something that really helps the community, regardless of what you may think, really. The following is taken from the KOMA-script documentation (section 4.20. Closing, p 190): \documentclass[foldmarks=true,foldmarks=blmtP, fromphone,fromemail,fromlogo, subject=titled, version=last]{scrlttr2}% ...

3

The classicthesis package relies on the usual sectioning commands such as \section being defined. For example it loads titlesec which it uses to define the sectioning formats. However, the scrlttr2 class does not define sectioning commands since they're not needed for a letter. But then, classicthesis is meant for formatting a thesis and not a letter... ...

3

The KOMA-Script class scrlttr2 is a very versatile class to produce letters according to certain standards (e.g. the german DIN) allowing, for example, for the correct positioning of the address to be visible through the window of the envelope. The following MWE is a very basic example of howto use the scrlttr2 class with adjustments for your specific ...

3

Another possibiltiy is to use tikz: \documentclass[a4paper]{scrlttr2} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage{graphicx} \usepackage{tikz} \setkomavar{fromname}{John Doe} \setkomavar{fromaddress}{Fakestreet 1\\123 Faketown} \begin{document} \begin{letter}{% Jane X\\ 456 Fake Village } ...

3

Remove the refline=wide to align the date, and change toaddrhpos to align the address (it will no longer be at the correct place for a DIN-window) or as alternative change \oddsidemargin. \documentclass[paper=a4,enlargefirstpage=on]{scrlttr2} \usepackage{ngerman} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{url} \usepackage{lipsum} ...

3

scrlttr2 supports an option that allows the placement of the subject after the opening/greeting: \documentclass[subject=afteropening]{scrlttr2} \usepackage[english]{babel} \setkomavar{fromname}{Mr. X} \setkomavar{fromaddress}{Some Street 23 \\ Small Town} \setkomavar{subject}{Very important stuff} \begin{document} \begin{letter}{Mr. Y \\ Big Company \\ ...

2

One solution is hinted in this answer. In particular, download the file sectionslco.zip and unzip it to the directory containing the letter. Finally, add the class option sections. Now you can use all sectioning macros, e.g. \section, as usual.

2

It looks like you can solve this by using KOMA-script options and internal commands. Please, have a look at the following MWE: \documentclass[addrfield=backgroundimage,% fontsize=12pt, UKenglish]% {scrlttr2} \usepackage{babel,graphicx} \usepackage[utf8]{inputenc} \setkomavar{addresseeimage}{\includegraphics[% trim=5mm ...

2

If you are okay with manual fiddling you can use a combination of \rightskip and \parshape. The problem with \rightskip is that it will always act on the entire paragraph, so that the first lines on the second page would still obey the wrong margin, if they belong to a paragraph that started on the first page. \parshape can handle line by line, but you ...

2

I don't have a solution for the scrlttr2 class, although I think if you beat this answer with the letter class, you should be able to get it to work ... Something like \usepackage{everyshi} \AtNextShipout{\global\rightskip=-2.5cm\relax} can handle the simple cases of single page letters and letters where the first page break occur at a paragraph. As I ...

2

For the simple case of a one page letter or a page break between paragraphs all we need is \usepackage{everyshi} \AtNextShipout{\global\rightskip=-2.5cm\relax} Using a modified version of David's magic can handle the case where the page breaks in the middle of a paragraph. \makeatletter \newlength{\textwidth@wide} \setlength{\textwidth@wide}{\textwidth} ...

Only top voted, non community-wiki answers of a minimum length are eligible