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
703 views

Removing page footer and changing the page header in KOMA-SCRIPT chapters?

My chapters are using scrheadings, as well my entire document. How can I remove the footer, only in chapter pages, and produce a different header?
1
vote
1answer
74 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 ...
2
votes
1answer
43 views

How to get rid of extra indentation before table in \extratile of class scrreprt?

If I use the following scrreprt document, the initial tabularx table is aligned with the left boundary of the text area: \documentclass[draft=true]{scrreprt} \usepackage{tabularx} ...
3
votes
1answer
202 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
260 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
455 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} ...
12
votes
4answers
6k 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
123 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
120 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
158 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
163 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
115 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 ...
7
votes
1answer
279 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
895 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
182 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
48 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
3answers
75 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
63 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
129 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
921 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
404 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 ...
2
votes
1answer
77 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
244 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
75 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. ...
3
votes
1answer
79 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
154 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
29 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
215 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
177 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
98 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
28 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
351 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 ...
5
votes
3answers
1k 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
141 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 ] ...
4
votes
1answer
1k 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 ...
2
votes
1answer
372 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
150 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
249 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
178 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
171 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 { ...
1
vote
1answer
151 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
145 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
232 views

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

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 ...
3
votes
3answers
2k views

Create caption without float *and* without caption package?

In the appendix of my thesis, there is a large number of tables and longtables which does not need to float, as they shall appear one after the other just how they fit on the pages (and it is no ...
90
votes
5answers
12k views

What are the strengths and weaknesses of KOMA-Script and memoir?

To make a professional book layout, many people suggest to use either KOMA-Script or memoir. Let me know the strengths and weaknesses of each please.
3
votes
2answers
349 views

How to use special charakters like ° in heading of a letter

How to set an address with an ° (degree sign) on scrlttr2? Let's have this minimal example: \documentclass[fontsize=10pt,paper=a4,DIN]{scrlttr2} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
6
votes
2answers
927 views

BCOR not part of paper dimensions

First of all: This is my first attempt using to the KOMA-classes. It seems to me that the binding correction is not taken into account in what I am trying right now. If I understand typearea right, ...
2
votes
1answer
178 views

BCOR not used inside scrreprt

I am trying to set the BCOR for my bachelor thesis. My preamble looks like this \documentclass[fontsize=12pt,a4paper,oneside, listof=totoc, % Tabellen- und Abbildungsverzeichnis ...
4
votes
1answer
113 views

Unused global option in KOMAscript wrapper class

I want to write several classes, most of them will use KOMA classes as base class. However I stumbled upon the problem that some options (mainly concerned with layout) are not processed if given in ...