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

5
votes
2answers
767 views

Koma Script and real 13pt

I read about these several questions, how to use a font size other than 10, 11 oder 12 (see e.g. this one) using KomaScript, but somehow, that won't work for me. I use XeLaTeX to compile my document (...
4
votes
1answer
792 views

KomaScript Book: How to have Chapter Headings formatted just like text?

Might seem like an odd thing to do, but so far it's proven beyond my novice-level Latex abilities, and related posts I've looked at on this site seem a little more complicated than what I need. In ...
4
votes
1answer
613 views

\includegraphicx dynamic filename from \usekomavar

I am writing a letter with scrlttr2, which makes use of the KOMA script package. In an .lco file I have the following (which gives me a headache): \setkomavar{signature}{\includegraphics[height=\...
0
votes
1answer
846 views

problem with change of pagenumbering with twoside

I am using scrartcl with the twopage option to get a two sided document. The result is as desired. If I change the pagenumbering after the first few pages (title page, list of contents, ...) from ...
1
vote
1answer
265 views

Letter without “from address” and “to address” and no indention for letter text?

I want to write a private letter where I don't need the address fields. The letter should start with "Dear xx". I know it's a stupid question but I want to know if it is easily possible. I have made a ...
1
vote
1answer
328 views

How to obtain golden ratio for KOMA article class

I use \documentclass[11pt,captions=nooneline]{scrartcl} and I would like to know how I can achieve better margins than default. Apparently, the typerea package can help but I find the documentation ...
3
votes
2answers
272 views

Chapter headers with extending vertical rulers

I'm trying to reproduce the example below on the right margin, but have come into serious errors. \documentclass[a4paper,DIV=classic]{scrbook} \usepackage{scrpage2} \usepackage{lipsum} \...
6
votes
1answer
556 views

Headers with vertical rule with Koma-Script

I am trying to obtain the following headers with scrbook: numbers half-way into the margin, a a rule that extends up to (touches) the upper edge of the page, running heads should be within text ...
20
votes
5answers
2k 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} ...
3
votes
2answers
1k views

Koma-script header/footer change with includepdf

I'm (still) moving from regular LaTeX classes (report, article) to Koma-Script. Lots of things are just okay, but not everything. My current problem lies with PDF inclusion and header/footer change ...
4
votes
1answer
201 views

Setpartpreamble and indent

how can I enforce an indent in a \setpartpreamble enviroment? Seems like \indent ain't working and a solution with \hspace seems to me like guessing the correct length of an indent. Any idea on how ...
10
votes
1answer
155 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 ...
0
votes
0answers
399 views

Equivalent commands in Beamer Class and Koma script [closed]

What is the equivalent command of \only<1> in Koma script in LaTeX for the text to show on start and then on next click the text within \only<2>?
3
votes
2answers
1k 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
1k 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} \end{figure}...
2
votes
1answer
470 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
1k 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 \renewcommand\partname{...
3
votes
1answer
2k 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 \...
3
votes
1answer
924 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
967 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} \usepackage[...
2
votes
1answer
866 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
329 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 ...
4
votes
1answer
426 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
2k 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: \...
6
votes
2answers
419 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
373 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} \renewcommand{\partname}{...
4
votes
1answer
888 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, ...
21
votes
2answers
2k 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
296 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} \begin{...
3
votes
2answers
487 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
264 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 ...
11
votes
3answers
827 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 ...
5
votes
2answers
428 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
329 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 ...
5
votes
1answer
755 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 ...
3
votes
1answer
3k 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
174 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 ...
3
votes
1answer
765 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
241 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
341 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
36 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
577 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 ...
9
votes
2answers
4k 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 Koma-...
18
votes
1answer
17k 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
2answers
413 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 ...
13
votes
2answers
919 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
599 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 ...
4
votes
1answer
4k 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
362 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
225 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} option....