# Tag Info

28

A combination of the options enlargefirstpage and firstfoot=false is a very easy solution to enlarge the first page: \documentclass[12pt,fromalign=right,fromrule=afteraddress, parskip=half,pagenumber=no,DIV=15, enlargefirstpage,firstfoot=false]{scrlttr2} I've removed option foldmarks=true, because it's default. All other ...

27

The scrlttr2 class loads the file DIN.lco as default. This file contains a parameter set for A4 paper and German window envelopes C4, C5, C6 and C6 long. But there is another Letter Class Option file that reduces the space above the address: DINmtext.lco. Note that such a letter will not fit a C4 or C5 window envelope. To load the Letter Class Option file ...

26

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 ...

15

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 ...

14

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 % ---...

14

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 ...

11

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 \hsize{\...

11

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} % ...

10

\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 \...

9

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}% } \setkomavar{...

8

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} ...

8

7

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 ...

7


7

The right lenght seems to be \oddsidemargin+1in. So you should add \makeatletter \@setplength{lochpos}{\oddsidemargin} \@addtoplength{lochpos}{1in} \makeatother MWE (added geometry to show the frame) \documentclass[foldmarks=true,foldmarks=blmtP, version=last]{scrlttr2} \usepackage[showframe]{geometry} % just to show the frame \usepackage[ngerman]{...

7

komacv is based on the KOMA-Script class scrartcl. So it is possible to use the relatively new KOMA-Script package scrletter to set the letter and the cv in one document. Additional I would use scrlayer to define a new page style for the first pages of both the letter and the cv. But komacv still loads scrpage2 and this package can not be used together ...

7

Your calculation -\useplength{refhpos}+\useplength{toaddhpos} does not result in a value, that moves the signature to the middle of the text area. In your example the value of refhpos is 0pt and the value of toaddrhpos is -10mm (given by NF.lco). Your \@setplength{sigindent}{-\useplength{refhpos}+\useplength{toaddrhpos}} (I've remove one }, which was to ...

6

6

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" ...

6

You have made a reasonable start. scrlettr2 divides the page up in to various regions. At the top is a header region. Below that on the left is a region for the address the letter is to be sent to. At about the same level on the right-hand side is a region called location. The option you choose fromalign=right moves the from address to the right, but ...

6

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} \...

6

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 ...

6

\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 done ...

6

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 ...

6

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 \...

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: \documentclass[...

6

The signature is saved in the variable signature. Default is \usekomavar{fromname}. \documentclass{scrlttr2} \setkomavar{fromname}{Merlin the wizard} \setkomavar{signature}{Merlin, the master of desaster} \begin{document} \begin{letter}{Ozzy, the metal wizard} \opening{Dear friend} some awesome text here. \closing{Best ...

6

Here is an example using scrlttr2: \documentclass[ SN,% lco file for swiss letters (SN 010 130)) refline=dateleft, firstfoot=false, enlargefirstpage, backaddress=false, foldmarks=false, parskip=half- ]{scrlttr2} \usepackage[english]{babel} \setkomavar{fromname}{My Name} \setkomavar{fromaddress}{My Street \\ My city} \setkomavar{date}{The ...

6

From the documentation: The \usekomavar and \usekomavar* commands are, like all commands where a starred version exists or which can take an optional argument, not fully expandable. But you can use the optional argument of \usekomavar to fill the pdfinfo with the already existing information: \newcommand\mypdfinfo[2]{\hypersetup{pdfinfo={#1=#2}}} \...

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