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

75
votes
1answer
23k views

Regarding the `book`, `report`, and `article` document classes: what are the main differences?

What are the main differences between the book, report, and article document classes? I am interested in the following: visual differences in the final document; differences in the way the ...
72
votes
5answers
8k 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.
40
votes
7answers
6k views

Why should I *not* use the KOMA-Script classes?

I've heard a lot of recommendations to use the KOMA-Script document classes in place of the base document classes. I appreciate that there is a lot of added functionality, and customisation is easier. ...
36
votes
3answers
10k views

Most useful additions in KOMA-Script?

(Background: I'm a beginner who will mostly use LaTeX for university articles and reports, but no math. Also, as I reside in Canada, the German typography conventions, which I understand KOMA-Script ...
28
votes
3answers
2k views

Nicely force 66 characters per line

I would like to have "something" (a package, a trick, a macro, ...?) that makes it possible for me to nicely play with the margins (or the layout) in order to set the average or typical number of ...
26
votes
3answers
6k views

Contents in PDF bookmarks

I am using KOMA-Script (scrreprt) and hyperref. The PDF bookmarks are generated nicely from the table of contents, but I would like an extra Contents bookmark to point to the table of contents itself ...
23
votes
7answers
2k views

Document class for designing a book

Introduction I've been using LaTeX for 15 years, but one year ago I started to write for the first time in my life a real book for students. So I followed usual widespread conviction: concentrate on ...
23
votes
2answers
2k views

Incompatibilities between KOMA-Script and titlesec

This is a complementary question to About memoir and titlesec incompatibility. The titlesec manual states (p. 2) that the package [...] works with the standard classes and with many others, ...
20
votes
4answers
450 views

Using KOMA-Script packages with other classes

When speaking of KOMA-Script most people will refer to its classes scrbook, scrreprt, scrartcl and perhaps scrlttr2. But not everyone will know, that part of the bundle are also some packages, that ...
20
votes
1answer
3k views

KOMA warning about ToC

Lately I've noticed the following warning from KOMA when I compile my documents: Class scrreprt Warning: \float@addtolists detected! (scrreprt) You should use the features of package ...
20
votes
1answer
1k views

What packages are incompatible with KOMA-Script?

Triggered by the question why should I not use the koma script classes results practically necessarily a consequence question: What packages are incompatible with KOMA-Script? KOMA-Script offers ...
19
votes
2answers
3k views

How to customize headers and footers?

I'd like to modify the contents of my headers and footers - e.g., to display the current chapter and/or section title or to change the pagination alignment. How can I do that? I've noticed the ...
19
votes
1answer
3k views

Overview of Margins in KOMA Script/TypeArea

I am looking for some dimensions associated to page layout using the KOMA Script classes. However, I find it very difficult to find the individual commands. Does there exist something like such an ...
19
votes
3answers
5k views

How do I make pages which were “intentionally left blank”?

I have a scrbook document with an openright option, i.e. every once in a while a blank left page appears in the document. Not that I really want to do this, but how could I include the infamous "This ...
19
votes
5answers
1k views

Different margin on first page

To meet the conditions of our corporate design I need other margins on the first page of each document. The normal page layout is given by \usepackage[left=3cm,right=2cm,bottom=3cm,top=2cm]{geometry} ...
18
votes
1answer
840 views

Different vertical spacing (parskip) between concurrent section titles and paragraphs

I'm trying to remove the spacing between section headings, but maintain the paragraph to section heading spacing. Even though I set titlespacing before and after to *0, there is still spacing - quite ...
17
votes
2answers
357 views

Load package after other package with \AfterPackage

I want to group packages together (in the real document, I load many more packages) and want to solve the sorting of the packages with commands like \AfterPackage from KOMA-Script. I am using this ...
17
votes
2answers
199 views

Why doesn't parskip=half work together with fontenc in bibliographies?

If \usepackage[T1]{fontenc} is used and parskip=half is set: Else (either \usepackage[T1]{fontenc} isn't used or parskip=half isn't set): I consider the second one the correct style. Why is ...
16
votes
2answers
344 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 ...
15
votes
3answers
9k views

Distance between chapter title and text

In my scrreprt I've changed distance between paragraphs with \setlength{\parskip}{9pt}. But \parskip changes also distance between chapter title and the paragraph. How can I change distance between ...
14
votes
3answers
9k views

Full page image as title page

Background Wrote a technical manual in LyX. The technical manual currently has two parts: Cover image (PDF) Manual text (PDF) Problem When merging the two PDF files (with GhostScript or other ...
13
votes
3answers
733 views

Which package is best/easiest for a TeX newbie to lay out a book for print?

This question may be a little general and is subjective, but I am asking because I am not sure where my (limited) time should be invested for the problem I have to solve (I'll detail that in a ...
13
votes
1answer
1k views

How can I set the vertical margin of my chapter headings?

I currently don't like the typesetting of a document. In my two sided document, I want that the chapter headings not have a vertical space before their appearance. The text on the second page should ...
12
votes
1answer
2k views

Section title gradient

Background Writing a manual using KOMA Script. The default fonts are perfect and should not be changed. Problem KOMA Script produces the following section outline: The desired outline looks ...
12
votes
1answer
2k views

Headers and page numbers in external borders

I am trying to recreate in *TeX the same aspect that you can see in the following picture showing a document that I created a while ago with MS Publisher. As you can see, page numbers are rendered ...
12
votes
2answers
4k views

How to avoid empty space at the end of a page when using scrlttr2?

I use this class definition in the preamble for typesetting letters: \documentclass[12pt,ngerman,foldmarks=true,fromalign=right,fromrule=afteraddress, parskip=half, pagenumber=no,DIV=15]{scrlttr2} ...
12
votes
1answer
3k views

scrartcl: Remove page number on title page

I'm writing the abstract for my bachelor thesis. Therefore I use LaTeX. Now I have the structure of my document, but it always prints me a page number on the page. It is only one page and instead of ...
12
votes
2answers
20k views

Where to put the acknowledgements in a thesis document?

Basically there are three possibilities: add just a 'Acknowledgement' section as last section of you introduction chapter put it at the end - between the last appendix and the bibliography put it ...
11
votes
2answers
4k views

How do I set the margins in a KOMA-Script class?

I am writing my resume (using the currvita package) within a scrartcl document class from KOMA-Script. How do I set the margins? I think the text width is a bit too narrow for me.
11
votes
2answers
3k views

KOMA-Script: change font of sectioning headings to serif

How to change the default KOMA-Script font that is used for chapter/section headings etc. to the Computer Modern font that is used in text body?
11
votes
2answers
469 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@ ...
11
votes
1answer
1k views

Which one is it: a4paper or paper=a4?

I'm using XeLaTeX mostly, and I never know what to put into \documentclass[]{}. Usually I use something like \documentclass[a4paper, 11pt]{scrartcl}. But I never know whether it's a4paper or paper=a4. ...
11
votes
1answer
4k views

Customize spacing between section number and its caption?

is there any chance to customize the spacing between the (sub)section number and its title in every appearance in the document? That is, in any header or footer as well as in the table of contents and ...
11
votes
2answers
2k views

setkomafont with uppercase that works robustly

I know that \setkomafont is supposed to deal with switching fonts but sometimes instead of switching font, I'd like to switch to uppercase. I've not found a way to do this reliably. This breaks: ...
11
votes
2answers
1k views

Rhythm: different values for parskip and baselineskip in scrartcl

I am writing some small demo files, each trying to implement a specific advice from Bringhurst's Elements of Typograhpic Style. He recommends to keep the vertical rhythm of the page, and to return to ...
10
votes
4answers
2k views

Lowercase small caps in section/subsection/…

I'm interested in setting the titles of section and more in lowercase small caps. And I don't know how to automatically achieve this. \documentclass{scrartcl} \setkomafont{sectioning}{\scshape} ...
10
votes
3answers
3k views

Remove margins for title page

The scrbook class calculates margins automatically. For the title page of a book, I would like no margins at all, so that the text would be centered properly. How can I disable all margins for the ...
10
votes
3answers
4k 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 ...
10
votes
1answer
448 views

Why is parskip=half messing up the spacing in mdframed?

without parskip: parskip=half: \documentclass[parskip=half]{scrartcl} \usepackage{blindtext} \usepackage{amsmath} \usepackage{amsthm} \usepackage{thmtools} ...
10
votes
3answers
3k views

Change the title size in scrartcl

I'd like to use a smaller title. I'm using the scrartcl documentclass from the KOMA-Script bundle. I can change it's color font but not it's size. \setkomafont{title}{\normalfont\bfseries\small} ...
10
votes
3answers
858 views

Making one margin bigger to allow margin notes in KOMA script

I want to add margin notes using KOMA script's \marginline. I don't want to get into the tricky business of manually setting a lot of typearea lengths myself, I just want to make the outside margin a ...
10
votes
1answer
314 views

DIV and BCOR setting in KOMA (best practices)

I have been playing around and I now realize it is possible to set the type area using a KOMA class by a couple of ways, and I'll like to know which is the correct one. \documentclass[% a4paper, ...
10
votes
2answers
796 views

Customizing Chapter style in scrbook

I want to obtain styles like those showed in the next two images (I do not need the picture in the background (parabolas)): My original LaTeX code (to be customized but should keep font as they ...
9
votes
4answers
7k views

How to include abstract into titlepage?

I don't want to have the abstract on a separate page but rather under the title. Also I then want to end the page and don't begin with the actual document. This is my minimal example: ...
9
votes
1answer
1k views

Why does setting the paper size with KOMA-Script require TikZ?

Maybe I am just too tired, but I simply can't explain what is going on. The file \documentclass[a5paper]{scrbook} \usepackage{lipsum} \begin{document} \lipsum \end{document} produces A4 sized ...
9
votes
2answers
2k views

How to put both chapter and section name in the header of the page?

I'm working on a one-sided LaTeX document with document class scrreprt and I'm using scrpage2 to customize headers and footers of the pages. At the moment, the respective chapter name is shown in the ...
9
votes
2answers
1k views

Declaring layers causes tikzpicture to disappear

I'm using a picture environment to \put some tikzpictures at places within the page from within \setkomavar{firsthead}. When I declare some pgf layers like so: \pgfdeclarelayer{background} ...
9
votes
2answers
2k views

Remove dot-after-number in figure captions while keeping the dot in chapter/section captions

In my document (using KOMAScript and babel[ngerman]) I have various figures which get captions like "Abbildung 1: ...". However, as soon as I add a \appendix to the document all those captions change ...
9
votes
1answer
4k views

Increasing paragraph indentation in KOMA script

The default parindent in KOMA scrartcl is too small for me. I remember reading somewhere that just changing \parindent directly is not wise, since it also affects other things (like itemize etc). And ...
9
votes
1answer
113 views

What is the cleanest way to call a command on each new chapter?

I'm using KOMA-Script and a mix of \chapter and \addchap commands. I would like to have \glsresetall called for every chapter as I want my acronyms redefined once per chapter. What is the cleanest ...