KOMA-Script is a bundle of classes and packages replacing the LaTeX standard classes and providing additional features with emphasis on typography and versatility.

learn more… | top users | synonyms

1
vote
1answer
39 views

Why am I getting “\dictumrule undefined.” or “Undefined control sequence. \dictumrule” error?

I realize this is a bit specific, but this is the only KOMA-Script command that has consistently produced an error, and it's driving me nuts because I can't find a solution anywhere (and I'm usually ...
3
votes
1answer
57 views

Same \chapterformat for \chapter and \chapter* without titlesec

I've done some styling for my chapter titles, based upon tikz and the titlesec package. Unfortunately, the KOMA-Script packages gives me numerous warnings about titlesec. In order to get rid of the ...
2
votes
1answer
48 views

Problems with scrlayer-scrpage

after getting the constant warning I shouldn't use fancyhdr with KOMA I decided to switch to scrlayer-scrpage. Unfortunately I can't get it to work despite of reading through the documentation. This ...
4
votes
1answer
54 views

scrlayer-scrpage: different styles for different pages

thanks to this site I was able to get a functional implementation of scrlayer-scrpage. \documentclass[12pt,headsepline,footsepline,plainfootsepline,plainheadsepline]{scrreprt} ...
1
vote
1answer
70 views

How to tell LaTeX/Koma-Script about preamble of book?

Example code: \documentclass[paper=a5,titlepage=firstiscover]{scrbook} \title{Nunc rutrum turpis} \begin{document} \maketitle \cleardoublepage \thispagestyle{empty} % preamble: Lorem ipsum dolor ...
1
vote
1answer
49 views

change vertical position of footer in scrlttr2 from KOMA

I have a document that uses KOMA script. It is a scrlttr2. I want to set a footer, which I did with \setkomavar{firstfoot}{ bla bla bla } Now the bla bla is a little bit longer, too long for the ...
11
votes
4answers
5k views

Two-sided document: reverse page margins for hardcopy

Background Wrote a manual in LyX. The PDF is two-sided. Using KOMA Script v2. The pages are 8.5" x 11". Problem The spacing on the margins is not printer-friendly, it is reversed: Since this ...
0
votes
1answer
45 views

Color Underline Section Headings

I would like to underline section headings using different colors (e.g. red for section, yellow for subsection). So far I have only achieved to change the text color of the headings (see code), but I ...
1
vote
1answer
95 views

Using TikZ breaks foot margin

I have got some unexpected Problem using TikZ in LaTeX. When I add TikZ via \usepackage{tikz}, the foot margin is doubled. Any ideas in how to solve this? Or where the Problem is? Minimal Examples: ...
1
vote
1answer
43 views

scrbook - How to place chapter to the left edge and section to the right edge on single-sided (!) documents?

Let's create a single-sided (!) document made in scrbook-class (e.g. scientific work) by setting \documentclass[twoside=false]{scrbook}. Working minimum-example: ...
1
vote
1answer
76 views

Crop A4 to specific paper size

I want to send a document to a publisher. The publisher prints books with the dimensions of the pages being 16.5cm x 23.5cm. Thus I am now layouting the final document with the help of the crop ...
6
votes
1answer
63 views

Newline after Section number / before Section title in KOMA Script

i have to adhere to a style guide which dictates newline after a chapter/section/etc number, i.e. instead of the usual 1.2 Heading its supposed to be 1.2 Heading This has to work for both the ...
1
vote
1answer
129 views

scrlttr2 documentclass options

I'm "getting angry" with the documentation of scrlttr2 class. I would see all the option I can include in that class. I have the manual of koma-script, but I can't find that doc. Can someone help me? ...
7
votes
1answer
218 views

Why is babel loaded automatically in my document?

I’m currently writing my thesis in LaTeX, using the scrreprt class and xetex for better language support. With xetex, I’m supposed to use polyglossia instead of babel. I did not load the babel package ...
4
votes
2answers
787 views

Left Justifying the Date with Scrlttr2

I would like to left justify the date in the KOMA-Script scrlttr2 class so that it aligns with the left margin of the body. I have no other data in the refline. This question helped me to get my ...
4
votes
2answers
163 views

logo made with tikz is bigger in scrlttr2 as in scrartcl

This is my first question here. From time to time I'm using LaTex to create some documents. Usually I'm able to get an answer from Google if I run into any obstacles. Now I'm unable to find any ...
5
votes
1answer
29 views

Overfull \hbox with komascript and \newlength in texlive 2015

The following mwe \documentclass{scrartcl} \usepackage[demo]{graphicx} \newlength{\testlength} \setlength{\testlength}{.75\linewidth} \begin{document} \includegraphics[width=\testlength]{demo} ...
1
vote
2answers
74 views

scrbook - How to add one horizontal line above and one below the chapter-entry without (!) using titlesec?

I want to add one horizontal line above and one below the chapter-entry as well. Before using the scrbook-class, I used this simple solution made by titlesec-package: \newpagestyle{headrules}{ ...
5
votes
1answer
66 views

scrbook - Three extremely simple questions about adjustment and font-styling

I have some (probably) really simple questions about a few adjustments in a scrbook-documents. Let's take the following minimum-example as the basis for my questions. Working minimum-example: ...
1
vote
3answers
66 views

How to unstyle styled macro in headings?

I have a macro that occurs very frequently in the text. At one occasion, it occurs inside a heading, which causes some problems: \documentclass{scrartcl} ...
1
vote
1answer
50 views

Option parskip reduces section width

Source: \documentclass{scrbook} \usepackage{titlesec} \titleformat{name=\section,numberless}[block]{}{}{0pt}{} \begin{document} \section*{Foo \hfill 1 January 1970} Lorem ipsum dolor sit amet, ...
1
vote
2answers
111 views

Tweakes to invoice

I need help fine tuning this document. I basically need three things: Get rid of the duplicate company information on top of "Client" Be able to stamp today's date automatically. I tried using ...
1
vote
2answers
839 views

scrbook page numbers margin problem

I was looking for the setting to adjust the vertical margin of the page numbers in the scrbook class but haven't found anything. I want to have them "nearer" to the page margin. ...
5
votes
2answers
337 views

scrpage2: Three “marks” for headings

As far as I know of the \automark command (scrpage2 package), it is only possible to mark two different "header-types" (e.g. sections and chapters). I'm searching for a way to mark an additional ...
0
votes
0answers
60 views

Strange Error after upgrading to MacTeX 2015

After the Upgrade to TeXLive 2015 the document of mine produces a strange pdf output. If you compile the given TeX file as it is, you see that the background grid on the first page is shifted. Now ...
2
votes
1answer
56 views

page margin for pages with chapter are wrong

I am having trouble with the marging of my thesis. I am using a template which worked perfectly for a previous paper some 2 years ago but now when I create a pdf the margin on pages containing a ...
6
votes
2answers
164 views

Section numbers colored

I want to color the section and subsection numbers in my document. I tried the solution here http://tex.stackexchange.com/a/193186/80972 but it doesn't work for me. Here's an example using that ...
3
votes
1answer
44 views

Inexplicable error after importing syntax package

I'm using the LaTeX-KOMA-template (based on KOMA-script as the name suggests) provided by Karl Voit for writing a thesis. I can compile the main.tex perfectly fine, until I import the syntax package. ...
0
votes
0answers
78 views

How to make a header show a continuing section's title?

Goal: I want the reader to know which section he is in, even if a section was page-wrapped. I've been using \renewcommand{\sectionmark}[1]{\markright{#1}} previously and then \fancyhead[C]{\sffamily ...
3
votes
1answer
60 views

How do I remove keyval options from a template class?

I want to create a template class based on scrreprt.cls but with fewer options. Specifically, I need to restrict the font size to 11pt or 12pt (while still passing other options on to scrreprt.cls in ...
2
votes
1answer
89 views

fromphone, fromemail and fromurl

I am using koma-script scrlttr2 to write a letter. \documentclass[12pt,foldmarks=true,foldmarks=blmtP, fromalign=right,fromrule=aftername, fromphone,fromemail,fromurl,subject=centered, parskip=full, ...
0
votes
0answers
28 views

Weird first page with cryptic content [duplicate]

TeXworks 0.4.5 r.1280 (MiKTeX 2.9) portable typesetting with pdfLaTeX Hi all, I have a weird problem with my latex document. Everything was fine so far until today a new page appears before my ...
3
votes
2answers
89 views

How to force KOMA-Script use headers/footers as standard classes?

It is known that KOMA-Script has more flexibility than standard classes. One example is the ability to use any font size (e.g., 11.5pt). One problem appears though, which is headers and footers ...
4
votes
3answers
3k views

Change \headheight for a \pagestyle

I have a document class that auto generates header from some user input. The problem is the first page should have a different page header than the others and the headline can be multi line. So ...
1
vote
1answer
108 views

get matlab-prettifier to work in pdflatex

in the min example below, I cannot get the file to compile as it complains that I must change my typesetting engine to xelatex or lualatex instead of plain latex or pdflatex. In my original program, ...
6
votes
1answer
76 views

Typesetting lots of short footnotes

For a given book, I want to typeset lots of short footnotes on a page. The result is not looking very great. Here is the basic rendering, using scrbook with standard footnotes: Using ...
0
votes
2answers
26 views

Swap “Part” and corresponding number

I am trying to figure out how I can swap the word "Part" and the part's number in my document. The default style for \part{mypartname} is something like: Part I: mypartname However, I want it to be ...
3
votes
1answer
154 views

How to add company name to return/back address in scrlttr2?

I have taken the simple example from the KOMA script guide from page 166-167 (pdf). I now wish to introduce a company name in the line before (or after) my name. I would naively do so by changing ...
4
votes
4answers
882 views

Spider Graph Legend and Caption

I would like to add: legend (Red, blue and Green) and figure caption (with legend) for my Keviat plot. The code of my keviat is listed below. Thank you \documentclass[]{scrartcl} ...
0
votes
1answer
58 views

Latex Error: Something's wrong--perhaps a missing \item for labeling environment

\begin{labeling} \item[ Frequency range: \SI{200}{\mega\hertz} to \SI{1000} {\mega\hertz} in steps of \SI{1}{\mega\hertz}] \item[ Stirrer positions: 36 ] ...
2
votes
1answer
179 views

scrartcl margins, font size and more

I'm asked to do a project in A4 format, 12 pt and with margins of 2.5 cm each. I usually work with scrartcl with default settings I don't how to start ( specially with the margins) Moreover, I want ...
1
vote
1answer
252 views

Include logo in title page with KOMA-script

I would like to ask if there is an easy way how to include some graphics (logo) on the title page (I'm using scrreprt class from KOMA-script). Until now I've done it like this: \title { \normalfont ...
2
votes
1answer
84 views

Komascript - resetting geometry inside the document

In Indenting text after numbered paragraphs I was given excellent advice on how to indent numbered paragraphs in Komascript, \newcommand\secnumindent{1.5cm} .. command for the section itself ...
5
votes
2answers
173 views

Indenting text after numbered paragraphs

I have a 60 page document with numbered Sections, subsections and paragraphs. All the paragraphs are numbered. I want all the text to be indented evenly after the numbered paras, such as the following ...
2
votes
1answer
84 views

Left align location using Koma script

Is it possible to left align the place variable using the Koma script Latex class? I am using scrlttr2 for letter creation. I managed to make the date left aligned using ...
3
votes
1answer
47 views

scrlttr2 - how to add the fromrule into custom-made firsthead?

Starting point should be this simple minimum example with the fromrule below the senders name and the senders personal data aligned to the right hand side: \documentclass{scrlttr2} \KOMAoptions { ...
6
votes
2answers
246 views

KOMA-Script: How to style the title of a chapter

How does one apply a custom styling to the chaptertitle in KOMA-Script? I know about the existence of the titlesec package but I've read that it doesn't play very well with KOMA-Script which outputs a ...
1
vote
1answer
84 views

How to adjust line spacing in wrapped chapter lines with KOMA-script?

I'm using scrbook. Some chapter titles are long and wrap, some of those even twice. When it goes on the third line, the spacing is different than that between the first and second lines. Looks ...
3
votes
2answers
60 views

Remove header from the page after TOC and LOF

I am using Koma-script book document class, twosides, and I also use the package \fancyhdr to modify my pages. The problem is that header appears both in the next page after TOC and after LOF, so I ...
1
vote
0answers
107 views

Installing scrlttr2 – Koma-Script ‘letter’ class in LYX

I am having problem with installation of scrlttr2 – Koma-Script ‘letter’ class. I am unable to install it. I needed help on how to install it. I am using Windows Machine,my Miktex is located in the ...