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

2
votes
1answer
70 views

Selecting font features for tabular data

I am writing my thesis using (among others) the KOMA-script and fontspec packages. I would like to select the default sans serif font (and add some font features) for my tables. I know how to do this ...
2
votes
0answers
28 views

Biblatex citations inside KOMA-script's dictum [duplicate]

I would like to use biblatex (specifically, biblatex-chicago) to cite an author inside the \dictum command of scrbook. Here's my MWE, which produces some errors. \documentclass{scrbook} ...
2
votes
1answer
101 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
0answers
85 views

Scrreprt indent after chapter heading after patchcmd

In the following example, I've added a patch to the \chapter as an attempt to fix hyperref links. (See Hyperref chapter in twocolumn mode (without using multicols).) ...
2
votes
2answers
91 views

Header should display section if no subsection available

I'm writing a document which uses scrartcl alongside with twoside and want to create a header with scrpage2. As expected the package prints the section on even pages and the subsection on odd pages. ...
1
vote
1answer
189 views

chapter no newpage and headings

I have a document (scrbook class), in which I want some chapters not to start on a new page. I therefore defined the following: %define a chapter that does not add space at the top of the page ...
1
vote
0answers
68 views

tcolorbox vs KOMAoptions: TeX capacity exceed

I tried to put a box around a definition, but got an error. The problem is, I am using a huge template, so I do not really understand most of the settings. If I add this to my file: ...
1
vote
0answers
63 views

What is the name of this page layout parameter in KOMA-Script?

The vertical offset used to position the body text on the first page of a chapter: \documentclass[chapterprefix = true]{scrbook} \usepackage{blindtext} \begin{document} \chapter{Test Chapter} ...
1
vote
1answer
61 views

Koma Script handbook says chapters can start on any page using headings=openany?

On page 87 of THE GUIDE: Koma Script [2015-1-14] under the section "Structuring of Documents" the guide lists many "options" for changing the default output of \chapter sectioning, such as ...
2
votes
0answers
45 views

Error Extra \else \include after using bibtex for each \include using chapterbib [duplicate]

Thanks first of all for the previous times that I have already found answers to my problems without having to post anything! My problems is as follows: when I compile my main file only after I have ...
4
votes
1answer
57 views

Formatting acronym in tableofcontent

I got a problem with my \tableofcontents command. At first I post a simple example: \documentclass[ 12pt, a4paper, DIV13, pdftex, BCOR10mm, smallheadings, fleqn, liststotoc, ...
2
votes
1answer
327 views

Adjusting spacing around section/subsection titles with koma-script

With the KOMA-script scrreprt class the vertical spacing before and after chapter titles can be adjusted the following way: \renewcommand*{\chapterheadstartvskip}{\vspace*{0cm}} ...
4
votes
1answer
86 views

How to print “string” of first or last \label{string}, in running headers and margins, dictionary-like, with KOMA class?

I need to typeset a book where sections are identified by a string, like "PLA 1", as dictated by the book's editor (the publisher calls these strings "cite-keys".) Sometimes there are a few sections ...
6
votes
1answer
58 views

Headline adjustment doesn't work after new installation

Half a year ago, the following code \documentclass[ fontsize=12pt, % monochrome, a4paper, parskip=half, ngerman, headinclude=true, footinclude=false, ...
6
votes
1answer
65 views

roman numbers too wide in table of contents

Consider the Code below: \documentclass[% paper=A4, twoside=true, fontsize=12pt, titlepage=true, listof=totoc, bibliography=totoc, listof=flat, open=right, ...
8
votes
1answer
223 views

What does KOMA stand for in “KOMA-Script”? [closed]

I could not find any hints to the acronym KOMA - maybe someone knows and can post his opinion. It evolved from a bundle called "Script" - being the reason KOMA-Script classes start with "scr" ...
3
votes
1answer
94 views

Setting custom paper size with KOMA Script / pdflatex

I try to set a document with some custom paper dimensions (lets say 24cm height and 17cm width), the beginning of the file looks like so: ...
3
votes
1answer
76 views

Inline subsubsection heading with KOMA

I want inline subsubsection headings, as displayed in the example below. It is easy to realize them with the titlesec package, but according to this thread, there are incompatibilities between KOMA ...
5
votes
2answers
254 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 ...
4
votes
1answer
64 views

How to avoid pagenumering with text in scrlttr2

Have a Letter in scrlttr2. I cannot avoid/exclude the text before the page number 'Seite' (see print-screen). The official documentation recommends to add \pagenumbering{arabic}. But for my document, ...
5
votes
2answers
170 views

Section title with runin and KOMA class?

I would like to have section titles with runin so that there is no newline after the section title. This can be done with \documentclass{article} \usepackage{titlesec} ...
4
votes
2answers
189 views

Too high footer on (custom) title page in scrartcl

I wanna have custom title page in my document created with scrartcl class. I'm using titlepage environment (which I believe sets thispagestyle=empty). Still I have rather high footer: just as in ...
7
votes
2answers
253 views

fontenc changes sans serif bold font in KOMA-script

Consider the following MWE: \documentclass{article} %\usepackage[T1]{fontenc} \begin{document} \textbf{\textsf{Some text}} \end{document} The output of the above code is and doesn't change ...
10
votes
3answers
3k 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 ...
1
vote
1answer
57 views

koma-classes: DIV for 14.0pt and used papersize not defined

Whan using KOMA-script article class with 14pt I got following warning: /usr/share/texlive/texmf-dist/tex/latex/koma-script/typearea.sty: Package typearea Warning: DIV for 14.0pt and used papersize ...
8
votes
2answers
208 views

Extending figures into the margin on even vs. odd pages

I am using KOMA script for my document. Occasionally, I have a float that is wider than text width, and I want the float to be pushed into the outer margin. This is why I defined \widefloat command, ...
4
votes
1answer
156 views

KOMAoptions{headsepline = true, footsepline = true} change geometry settings

I am using tex(-based techniques) for the first time. Currently I am writing my doctoral thesis via pdflatex and encounter an annoying problem: My university predetermines very strict page geometry ...
4
votes
1answer
227 views

Customize KOMA section headings without titlesec

A quick question: Is it possible to change the name of a part/chapter/section with some sort of command? For example, I have a chapter called "Important Things". I created this chapter with the ...
4
votes
1answer
80 views

Writing neat equation parameter definitions with \singlespacing vs \doublespacing text

This question is based off the answer for the How to write a perfect equation parameters description? question: I would like to have the parameters defined using \singlespacing as I am currently ...
0
votes
0answers
164 views

How can I draw complex borders around all the pages of a document?

I'm writing a document with the class scrreprt. I would like to draw borders around the pages of the document. I found some examples on how to do this with TikZ, but the borders I would like to draw ...
0
votes
1answer
74 views

Writing equations with neatly defined parameters [duplicate]

I have been dealing with a multitude of equations in my thesis and it gets really repetitive defining each parameter verbally after each equation; personally I find it inefficient and at times messy. ...
5
votes
1answer
42 views

hyperref link expanded by MakeUpperCase breaks

Short version: How can I solve the problem of using hyperref links when expanded by MakeUpperCase? Long version: If I try to redefine: \renewcommand{\descriptionlabel}[1]{\hspace*{\labelsep}% ...
5
votes
1answer
71 views

KOMA-script titlepage misaligned author

I'd like to set the titlepage of a koma-script scrbook left-aligned, i.e. \raggedright. I do this using \addtokomafont as follows: \documentclass[]{scrbook} \addtokomafont{title}{\raggedright} ...
2
votes
3answers
209 views

Formatting header and page numbering

I'd like you to help me with something rather simple: I want to remove the numbering on the first page of my document but not the header. The header must be always the same, now in the second page ...
4
votes
1answer
59 views

Boolean option in style file does not work

a while ago, I learned on StackExchange that I could create a style file to contain my preamble and, in particular, to include Boolean switches so as to select certain parts of the preamble as needed. ...
4
votes
1answer
49 views

parskip=half option ignored after captionof

Using minted, I'm typesetting listings that are longer than one page. However, using the listing environment that comes with minted does not work, because it does not break at the and of a page. I ...
35
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 ...
2
votes
1answer
52 views

“Label multiply defined” when using ifthispageodd in includeonly

I am using several \included files and within them several instances of KOMAs \ifthispageodd mechanism like in the following MWE: \documentclass{scrbook} \begin{filecontents}{fileA.tex} ...
1
vote
2answers
155 views

i want the header line to reach over both the text and the marginnotes

I'm making a document with document class scrreprt, and used this to get the page numbering on the top of the pages, and a line on the top of the page \documentclass[11pt, twoside=semi, ...
5
votes
1answer
135 views

KOMA script and amsthm: Space lost before and after theorems

I am having a problem similar to this and this, but without using parskip, and only after a recent package update. The MWE \documentclass{scrartcl} \usepackage{amsmath,amsthm} \theoremstyle{plain} ...
7
votes
1answer
5k views

Add frommobilephone to scrlttr2

I would like in my document to have fromphone and frommobilephone, but \KOMAoptions doesnt support frommobilephone... as i searched in the Internet for solution, i found a lco file from Dr. Michael ...
6
votes
2answers
196 views

Package hyperref destroy \leftmark and \rightmark with KOMA

I noticed, when I use \usepackage{hyperref} the left and right marks are destroyed. One can verify this by uncommenting hyperref in MWE below. Without hyperref With hyperref ...
14
votes
4answers
4k 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 ...
2
votes
2answers
94 views

How to remove period after part number in TOC (KOMA used)

How to remove period after part number in TOC (KOMA used)? My solution was to set tocloft package, which is provide command \cftpartaftersnum but I do not want to use it for some compatibility ...
4
votes
2answers
488 views

How can i change the fontsize with KOMA-script?

I need to change the fontsize to 11pt inside a table environment. The default setting of the document is 12pt using scrartcl, but I need to change this to exact 11pt in the float (the reason is that ...
3
votes
1answer
94 views

LuaLaTex/XeLaTex with KOMA for Cyrillics

How can I use LuaLatex/XeLaTex with KOMA-script for Cyrillics? When I try to write: \documentclass[twoside]{scrartcl} \usepackage{polyglossia} \newfontfamily\cyrillicfont{CMU Serif} ...
4
votes
1answer
109 views

Chapters without dots in ToC

I've used this code \addtocontents{toc}{\cftpagenumbersoff{chapter}} to remove the dots and page numbers after the entries in my ToC for all chapters. Is there a way to do this just for an ...
3
votes
1answer
76 views

Wrong indentation with hanging captions

I use simple hanging captions for my tableheadings and figures. However, they are not aligned correctly. I know I can manipulate the indent manually, but I want to understand why they are placed ...
5
votes
1answer
197 views

KOMA and float package - alternative to float [H] placement

I am preparing a thesis template (for the blog here http://tex.blogoverflow.com/) and I use a KOMA class together with the float package. I get the nasty warning which is already described and solved ...
3
votes
1answer
152 views

A0 (landscape) sheet inside A4 paper

Well I "can" do this using the koma options.. However it results in a warning and the effect isn't completelly what I like it to be. First the way I do it is: \clearpage ...