Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [scrlttr2]

{scrlttr2} is for questions addressing issues related to the KOMA-Script letter class `scrlttr2`

Filter by
Sorted by
Tagged with
4 votes
1 answer
85 views

KOMA Script (scrlttr2) and tabularray - compatibility issues?

A M(N)WE of what has once been a rather complex table: \documentclass{scrlttr2} \usepackage{tabularray} \begin{document} \begin{letter}{ } \begin{tblr}[long]{l} test \\ \end{tblr} \end{letter} \end{...
SlowFox's user avatar
  • 115
2 votes
1 answer
29 views

Why scrlttr2 does not exhaust bottom of page?

I have the following file test.tex: \documentclass[a4paper,10pt,version=last]{scrlttr2}%,fontsize=10pt \usepackage{fontspec}% for lualatex \usepackage{geometry} \usepackage[latin]{babel} % for ...
user2609605's user avatar
2 votes
1 answer
45 views

No header in Letter

I have a MWE, But i want no rule and Name Adress etc on the right side of the document. I just want have it on the leftside ruled. But I did not achieved it. Is this possible? Meaning I want this: ...
herminato's user avatar
1 vote
1 answer
83 views

scrlttr2 enclosure pagebreak

I am using scrlttr2 to write letters, and in particular add the attachements also provided in the envelope in the \encl{} closure. However, since I add many many entries to the encl{} closure, it ...
patientCoder's user avatar
1 vote
1 answer
133 views

scrlttr2: Changing the font of all elements at once

The scrlttr2 documentation states on page 183 With the help of the \setkomafont and \addtokomafont commands, you can attach particular font styling commands that change the appearance of a given ...
804b18f832fb419fb142's user avatar
0 votes
0 answers
14 views

Have the date include the place while other Reference Line fields are defined

The KOMA Script guide says on page 214: The reference line can actually be longer than just one line. It is printed only if at least one of variables for the reference line is not empty. Only non-...
Jan's user avatar
  • 829
0 votes
1 answer
101 views

Why does the same definition lead to a different footer on second page? [duplicate]

I want to create a footer on all pages except the first. After I had failed I tried with creating the same footer as on the first page and it still looks different. It seems to only show a footer at ...
mrCarnivore's user avatar
  • 1,495
0 votes
0 answers
65 views

Add new KOMAoptions to customize .lco file?

I want to create extra KOMAoptions to be able to customize my scrlttr2 style. Should I create a .cls file or create an .lco file? Everything I was able to find online it is recommended to use an .lco ...
mrCarnivore's user avatar
  • 1,495
1 vote
1 answer
135 views

How to add new komavars in .cls to use in .lco?

I want to add \newkomavar in my .cls file and use it in an .lco file. But it seems the .lco is called before the .cls and it does not work. How can I define new koma variables and use them in an .lco ...
mrCarnivore's user avatar
  • 1,495
1 vote
1 answer
59 views

Parskip is shifting my footer down

Why is the footer (containing the bank information) shifted down by parskip? \documentclass[fontsize=12pt, DIN, A4, parskip=full, % removing this prevents the shift ...
mrCarnivore's user avatar
  • 1,495
0 votes
1 answer
153 views

Problems with scrlttr2 class

I am writing a long letter with sections, adressed to a public Institution in Mexico. I have to use letter sized paper and 12 pt. So I put the section.lco extra code in the place where I am writing ...
wpkzz's user avatar
  • 153
0 votes
1 answer
53 views

scrlttr2 same head back filled as my CV

Lately I just found the scrlttr2 class for my letters, as it has the SN option that gets all I need, in less than 5-10 seconds. But if I would like to use it to make my CV cover letter, I need one ...
Fr3d's user avatar
  • 141
1 vote
1 answer
110 views

Strange results when using \setkomavar{title} with scrlayer-scrpage and scrlttr2

Months ago, this code was working a letter: \documentclass[paper=a4,foldmarks=true,foldmarks=blmtP,fromalign=center,fromrule=afteraddress,fromphone,fromemail,title=true,subject=titled,version=last]{...
Georg's user avatar
  • 73
1 vote
1 answer
90 views

Problems with newcommand and counter for filling a longtable

I am trying to create a form for orders. The heart of this document is a srclttr2 with a longtable to even get a nice document for long orders. To make this template more flexible/easy I would like to ...
FaTiWo's user avatar
  • 11
2 votes
2 answers
1k views

scrletter/scrlttr2 footer position and format

Using scrletter, I cannot get the exact same footer as on the first page (position and text). Here's a MWE: \documentclass[a4paper, headlines=8.1, headheight=3cm, footlines=1.1, footheight=2cm, ...
Timmy's user avatar
  • 95
0 votes
1 answer
378 views

Set distance between signature and enclosures in scrlttr2

I am using the scrlttr2 package to write a letter with enclosures. However, I do not like the default vertical distance between the signature and the list of enclosures. Currently in my Tex document, ...
zufall's user avatar
  • 21
0 votes
1 answer
58 views

CC alignment with scrlttr2

I am trying to typeset a letter using Koma-Script, but the "distribution list" is not indented correctly. I would like it to look like in Figure 4.7 in the documentation (I think it's called ...
AkaAkane's user avatar
  • 123
0 votes
1 answer
306 views

Adding text immediately after the subject, and before the `\opening` of an scrlttr2 letter?

This is perhaps the companion question to Adding text immediately after the main text of a scrlttr2 letter. I have a use case where I want to make a comment on a letter before actually starting the ...
Faheem Mitha's user avatar
  • 7,828
0 votes
2 answers
1k views

jinja template engine statement conflicts with {%

tldr/solution: The jinja template engine default statement is defined as {%,%} and it conflicts with % at the end of the line (which is simply not a comment) in a combination with the parenthesis {. ...
Namal's user avatar
  • 301
2 votes
1 answer
167 views

Windowed Envelopes in LaTeX

I'm trying to get windowed envelopes sorted for letters. My code is below. %-----------------------------------------------------------------------------% \documentclass[a4paper]{scrlttr2} \...
George McNamara's user avatar
1 vote
1 answer
215 views

From Address Position Definition with scrlttr2

How do you define the fromaddress position and size using a scrlttr2 template? For the receiver's address, it can be done as follows %These commands work \@setplength{toaddrhpos}{1cm} \@setplength{...
Geoffry's user avatar
  • 55
1 vote
0 answers
160 views

scrlttr2 reference fields line on every page

This is my reference field line on the first page. \removereffields %<- delete default order of the predefined variables \setkomavar{date}{\today} \setkomavar{invoice}[Rechnungsnummer]{1234567} \...
Namal's user avatar
  • 301
2 votes
1 answer
189 views

How to move date position before receiver address in scrlttr2 letter?

I can move the date position by playing around with vspace, like this: #+LATEX_HEADER: \setkomavar{date}{\flushleft\vspace{-\baselineskip}\today\par However, no matter which value I pick, the date ...
mle0312's user avatar
  • 183
1 vote
1 answer
267 views

scrlttr2: how to match the text body on all pages correctly

In my letter I would like that the table fills the space all the way to the footer or at least the same length as all the following pages. When I add \setlength{\footskip}{0mm} it does this on the ...
Namal's user avatar
  • 301
1 vote
1 answer
256 views

scrlttr2 pagenumbers in header or footer on all pages (including the first one)

I am trying to combine a nice footer on all pages with pagenumbers on all pages. I have firsthead=off since I need a logo in the place of the back address. If I remove \chead*{\pagemark} from the ...
Namal's user avatar
  • 301
0 votes
1 answer
101 views

Align text in footer table

How to edit the first column tabular in the footer so the text of the marked rows is aligned? \documentclass[fontsize=11pt, version=last, fromalign=left, backaddress=true, foldmarks=on, fromphone=off,...
Namal's user avatar
  • 301
0 votes
1 answer
89 views

scrlttr2 another frombank

The frombank komavar is perfect. It does everything I want to. But I need another one, since I have to add two bank accounts to the footer in the letter. Is it possible to have another frombank?
Namal's user avatar
  • 301
0 votes
1 answer
200 views

How to put text or boxes of text above the back address in scrlttr2

I want to put 5 boxes of text above the back address line. For that matter I set firsthead to false. The text size can be the same size as the back address text size. The maximal length of each box ...
Namal's user avatar
  • 301
0 votes
1 answer
227 views

Applying rowcolor to tabularx in spreadtab causes "TeX capacity exceeded" error

Trying to apply \rowcolor{gray} to a specific row of a tabularx table whose values are calculated from spreadtab causes the famous error TeX capacity exceeded, sorry [parameter stack size=10000]. ...
Pouya's user avatar
  • 7,289
0 votes
0 answers
287 views

How to remove Sender Details in scrlttr2

My letter is a bit too long and in order to fit on 1 page I would like to remove the Sender details and the space it takes in the DIn A4 template leaving only the underlined backaddress: \...
Andrey's user avatar
  • 1
1 vote
0 answers
338 views

How To Align Addresses Of Sender And Receiver In scrlttr2 Or scrletter

Assume that I want to write a letter with KOMAscript (either via \usepackage{scrlttr2} or \usepackage{scrartcl} \usepackage{scrletter}) and I want to store the address of the sender in the location ...
kade's user avatar
  • 11
3 votes
1 answer
172 views

Footer in scrlttr2 gets cut by page end

I'm writing an invoice in LaTeX with KOMA-Script and scrlttr2. But the payment information I have put in the footer is too close/gets cut off by the page bottom. The following example should look like ...
haDe's user avatar
  • 33
0 votes
1 answer
575 views

Remove blank vertical space between Sender/Recipient in LaTeX letter package scrlttr2

I am constructing a letter using the scrlttr2 package. I've dived through a lot of questions about how to handle the sizes of the Sender Recipient section (at the top of just the first page). Using ...
Joshua Salazar's user avatar
0 votes
1 answer
150 views

scrlttr2, crop and headheight

I write a letter with scrlttr2 and try to colorize the background of the header. For some reason, I need some crop marks. So I maximize my letter from DIN-A4 to DIN-A3 with the package crop. But now, ...
Bigga's user avatar
  • 99
1 vote
1 answer
135 views

scrlttr2: lco file read only if babel is not used ; DeclareOption*; actually: handling of options and babel

I have my own letterclass using scrlttr2: %mwe.cls \NeedsTeXFormat{LaTeX2e} \ProvidesClass{mwe}[2010/11/19 mwe.cls] \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrlttr2}} \ProcessOptions\...
Sven's user avatar
  • 77
1 vote
1 answer
390 views

How do I force the pagemark footer to be shown on all pages, including the first?

I'm trying to create a letter template and want every page to show the current page and the total number of pages. However, I cannot get koma script to display the custom \pagemark on the first page. ...
bitmask's user avatar
  • 1,215
3 votes
2 answers
448 views

A missing address in a letter causes a "There's no line here to end." error

Consider the following LaTeX file: \documentclass[12pt]{scrlttr2} \begin{document} \begin{letter}{} \opening{} \closing{} \end{letter} \end{document} I get the error LaTeX Error: There's no line ...
Faheem Mitha's user avatar
  • 7,828
2 votes
1 answer
89 views

How to have an equal footer position in komascript?

Is there a certain option have the next page's footer equally positioned as the first? \documentclass{scrlttr2} %% \documentclass[firstfoot=false]{scrlttr2} \usepackage[english]{babel} %% Same left ...
jjk's user avatar
  • 285
1 vote
1 answer
236 views

How to center the footer in koma

I want a centered footer. What am I missing? % Created 2021-01-16 Sat 18:12 % Intended LaTeX compiler: pdflatex \documentclass[11pt]{scrlttr2} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
jjk's user avatar
  • 285
1 vote
2 answers
373 views

How to convert a scrlttr2 letter to scrletter?

I'm asking how to switch to scrletter, when you were using scrlttr2 before, because it has been suggested for me. I'd like to use the document class scrartcl, in case that matters. I know there is the ...
rugk's user avatar
  • 1,110
4 votes
2 answers
2k views

What is the difference between scrletter and scrlttr2?

I'm asking about scrletter vs scrlttr2 , because it has been suggested for me. I know there is the huge doc about scrguien, but I do not have time to read that and want a quick summary of the main ...
rugk's user avatar
  • 1,110
1 vote
1 answer
342 views

Use a sub-subject (here/reference) in a scrlttr2 letter?

Of course you can use \setkomavar{subject} to add a subject to a letter you have created with scrlttr2. However, many letters from official agencies or other public institutions do have another ...
rugk's user avatar
  • 1,110
5 votes
3 answers
1k views

How to use sections/headings in a scrlttr2 letter?

I use scrlttr2 as a letter template? (Together with mailmerge in case that is relevant.) How can I use sections or headings inside of a long letter to structure it? Of course, I don't want to make use ...
rugk's user avatar
  • 1,110
2 votes
3 answers
2k views

Show page number/same footer on the first page of a letter in KOMA scrlttr2?

I use the KOMA script scrlttr2 and just want to display the same text (my page numbering/number) on all pages of my letter, of course including the first one. I've found this answer and this somewhat ...
rugk's user avatar
  • 1,110
2 votes
2 answers
660 views

How can I print “page # of ##” with the total page number in KOMA (scrlttr2)?

This questions explains how you can show the total page number of your document in the footer on each page, i.e. show a “page # of ##” instead of the default “page # of #”. However, even though ...
rugk's user avatar
  • 1,110
0 votes
2 answers
157 views

Why do I have three lines on the very left of my page?

I am currently creating a cover letter (using a template) but I cannot find out why I have those three lines on the very left of my page. They seem to be aligned with something, but I cannot figure ...
zynklap's user avatar
  • 11
4 votes
2 answers
101 views

Why does the head line disappear under the logo?

I hope somebody can help me with my problem. I created a document as described in the last edition of the "KOMA-Script" book by Markus Kohm. My problem is that the line under the logo is ...
dplus's user avatar
  • 43
0 votes
0 answers
51 views

Problems with fillable PDFs

I am trying to create a writable pdf and I took a cue from here: Creating fillable PDFs and What are the miminal required environments for a KOMA-Script scrlttr2? I don't understand how to arrange ...
Antonio's user avatar
  • 543
2 votes
0 answers
335 views

Add addtional address to scrlttr2

Is there a way to add a second (maybe third?) address to the scrlttr2 address field so that it looks like the following example: My current letter looks like this: MWE: %-----------------------------...
ShitakeOishii's user avatar
0 votes
0 answers
58 views

copy in scrlttr2 causes problems

Since several days the option copy in scrlttr2, even in the MWE, causes the error ./samplefile.tex:139: Undefined control sequence. \iterate ...arker }\AtBeginShipoutOriginalShipout \box \...
Alexander Wittmann's user avatar

1
2 3 4 5