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
47 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
205 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
137 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
171 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
71 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
146 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
66 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
38 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
57 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
176 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 ...
3
votes
2answers
102 views

Add texte before headings numbers (KOMA)

I'm using the KOMA class scrbook, and trying to add some text before any section and subsection title. Like that : \section{Hello !} must display Section 1 : Hello ! (1 is the normal counter). The ...
4
votes
1answer
57 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
45 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
51 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
127 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
2answers
136 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 ...
5
votes
1answer
130 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
174 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
91 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 ...
3
votes
2answers
443 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
76 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
99 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
64 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
187 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
137 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 ...
2
votes
0answers
73 views

Underfull \hbox with \printindex and scrlayer-scrpage

While using scrlayer-scrpage in order to format my header for the KOMA-script class scrartcl, I am getting following warning in combination with \printindex: Underfull \hbox (badness 10000) has ...
21
votes
5answers
766 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 ...
4
votes
2answers
47 views

Subfig subcaption labels have wrong spacing with KOMAScript and colored labels

I observe a problem with the labels of subcaptions generated by the subfig package. The distance between label and caption is wrong, but only if I change the color with \addtokomafont and if the color ...
0
votes
2answers
79 views

Use komavar outside scrlttr2

I'm deriving my own class from scrartcl but wan to introduce variables as in scrlttr2 for the user of the class to set several values. I find the \setkomavar resp. \usekomavar mechanism with key, ...
1
vote
1answer
288 views

nextfoot in scrlttr2

I do not understand some of the features the nextfoot variable has in the scrlttr2 KOMA-script class. \documentclass[]{scrlttr2} \pagestyle{headings} \usepackage{fontspec} \setmainfont{Linux ...
1
vote
1answer
149 views

Hanging indent of citations in footnotes using koma-script

I'm writing a thesis using Lyx, the Koma-script bookclass and jurabib. I'm trying to format the footnotes/citations so that the citations are not indented in The trival example below (edit to remove ...
2
votes
1answer
114 views

Combine europecv document class with KOMA-script letter scrlttr2

I use the document class europecv to write my CV. I want to add a letter before the actual CV, most preferable with the scrlttr2 KOMA-script document class. Is there a way to load the KOMA-script ...
3
votes
0answers
51 views

KOMA + bigfoot + lineno seem to produce vertical gaps in some cases

in a lengthy critical edition, I am using KOMA-Script, bigfoot and lineno. In certain cases, all involving footnotes, there are vertical gaps on the page containing the footnotes. This affects roughly ...
3
votes
1answer
153 views

scrlttr2 Change vertical space between sender address and email/phone

Is it possible to control the vertical space between different elements in the sender-block of scrlttr2, i.e. increase the space between the address (street + town) and the following elements ...
4
votes
2answers
109 views

How to fit a large text on one page using scrlttr2?

EDIT: During the comments I noted that I should not try to change the top margin manually to keep the DIN - therefore my question is now only how can I reduce font size without changing the right and ...
3
votes
1answer
103 views

Width of image = headwidth when head is textwithmarginpar

Using scrbook and scrpage2 with a headwith of textwithmarginpar, I am trying to set individual images in the textbody to this wider headwidth. \hoffset is 0pt. Adding up \textwidth, \marginparwidth ...
7
votes
1answer
116 views

Add vertical spacing into list of figures for each section (scrartcl)

I have found several posts and questions from people wanting to remove the vertical spacing automatically added to the list of figures, but my problem is (exactly) the opposite: I'm using the ...
2
votes
1answer
93 views

Print List of tables on same page as table of contents (scrreprt)

Since my toc is one and a half pages long and my lof/lot only contains four items, I would like to print the lot/lof on the same page as the table of contents. A M(n)WE looks like ...
2
votes
1answer
43 views

! Paragraph ended before \\DeclareNewLayer was complete

Sorry for yet another “Paragraph ended before … was complete.”, but I think this one is due to some limitations of \DeclareNewLayer. I'm declaring a layer resp. pagestyle with scrlayer, which should ...
0
votes
1answer
49 views

KOMA class - two-column-text with content and “definitions”

A lot of (unsuccessful) research later: I want to use KOMA-class and set a two-column document which contains an outer column for "definitions"/ "additional structure" like shown here: ...
1
vote
2answers
112 views

Two lines chapters with Koma-Script

I'm using Koma-Script (scrbook class). I want chapters with two lines: This is line number one which contains the title of the chapter This is line number two which contains the subtitle of the ...
2
votes
2answers
108 views

Formatting Section in KOMA-Script

I am using KOMA-Script (scrartcl). I am trying to figure out how can I achieve the section formatting similar to this figure. I found a CV example using "res" class (CV using "res" class), but I ...
1
vote
1answer
82 views

Footnotes flushed left, same space on page

I have to typeset quite complex footnotes: On each page the footnote text starts at the same indention for all footnotes there (doesn't have to be equal on all the pages) The footnote number should ...
4
votes
2answers
65 views

RaggedRightParindent also indents caption titles with subcaption package

I am using the KOMA-Script class scrreprt with the ragged2e package to achieve ragged right document text. I still want to retain paragraph indentation (and have no inter-paragraph spacing, i.e., ...
4
votes
2answers
104 views

Refer to not numbered section

for the structure of my work I need an unnumbered chapter in my document. I found out to solve that with a \chapter*{chapter1} %or with \addchap{chapter1} But now I need to refer to a text and a ...
2
votes
1answer
68 views

Patch \part to do something with optional and mandatory argument

I am basically trying to patch \part of scrreprt to do something with the optional argument (if present) or the mandatory argument instead. In the example below the short caption would be added in red ...
0
votes
2answers
116 views

Appendix name (Anhang/Appendix) not appearing, despite title option

I have a strange issue where the title option doesn't seem to work properly. I included the package as follows: \usepackage[title,titletoc]{appendix} Then in the document, i am including the ...