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

0
votes
1answer
30 views

Adding a few Chinese characters in document of classicthesis template

This minimal example of how to use the CJK package, as instructed here works perfectly on my system: \documentclass{article} \usepackage{CJK} \begin{document} \begin{CJK}{UTF8}{gbsn} 你好 You can mix ...
3
votes
1answer
42 views

How to get caption to line break in scrbook?

So I have a large project and one of the pictures is quite small, but has a very large caption. Currently the caption just extends into the page of text and all of the solutions I have seen for ...
4
votes
1answer
39 views

How to put a period between the chapter number and chapter title in the headings using scrrept, scrlayer-scrpage, and scrheadings?

By default, the headings with scrrept, scrlayer-scrpage, and scrheadings are of the form "«number» «title»" in the headings for numbered chapters. I am wishing to change it to "Chapter «number». «...
3
votes
0answers
31 views

Adjust vertical spacing between caption and listing in KOMA (scrartcl)

In the standard article class the distance between caption and the listing below it is fine. But when using KOMA-Script's documentclass scrartcl the vertical space is too big (see the image below). I'...
3
votes
1answer
65 views

How to get the subsection and subsubsection automatically in the header using scrheadings?

How to get the subsection and subsubsection automatically in the header using scrheadings? Complete MWE: \documentclass[ paper=128mm:96mm, fontsize=12pt, pagesize, parskip=half-, ]{scrartcl} \...
1
vote
1answer
89 views

How to turn off headers with KOMA-Script Book

I'm using the KOMA-Script Book class to create a book in LyX. I don't want to have any headers in my book, but they're active by default. Is there anything I can do to turn them off? Thank you for ...
10
votes
2answers
1k views

Use \captionof in conjunction with \subfigure?

I'm using the KOMA scrreprt class. I have a large figure with 6 subfigures, and a lengthy (but necessary!) caption explaining the figure that doesn't fit on the same page. I'm trying to use the \...
1
vote
1answer
62 views

Change headsep only for \section titles

Problem I would like to increase the headsep on pages that start with a section\subsection or paragraph title. I redefined the chapter spacing settings (before and afterskip) according to my wishes ...
1
vote
0answers
46 views

Redeclaresectioncommand does not work for section - Koma Script Report - Lyx

Problem I am using koma-script report class: I am trying to change the beforeakip and afterskip of my Section titles: \RedeclareSectionCommand[beforeskip=12pt,afterskip=-12pt]{chapter} \setkomafont{...
0
votes
1answer
116 views

Toc, Bibliography, Indexes and dots

I have to add to the ToC the Bibliography and the Indexes (e. g., the Author index) in such a way that they have the same style of a Chapter without the Chapter number. In particular, I need to add ...
3
votes
1answer
61 views

tex4ht fails to compile footnote when there is blank line with scrartcl class

TL 2016. There seems to be a bug here. This MWE fails to compile with tex4ht because there is blank line in footnote \documentclass[11pt]{scrartcl} %\documentclass[11pt]{article} \IfFileExists{...
0
votes
1answer
25 views

Counter problem for individualised appendix sectioning (Destination with same identifier)

I tried to individualise the sectioning of my appendix. I would love to have it sectioned like this: Appendix A.1 First A.2 Second A.3 Third B.1 Fourth B.2 Fifth B....
4
votes
1answer
47 views

Increasing \footheight with scrlayer-scrpage

I am experiencing a very strange issue. I am using scrlayer-scrpage to generate headers and footers. For headers, everything works great, but for footers, on every next page the footer height is ...
1
vote
1answer
22 views

Change the number of columns in scrreprt without multicols?

I have a small problem with scrreprt. I use the twocolumn option for the whole document, which works great. However for the supporting information part of my thesis it would be much better to just ...
3
votes
1answer
84 views

Fonts in latex and R [closed]

This question could be linked to this, this and this. However, I opened a new one because I tried two different options from the suggestions and getting different results. The aim is to get ...
5
votes
1answer
101 views

Koma-Script: Table of Contents in Two Columns

I have a document in two column mode. All works fine (all in two columns) -- except the table of contents (toc). Strangely I found a solution: \unsettoc{toc}{onecolumn} This leads to a toc in ...
1
vote
1answer
20 views

KOMA-Script: Adding “linebreak” after paragraph and subparagraph

I have the following example code: \documentclass[parskip]{scrbook} \setcounter{secnumdepth}{5} \begin{document} \chapter{Chapter} Test \section{Section} Test \subsection{SubSection} Test \...
7
votes
3answers
138 views

KOMA-Script and sidenotes : how to format side (margin) caption and its caption label?

I am using the command \sidecaption from the sidenotes package with a KOMA-Script class. I'd like to format (shape, size, color) the text of the caption and its label. According to KOMA documentation ...
22
votes
5answers
3k views

Empty document, only pagenumber, 500 pages needed

I need a document with 500 empty pages, only the pagenumbering in the foot of the page. This MWE shows 2 pages in the way I'd like to get all 500: \documentclass[pagenumber=footright, DIV=20, ...
1
vote
1answer
38 views

KOMA-Script have parskip=full- but no spacing between section title and content

When using KOMA-Script, one has \RedeclareSectionCommand available to adjust the spacing before/after section titles, as described in this question. I want the content of the section to appear on the ...
3
votes
1answer
23 views

How to use minitoc heading in cyrillic

I would like to use minitoc in my document which is in bulgarian. When I don't use language option for minitoc package everything is fine except mini table of contents heading which is in English. ...
0
votes
1answer
92 views

Write two chapters on the same page

I just have a little question. Is there a possible way to write two chapters on the same page? Thank you for your help! : ) \documentclass[a4paper, 12pt, oneside, titlepage]{scrbook} \begin{document}...
0
votes
0answers
73 views

Why does tcolorbox adds vertical space?

I use some tcolorboxes in the solution section of a math paper. For some reason there is some vertical space added. How can I align the solution number with the top of the tcolorbox? (The red boxes ...
2
votes
1answer
28 views

LuaLaTeX and makenote

Under TeXLive 2016 i have an problem with following code: \documentclass[mpinclude=true]{scrbook} \usepackage{scrlayer-scrpage} \pagestyle{scrheadings} \usepackage{scrlayer-notecolumn} \begin{...
1
vote
1answer
100 views

MacTex 2016 Compile Generates Errors

I have recently updated Mactex to version 2016. Using TexStudio (latest version) previously, using MacTex 2015 my files compiled with no errors. Now, using Mactex 2016 a compile of five different main....
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 ...
3
votes
1answer
81 views

Right justify roman page numbers in list of tables

I have a scrartcl document with arabic and roman page numbers. The list of tables looks like this: Arabic page numbers are right justified (relative to each other), whereas roman numbers are ...
6
votes
2answers
103 views

Distance between caption and table differs (scrbook)

The KOMA-classes provide an option captions=nooneline. If this option is set, all captions of figures and tables are justified left; if it is not set, captions that are short enough to fit on one line ...
3
votes
2answers
73 views

Komascript - Section after pagebreak has the wrong color

The following MWE shows that the second section is black instead of red. Even if this happens only if there is no text between these two sections: Is this a bug? \documentclass{scrartcl} \usepackage[...
3
votes
2answers
83 views

Use \nameref to refer to unnumbered section but allow short titles

I'd like to refer to an unnumbered \section* which in general just makes sense in combination with \nameref. However I'd like to define a short title for the section I can refer to, but \section[...
0
votes
0answers
43 views

Remove par(fill)skip from KOMA afterskip

My document contains pages where the \parskip has been stretched. A consequence of this is that the text below section titles is too far away from the text which follows it. How can I make the section ...
0
votes
0answers
57 views

Bibliography section not visible in table of contents

Since I would like to have a separate section containing the references for all chapters, I use the chapterbib package: \usepackage[sectionbib]{chapterbib} According to the manual, this should ...
7
votes
2answers
127 views

Overfull \hbox warnings for the glossary option “style=long” when using KOMA-Script?

I always get an overfull \hbox warning when I compile a glossary with the glossaries package and the option style=long. Also the warning occurs only with KOMA-Script classes and not with the standard ...
5
votes
4answers
278 views

Chapter list in TOC whilst using \chapter{} only

I have a fiction book to typeset and I am using scrbook class as I thought that it is very flexible. For every chapter beginning I am using \chapter{} command and leave the field inside {} empty, so ...
1
vote
0answers
44 views

scrartcl 14pt with unicode-math and XITS math: strange prime

Please consider this minimal example. Compiled with XeLaTeX. \documentclass[fontsize=14pt]{scrartcl} \usepackage{unicode-math} \setmathfont{XITS Math} \begin{document} Test $\exists a'$.%^\prime: ...
0
votes
0answers
69 views

Space between footnotes and text

I am using koma-script for writing my final thesis and have the following problem: The space between my main text body and the footnoterule is not unified, it differs at every page and it is mainly ...
0
votes
0answers
44 views

How to set the overlay in this KOMA-Script Presentation?

The following is the template which I am using for my presentation. According to this link, This template did not come with overlays. And I want to set some overlays for my presentation, since it is ...
2
votes
0answers
50 views

lualatex breaks after update to texlive 2016 [duplicate]

After I install the texlive 2016 (schema full), I got the error: ! Missing number, treated as zero. by compiling the code below with lualatex:: \documentclass[]{scrbook} \title{Test} \begin{...
1
vote
1answer
45 views

Change Style of the Letterhead in Koma Script scrlttr2

I am using the scrlttr2 class of Koma Script and I would like to use a different color for the letterhead, which contains my address on the top of the page. Is there a simple way to apply the command ...
8
votes
3answers
393 views

How to reference the Index?

How can I reference the index created by the package makeidx? Minimal working example: \documentclass{scrbook} \usepackage{hyperref} % creates links on refs \usepackage{makeidx} \makeindex \begin{...
6
votes
0answers
99 views

Abbreviated references: just the necessary references, no more

Legal reports in Germany often use a somewhat strange way of structuring. Instead of the usual numbers, we have A. (B., C. D. ...) for the first level, I. -- Roman numbers for the second ...
1
vote
1answer
76 views

Code involving mdframed and scrlttr2 that compiled with TL 2014 but does not compile with 2015

The following code used to compile with TeX Live 2014, but does not compile with TeX Live 2015. I now get the error: ! Missing \endgroup inserted. <inserted text> \endgroup l....
2
votes
0answers
53 views

Page numbers on margin KOMA-Script [closed]

How to put page number on a margin aligned with first line of a text?
4
votes
1answer
81 views

Two column toc in footnotesize with scrartcl: pagenumbers in toc are too large

I'd like to have a small table of contents in two columns. Everything looks as expected, except the pagenumbers in the toc: they are still at normalsize, instead of footnotesize, and still in rmfamily,...
6
votes
4answers
323 views

what to replace \it with in Math mode to make scrbook happy?

I am using Latex code auto-generated by Maple, which uses lots of \it and \rm in math mode. standard book class does not complain, but scrbook complains. What should one replace \it with to make it ...
4
votes
1answer
44 views

scrartcl: Set footnote marker outside the mark width box

In the scrartcl package, the \deffootnote command is used to adjust the typesetting of footnotes: \deffootnote[<mark width>]{<indent>}{<parindent>}{<definition>} … which ...
2
votes
2answers
554 views

Multiple Missing number, treated as zero. and Illegal unit of measure (pt inserted). on \section

I'm writing with TeXStudio, and create pdfs with "pdflatex.exe -synctex=1 -interaction=nonstopmode "Fallout Equestria - Torn Skies".tex" I updated with the MikTex. Before everything went just fine. ...
0
votes
1answer
37 views

“Indenting” document structure

I have 4 single documents here, each of which use sections as highest level of structure Now I want to combine them into one scrartcl. I input them into my new document with the 'import' package, ...
2
votes
1answer
127 views

Headers and font in KOMA-script

I am setting up the layout for my bachelor thesis using scrbook as basis for a self-made documentclass with twosided print. I want a header containing the current part number and name on the outer ...
1
vote
0answers
24 views

Getting LyX to honor paper size of LaTeX class? [duplicate]

I'm not sure, if I'm just overlooking a simple preference setting or if what I would like to achieve is possible at all... Anyway, I recently created a LaTeX class file (it's based on scrbook from ...