Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [koma-script]

KOMA-Script is a bundle of classes and packages replacing the LaTeX standard classes and providing additional features with emphasis on typography and versatility.

1
vote
1answer
31 views

KOMAscript gives error when using parenthesis within options

Coming up from my previous question How to use equal sign inside class option with pgfopts I switched the base class from article to scrartcl and ran into a compile error. l.451 \...
0
votes
0answers
15 views

Converting Titlesec/toc to pure KOMA-script

I'm trying to create my own template using a mishmash of copy-pasted, then modified code. I'm hoping that those of you more knowledgeable than me with LaTeX/titlesec/KOMA-script (i.e. most of you) ...
0
votes
1answer
21 views

Chapterthumb only at first page of chapter

I would like to include a chapterthumb in my document. However it only appears on the first page of the chapter. Thank you for your help :). This is what I included: \usepackage{chapterthumb} \...
2
votes
1answer
24 views

Center scrlayer-scrpage head-text within header

I have used the power of google + copy/paste to get a header with a look I like, solid band of colour + text. However unfortunately the text isn't centered within the band, and I'm not sure how to ...
1
vote
2answers
40 views

Redefine \chapter to add \printMiniToc

I want every chapter to have \printMiniToc after it. However I don't want to have to add \printMiniToc after every \chapter. So I tried using etoolbox and tried this: xapptocmd{\chapter}{\...
1
vote
1answer
23 views

Header with Section short title and Chapter short title using KOMA-script

I'm trying to set header with Chapter title on the right and Section title on the left (with appropriate numbers in front of them). Also, I need to use short titles for header and long titles for ToC. ...
4
votes
1answer
26 views

Fill pdfinfo metadata with \usekomavar{} not working

I'm using scrlttr2 and I want to fill in the pdfinfo metadata with already existing komavars. \documentclass[]{scrlttr2} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{lipsum} \...
3
votes
2answers
68 views

\RedeclareSectionCommand introduces paragraph indentation

When using \RedeclareSectionCommand a paragraph indentation is introduced: \documentclass{scrbook} \usepackage{blindtext} \RedeclareSectionCommand[beforeskip=0pt]{chapter}% introduces a paragraph ...
1
vote
1answer
20 views

How to use 'includefoot' of 'geometry' only on 'plain.scrheadings' pages and not 'scrheadings' pages?

I have the following layout: \documentclass{scrbook} \usepackage{blindtext} \usepackage[left=1.9cm, right=1.9cm, bottom=2.23cm, top=2.23cm]{geometry}% specific requirements \usepackage[markcase=...
3
votes
0answers
29 views

Incompatibility between french babel and KOMA-Script letter class?

I want to compile a letter in French using KOMAScript (2018/03/30 v3.25) and choosing 'french' as an option for babel. When I am running the following minimal example using TeXLive 2018 on a Mac, \...
0
votes
0answers
24 views

KOMA Report: how to set the distance between page border and page number on top of page

Using KOMA Report, I want have the page number in the top center, 1.25 cm away from the top page border, and maintain a top margin of 2.5 cm. I am using \usepackage[top=2.5cm]{geometry} with \...
1
vote
2answers
59 views

How to set exact margins in KOMA-Script Report

I am creating a document using the KOMA-Script class scrreprt. It is to be handed in and the requirements specify the following page layout: A4 paper One-sided print Margins: left 3.5 cm (2.5cm ...
4
votes
1answer
83 views

Why the symbols are not equals at their size?

Here is the MWE: % Preview source code %% LyX 2.3.1-1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[a4paper,...
1
vote
1answer
31 views

How do I make underlined titles at KOMA-script?

I trying to make underlined title (of the parts) at KOMA-script, but it doesn't works well.... Can you guide me how to do this? Here is MWE: % Preview source code %% LyX 2.3.1-1 created this ...
1
vote
1answer
25 views

How do I center the part title at KOMA-script?

I want to centering the title of the part, and it's not working: \renewcommand*\raggedpart{\centering} \setkomafont{part}{\itshape\fontsize{26pt}{26pt}\selectfont} \setkomafont{partnumber}{\...
1
vote
1answer
24 views

change font in komacv

I want to change the font here: \documentclass{komacv} \begin{document} \section{M} \cvitem{M}{M} \end{document} to be the same as here: \documentclass{scrlttr2} \KOMAoptions{fontsize=11pt} \...
0
votes
2answers
31 views

Why subfig renders wrong caption numbering with custom macro?

Subfigures display the wrong caption number when wrapping them in a custom macro. The funny thing is, without the macro, but with technically the same commands, the caption numbers are correct. With ...
0
votes
0answers
13 views

2 Different Glossaries at 2 Different Positions in Paper

I would like to have 2 different glossaries: * first is "abbreviations / acronymes" that should appear before the main text * second one is "glossary" that should appear after / as an appendix (we ...
1
vote
2answers
90 views

etoc with hyperref and \addchap

I have a problem when using etoc, hyperref and the KOMA-script-command \addchap: \documentclass{scrbook} \usepackage{etoc} \newcommand*\chaptertoc{ \etocsetnexttocdepth{2} \etocsettocstyle{\...
0
votes
0answers
36 views

How do I change the ToC style at KOMA-script?

I follow the instructors here: How to prevent from the part name to be at new line? (I ask it because I want to change the display of the parts at my document). It works fine,but at the ToC, the part ...
3
votes
1answer
23 views

scrheadings ignored by document

I used to be able to get head/foot-ers with (perhaps a subset of) this set up, not anymore: it displays only Foo, Bar and Baz on pages 1, 2 and 3, respectively. Any suggestion as to what could be ...
0
votes
1answer
33 views

How to prevent from the part name to be at new line?

I using KOMS-script, and I look at this question: Modifying \part style in KOMA, for changing the part style. My question is: How do I prevent from the part name to be in a new line.... Thank you!
1
vote
0answers
21 views

Section numbers do not display correctly when Hebrew is loaded as other language by polyglossia [duplicate]

I am using the polyglossia package to write a document which contains English text and a few Hebrew names. There seems to be problem with bidi and scrbook as soon there is an appendix. In this case ...
1
vote
1answer
26 views

tex4ht fails with scrartcl class when defining \rm command. Argument of \popthree has an extra

This MWE compiles OK with lualatex and pdflatex but fails with tex4ht. Why? And this happens only when using scrartcl and not with article. \documentclass[11pt]{scrartcl}%{article} \...
1
vote
0answers
46 views

Section Design for Poetry Book

After finishing my thesis I am starting to write a book with all my poems. Due to my thesis I am used to scrbook class and can handle koma script a bit. But I fail at adjusting the section headings. ...
1
vote
1answer
27 views

Fixing part layout using \patchcmd

I want to remove the linebreak between part numeration and part name as found here. However the solution doesn't work for me. MWE: \documentclass[draft, onecolumn, oneside, paper=a4, 12pt]{scrartcl}...
3
votes
1answer
76 views

Binding correction without changing text area

I'm using KOMA-script to write a report, and need to adjust the amount of space for binding correction after having already prepared a final version. The problem is that when I change the BCOR value, ...
1
vote
1answer
29 views

Remove section number from table of contents in `scrartcl`

How to remove the section number ("1" in the example below) in the toc of scrartcl? it does not matter if the section number is or is not stated in the text (I already know how to remove it there). ...
0
votes
1answer
31 views

How to adjust the labeling environment's spacing?

Is there an easy way to eliminate the spacing between a labeling environment's items as well as around the environment, similar to enumitem's \setlist[itemize]{noitemsep,nolistsep}? The only answer I ...
2
votes
3answers
52 views

Conditional Execution of a Command based on used Documentclass

I use KOMA-Script-classes almost exclusively and because i don't like, that it always prints several elements of the table of contents in bold letters, i have included \addtokomafont{chapterentry}{\...
0
votes
0answers
40 views

what is wrong with the geometry settings of my slides?

In my presentations, I have been using a wonderful template designed by Marius Hofert and Markus Kohm (a developed version of this one here. However since TeXLive 2016 it does no longer work properly. ...
2
votes
1answer
56 views

Underfull vbox in table of contents

I have an underfull vbox in the toc and I don't really know how to get rid of it. Here's a mwe: \documentclass{scrbook} \KOMAoptions{ fontsize=11pt, twoside=true, BCOR=20mm, DIV=13, ...
1
vote
2answers
59 views

How to configure \cref to write “Appendix A” instead of “Chapter A” when referring to appendix?

I want to configure \cref to write "Appendix A" instead of misleading "Chapter A". Minimum Working Example (MWE): \documentclass{scrbook} \usepackage[toc,page]{appendix} \usepackage{cleveref} \...
0
votes
0answers
25 views

Overfull vbox with koma and setspacing

I had got the same problem as in this question: Overfull vbox with scrbook and setspacing Adding \recalctypearea after \usepackage[onehalfspacing]{setspace} cleared the warnings, but I have a follow ...
0
votes
0answers
19 views

problem with “list of tables”

User esdd helped me to solve a problem regarding my headings in my Thesis (to get them in APA Style) this is my prior post Now i have some trouble with my List of Tables. Due to the \setcounter{...
0
votes
0answers
25 views

Forced pagefill by stretching spaces between equations [duplicate]

I am using the KOMA-class scrartcl (I do know that it is outdated, but I don't really have the time to understand a different KOMA-class). When my document arrives at an equation which would be too ...
0
votes
0answers
38 views

How to make title, chapter, sections names use garamond with Koma-Script class document? [duplicate]

I've noticed something very strange. I switched to using \usepackage[T1]{fontenc} \usepackage[urw-garamond]{mathdesign} %this below also works. Do not know what is the difference. %\usepackage[...
0
votes
1answer
35 views

Subfigure range in caption with cleveref and besidecaption

I originally asked for a solution which would automatically give me the range of subfigures in a caption. Skillmon came up with something which did work with my original MWE, but which gives problems ...
0
votes
2answers
80 views

scrlayer-scrpage package option list

I have been using scrpage2 for more than 10 years. Since it is obsolete, I want to switch to the newer scrlayer-scrpage package. The documentation however does not seem to list the package options, ...
2
votes
1answer
72 views

Luatexja conflicts with KOMA script

After running into a bit of a wall with certain things in XeTeX I decided to start experimenting a bit with LuaTeX. Unfortunately I ran into a problem I couldn't solve pretty much instantly. I really ...
1
vote
1answer
32 views

listoffigures without dots and hfill for pagenumbers

I'm using documentclass scrbook and want to remove the dotted lines and hfill for page numbers in a List of Figures. Something similar to what this does for the table of contents: \...
1
vote
2answers
35 views

Images cropped when todonotes and auto-pst-pdf used together in scrbook

In my document, I am required to have non-floating images in one chapter. However, while there is no problem with images in floats, non-floating images are cropped at the bottom. This only happens to ...
0
votes
1answer
47 views

Different font for unnumbered parts in KOMA-Script

I can set the font of elements as follows: \addtokomafont{part}{\normalfont\huge\raggedright} How can I change the font only for unnamed parts, i.e. part*?
2
votes
1answer
42 views

minimal correction of page number position

I have to correct the position of the page number in the following way: 2,75mm away from the print space. One page 1 it should be 2,75mm to the right, on page 2 2,75mm to the left. How can I do this? ...
1
vote
2answers
38 views

Multi-line scrheadings-header intersects section when not preceded by vertical space

When i use the scrheadings package and put multiple lines in the header, just like this: \documentclass[a4paper,DIV8,10pt]{scrartcl} \usepackage[headsepline]{scrpage2} \pagestyle{scrheadings} \...
2
votes
1answer
36 views

How to use design of titlepage from scrbook inside scrartcl?

The default titlepage of documentclass scrartcl looks very compressed and not really nice. Minimum Working Example (MWE): \documentclass{scrartcl} \begin{document} \titlehead{Head of titlepage}...
4
votes
1answer
38 views

XeLaTeX: scrartcl + \setmainlanguage{russian} = “LaTeX Error: \chapterformat undefined.”

doc.tex: \documentclass[a4paper]{scrartcl} \usepackage{polyglossia} \setmainfont{DejaVu Sans} \newfontfamily{\cyrillicfontsf}{DejaVu Sans} \newfontfamily{\cyrillicfonttt}{DejaVu Sans Mono} \...
1
vote
1answer
49 views

Header on page with chapter heading

im writing my thesis in latex and i have a litte problem. How can i also print the header on pages that starts with a chapter heading? On those pages it is missing. here is a small example of my ...
2
votes
1answer
39 views

Customizable pagestyle with options using DeclarePageStyleByLayers

Consider the following code: \documentclass{article} \usepackage{calc} \usepackage{lipsum} \usepackage{xcolor} \usepackage{scrlayer} \newcommand{\headerheight}{2cm} \newcommand{\headertext}{\Huge\...
1
vote
1answer
49 views

Indent unnumbered chapter in TOC with multitoc (in presence of tocstyle)

I'm having a problem mixing multitoc with tocstyle. What I want is my unnumbered chapters in the TOC to be indented (in this case \addchap{Introduction}). I figured out that \usepackage[...