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
2answers
395 views

Page width problem in CV (Koma-script)

I am trying to compile my CV using the scrartcl document class. I am struggling a lot to reduce the margin on the right side of the page. If e.g. the university name is too long, it will follow on the ...
2
votes
1answer
420 views

tocloft, listoffigures, listof=totoc, KOMA: not in tableofcontents [closed]

This MWE illustrate the problem: \documentclass[listof=totoc]{scrreprt} %\usepackage{tocloft} \begin{document} \tableofcontents \listoffigures \chapter{test} \begin{figure} \caption{test} ...
1
vote
1answer
214 views

scrbook twoside=off but alternating headings like with twoside=on?

I use scrbook for a large document and decided to print it out one sided only. So I added twoside=off to the scrbook class options. However, that's not quite what I wanted to achieve. There is only a ...
3
votes
2answers
530 views

How to remove page number in TOC for Part entry (not page number printed in TOC pages)

I want to remove page number in TOC entry for Part (in this example 3 must be removed) \documentclass{scrbook} \usepackage{lmodern}% for sans-serif plus bold plus italic ...
3
votes
1answer
256 views

titlesec warnings

I am trying to make my own style for chapter headings using koma-script and titlesec. The document compiles fine, but some errors are generated: Package titlesec Error: Entered in horizontal mode ...
2
votes
1answer
337 views

Format ToC in KOMA-Script

I want to make the page number italic in the ToC. \documentclass{scrbook} \usepackage{blindtext} \usepackage{tocstyle} \usetocstyle{nopagecolumn} \begin{document} \tableofcontents \blinddocument ...
2
votes
1answer
362 views

'Undefined control sequence \setkomavar'

I ran into the error: 'Undefined control sequence l.12 \setkomavar{subject}{Regarding: Code 123.456}' My document preamble looks like this: \documentclass{letter} \usepackage{hyperref} ...
2
votes
1answer
443 views

Header for frontmatters using scrpage2

How to set page numbers for front matters similar to main matters. Main matters header need to have chapter title also. Not added in MWE. Front matters must have only page number as in main matters of ...
5
votes
2answers
155 views

explicitly setting the a4paper option has no effect using scrreprt?

I compile the following code: \documentclass[a4paper]{scrreprt} \usepackage{lipsum} \begin{document} \lipsum \end{document} with pdflatex. If I leave out the a4paper option and compile again, the ...
2
votes
1answer
208 views

Create a document class based on a KOMA-Script class: paper size problem

I want to create a document class based on a KOMA-Script class. First I would like change paper size, which would be defined in cls file. I see that similar problem was questioned in here, but without ...
1
vote
1answer
951 views

Change paper format for scrbook class (using package typearea)

I try to use scrbook class, and play with basic options - paper size. I know that is based on KOMA script and for these reasons I should use package typearea instead package geometry. See MNWE: ...
5
votes
2answers
252 views

Custom border for glossary and index pages

I'm preparing a technical book in Latex using KOMA script srcbook class and I would like to add a gray border ONLY to glossary and index pages. The idea is to make them easy to find when the book is ...
4
votes
2answers
194 views

TOC: part name in center with out page number

I want to put part name in center of TOC as MODULE - I with out page number. \documentclass{scrbook} \usepackage[english]{babel} \usepackage{lipsum} \usepackage{tocstyle} ...
4
votes
1answer
309 views

LaTeX letter with addresses fields are in the right place - one under another

Perhaps, this question is stupid for some users, who has more experience, but I can't find any correct option (though I re-read KOMA-Script guide section about pseudo-lengths) therefore, please, ...
16
votes
2answers
327 views

Combined List of Figures and Tables?

Is there a way to have a List of tables and figures as one list? Currently I have \listoffigures \listoftables which generates two lists and starts a new page for each list. What I want is a list ...
2
votes
1answer
174 views

Overfull box with addmargin (KOMA-Script) and SideBySideExample (fvrb-ex)

Why does the following code produce an overfull error and how can I avoid that? \documentclass{scrartcl} \usepackage{fvrb-ex} \begin{document} \begin{addmargin}[4em]{0em} ...
3
votes
2answers
193 views

hyperref changes footnotes of Koma script

I defined footnotes to insert a colon between \footnote{bla}\footnote{bla}. But when I load hyperref this is destroyed. In addition KOMA removes space at the beginning of a footnote, while hyperref ...
3
votes
1answer
152 views

scrbook: remove margin notes for index entries [closed]

I'm using the scrbook class. I don't like the way that my index entries are included as margin notes. How can I prevent the index entries from being shown in the margins? I consulted the KOMA-Script ...
8
votes
2answers
355 views

KOMA-Script scrbook: width of chapter and section number

I'm using KOMA-Script’s scrbook class and have problems with the Table of Contents. When the chapter number is too large, the chapter number is glued to the chapter heading. The chapter-section ...
4
votes
1answer
168 views

How to get headings indented as the first lines of paragraphs?

I would like the chapter and (sub)section headings to be indented as much as the first lines of paragraphs (\parindent value). By default using koma-script I get them aligned with left boundary of ...
6
votes
1answer
202 views

Strange vertical space before the caption of a longtable with KOMA-Script classes when xcolor is loaded

When using one of the main KOMA-Script classes — scrartcl, scrreprt, scrbook but not scrlttr2 —, the vertical position of the caption in a longtable environment changes when one loads or unloads the ...
4
votes
1answer
293 views

Section title in the table of contents

I have the following simple problem. The name of one of my sections is very long. Hence I decided to have a line break in its title. For the header I use a short version of this title. So it looks ...
2
votes
1answer
2k views

Change the chapter style in scrbook

Is there a way to change the chapter style in scrbook like in memoir with \chapterstyle{}?
2
votes
0answers
92 views

How to avoid page overrun using scrreprt document? [closed]

I'm in the process of writing a requirements document and have been using a template based on the scrreprt document class. The problem I'm running into is that when I compile my document, in certain ...
2
votes
1answer
220 views

How can I create a titlepage without a newpage in the scrartcl class

I would like to create my own title in the scrartcl class. Using the titlepage environment gives me a new page, but I would like to suppress this page break. How can I do this? Edit: In general a ...
2
votes
1answer
143 views

How can I have list of figure etc. labelled D. List of Figures, E. List of Tables, F. Bibliography…?

I am using KOMA class scrreport and want the following structure of my appendix: A. Abbreviations B. ... C. ... D. List of Figures E. List of Tables F. Bibliography G. Acknowledgments ...
1
vote
2answers
213 views

Problem and question tocloft

I tried to create my own "List of things" with help of this post: Define your own list of Now my questions: I don't want to use the command \algorithm {Text}. Instead I want to use a container like ...
2
votes
0answers
33 views

Meaning of floattype in KOMA [duplicate]

Friends, I've been happily using KOMA for some time now, and yesterday I was intrigued by a particular option when using \DeclareNewTOC: floattype = <number>: The numerical float type of the ...
8
votes
1answer
302 views

KOMA-Script and subcaption: wrong counting

I'm getting a to-me strange behavior when using scrartcl and subcaption. In particular, numbering is doubled for each table with the default option captions=tableheading. Here's an image (code at ...
8
votes
2answers
920 views

Koma-script scrpage2 footer height

After lots of googling and hair-tearing, I'm turning grey and old, and no wiser... EDIT : see bottom for a half-cooked solution. I switched from LaTeX plain classes (article, report, etc.) to ...
5
votes
1answer
3k views

How to put two minipages side-by-side, which use 100 % of the text width?

In draft-mode a black marker indicates that the reserved space is too low. This also appears in the following example, but it shouldn't. How can I put two minipages exactly side-by-side? ...
2
votes
1answer
161 views

Automatically shorten living column title or have a linebreak

I have a long document that has several long chapters. Each chapter has a title which can be short or long (often it is very long). I noticed that if I use \pagestyle{headings} in the scrreprt class ...
11
votes
2answers
437 views

What does \secdef do?

The definition of the chapter command in KOMA-class scrbook is: \newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi \thispagestyle{\chapterpagestyle}% \global\@topnum\z@ ...
4
votes
1answer
321 views

Reducing size of dedication

I'm writing my thesis in the LyX template that's based on Koma-Script book ("scrbook.cls"). I'm using \dedication to add a quote as the motto. Is there a way to make the font size of this text ...
1
vote
1answer
1k views

KOMA-Script: Use scrheadings on chapterpage, but only the footer (not the header)

I'm using the KOMA-Script and have page-numbers at the bottom of my document. The headline contains the chapter/section-name. By default, the chapterpagestyle is plain (or empty). So I set it to ...
1
vote
1answer
160 views

Problem with classicthesis package loaded in scrlttr2

Why the following code does not compile? How can I fix that? \documentclass{scrlttr2} \usepackage[american]{babel} \usepackage{classicthesis} \begin{document} Test \end{document}
2
votes
0answers
160 views

scrheadings and longtable alignment problems [closed]

I'm using classicthesis for my work and have a few large tables in the work. I like the option of having the chapter and section name at the top of the page so I use the \pagestyle{scrheadings} ...
5
votes
1answer
2k views

Theorem/Definition/Lemma/etc independent numbering in Lyx

I am using the Koma-script book class in Lyx. By default, theorems, definitions, lemmas, and so on, follow the same numbering. So after "Theorem 1" comes "Definition 2", then "Lemma 3", and so on, ...
2
votes
1answer
119 views

Empty page on the Part page

I'm using this on my document (scrartcl documentclass): \usepackage{etoolbox} \pretocmd{\section}{\cleardoubleevenemptypage}{}{} \pretocmd{\part}{\cleardoubleevenemptypage}{}{} This makes me get ...
4
votes
2answers
148 views

Disable hyphenation in footnotes

I want to disable hyphenation in footnotes, because I have special codes for a special program and the readers should copy this code into his program and therefore its not good, that there is a hyphen ...
4
votes
1answer
512 views

Inserting a blank left starting page in a Koma-script book

I am finishing my dissertation, and I'm using the Koma-script scrbook class. My text starts on a right page, which is exactly what I want, but for printing I need to add a completely blank, unnumbered ...
1
vote
1answer
776 views

Include Abstract & References page in ToC using tocbibind

The code below will print a table of contents that lists the Contents page, section and subsection. The contents page itself is on page ii, and the abstract should come before it, but it doesn't ...
5
votes
1answer
240 views

How to create 4-up pdfs [without pdfnup, pdfpages]?

I use a standard KOMA-script class for creating slides [slides.tex]. I am wondering if there is a LaTeX package with an option to specify how the output looks like. I would like to create a 4-up .pdf ...
8
votes
2answers
597 views

Odd vertical gap with multicol, scrreprt and parskip=half

I'm having a weird vertical gap in one of my documents, which only is there when I use multicol together with \documentclass[parskip=half]{scrreprt}. Minimal example ...
2
votes
0answers
81 views

Generating table of content (TOC) only from file.toc [closed]

I use scrbook.cls How to generate TOC from .toc file information available with me. using Pretty Table of Contents solution with memoir documentclass I want to generate TOC separately and i want to ...
4
votes
2answers
576 views

How to change part and chapter pages on KOMA-Script?

In KOMA-Script classes, how can I change the appeareance (font size, color, arrangment, content, etc.) of the page created by \part an \chapter? The pagestyle can be changed easily with KOMA-Script ...
7
votes
1answer
1k views

How to remove space between back address and address in scrlttr2?

There is a blank line between the back address and the address? How can I remove it? \documentclass{scrlttr2} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{ngerman, ae} ...
5
votes
1answer
790 views

Biblatex bibliography section changes chapter name in header

I'm putting together my thesis, using the Koma script book class and biblatex to create separate reference lists for each chapter. I'm putting the name of the chapter in the header of each left page, ...
6
votes
1answer
84 views

Why does scrheadings + tgschola triggers a font shape warning?

This code: \documentclass{scrartcl} \usepackage{tgschola} \usepackage[T1]{fontenc} \usepackage{scrpage2} \pagestyle{scrheadings} \begin{document} a \end{document} gives this warning LaTeX Font ...
7
votes
3answers
338 views

How to set the baseline for headers with scrpage2?

I want the left and the right header to have the same baseline, regardless of the height of the content they yield. To demonstrate this, assume \documentclass{scrartcl} \usepackage{scrpage2} ...