Stack Exchange Network

Stack Exchange network consists of 175 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.

2
votes
1answer
28 views

scrbook no chapterheadstartvskip for unnumbered chapter

I am writing a document using the KOMA-Script scrbook class. I am using a custom chapter style and a \chapterheadstartvskip. The chapter number is printed as a tikz overlay in the resulting whitespace....
3
votes
2answers
67 views

How to remove space in section title at KOMA-Script

Here is MWE: \documentclass{scrartcl} \usepackage{adforn} \renewcommand{\sectionlinesformat}[4]{% \ifstr{#1}{section}{% {\adforn{30} {#3}. {#4} \adforn{58}} } {{\...
0
votes
1answer
28 views

How to remove the underline from the ToC title at KOMA-script?

I made underline titles of sections at KOMA-script. Here is MWE: \documentclass{scrartcl} \usepackage{ulem} \addtokomafont{section}{\uline} \begin{document} \renewcommand\raggedsection{\centering} \...
2
votes
1answer
45 views

How to make underlined-centered titles at KOMA-script?

So I tried to make underlined-centered titles: The answer for the centered came here and here. Now my question is, how I make it underlined: with \ul it doesn't work (the file don't compile, and ...
3
votes
2answers
47 views

How to center headings at KOMA-Script

As a continue to this question: customize subsubsection with koma script How do I center the titles? \renewcommand{\sectionlinesformat}[4]{% %\@tempswafalse \ifstr{#1}{section}{% ...
1
vote
2answers
37 views

How do I prevent from a symbol at part title to be in a new line

Here is a MWE: \documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl} \usepackage{fontspec} \usepackage{adforn} \renewcommand\partlineswithprefixformat[3]{ #2 #3\adforn{64}} \begin{...
0
votes
1answer
28 views

automatically change geometry with KOMA-pagestyles

I'm trying to change the geometry (namely the top/head height) automatically depending on the selected pagestyle. The goal is to have a bigger backgroundpicture in the header for every new chapter. ...
1
vote
1answer
48 views

How to make a line break at the title of the parts?

As a continuation of this question: How to center a tcolorbox at a part title at KOMA-script article, if you see the But note of this answer this solution is good only if I don't break lines, i.e., I ...
0
votes
1answer
36 views

How to center a tcolorbox at a part title at KOMA-script article

I'm trying to center the part title. The is the MWE: % Preview source code %% LyX 2.3.2-2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what ...
0
votes
2answers
43 views

How to make parts and sections at the right side of the document?

I'm writing a document at Hebrew at scrartcl class (KOMA-script) and the parts and the sections are at the left side when I writing at English: How can I move it to the right? (like at scrbook - ...
0
votes
0answers
39 views

How to prevent from chapters and parts from start at a new page at scrbook?

Here - How to prevent from a new pages after titles at KOMA-script book? - you were asked my why I want to prevent from new pages at scrbook instead of using the strartcl. So one of the answers is ...
0
votes
1answer
31 views

How to prevent from a new pages after titles at KOMA-script book?

How do I prevent from new page after the title at KOMA-script book? After the title it's make a new page. Can I prevent from it? (I'm using LyX) Thank you! :: Edit :: Here is MWE: % Preview ...
2
votes
1answer
30 views

Chapter title missing in header on odd pages and header margin very small when using KOMA script

I am using the KOMA script class scrbook for a thesis and would like to get a two-side layout. In the header of each page I would like to have the chapter name included alternating on the left and ...
1
vote
1answer
90 views

What KOMA-Script article (scrartcl) has that KOMA-Script book (scrbook) does not?

I'm trying to understand the difference between the KOMA-Script article class scrartcl and the KOMA-Script book class scrbook? As I understanding actually I can do every thing I can do with the ...
2
votes
1answer
39 views

Reduce space between title and top margin in scrartcl

How can I reduce the space between the title and the top margin in my example document with KOMA-Script class scrartcl below? \documentclass[a4paper,11pt]{scrartcl} \usepackage{blindtext} \title{This ...
4
votes
3answers
97 views

Macro returning a length depending on current chapter

I am writing a document using scrbook and I have defined a custom chapter style where I draw a large chapter number using tikz: \renewcommand*{\chapterformat}{% \begin{tikzpicture}[remember picture, ...
1
vote
2answers
65 views

Extra interline spacing in two sided mode with scrlttr2, and tcolorbox environment redefining quoting environment

While experimenting with two sided settings in scrlttr2 while using quoting in combination with tcolorbox, I came across an oddity. The following example shows interline spacing in text outside the ...
3
votes
1answer
32 views

csquotes, hyperref and scrartcl produce multiple errors when \makeautoquote and \makeautoquote* are used

I am facing a weird error when compiling a document. I am working for some time now on this doc and faced these problems some time after updating my texlive 2018 installation via tlgmr. This MWE ...
1
vote
1answer
40 views

koma-moderncvclassic in thesis

The koma-moderncvclassic package would in principle be the specific solution to this question (having a CV based on class moderncv in your thesis without including a PDF). However, importing the ...
2
votes
2answers
64 views

Icon at Subject-line scrlttr2

I want to add a small icon right left of the Subject line in a scrlttr2 file. I already managed this for a scrartcl file, but don't now how to do this in a letter. Can you help me? The code from the ...
4
votes
2answers
56 views

scrlttr2 and geometry: firsthead shifted to the right

I am using class scrlttr2 of KOMA-Script with a custom page layout via the geometry package. Unfortunately, this results in a small horizontal right-shift of my header. Here is a MWE: \documentclass %...
1
vote
1answer
30 views

Understanding “stretchy” negative vertical space above framed chapter titles

This question is somewhat related to my previous question overfull hbox on chapters with line above/below chapter title using KOMA-script, as (parts of) the issue occurs with various/all methods of ...
1
vote
1answer
50 views

Indented footnotes in KOMA-Script

I would like to set up my footnotes using a plain indented style, with the footnote marker placed in the text after an indent: 1. Lorem ipsum dolor sit amet et uiuit. 2. Footnote The trouble ...
0
votes
1answer
46 views

Change font from Pagnumer in tableofcontents

I use in my document a font that is not a monospace. This has to follow that I have jumping numbers in my table of contents. How can I assign a different font to the page number? In the chapter \...
4
votes
1answer
55 views

tex4ht \Css code works using standard book class but has no effect using koma-script scrbook class

I am using a \Css configuration which centers a caption under a figure thanks to how-to-make-caption-be-centered-under-table-when-using-tex4ht Now I find this does not work if I change document ...
2
votes
1answer
50 views

Scrreprt - Show Pagenumbers in TOC-Pages when using scrlayer-scrpage

I'm writing a report with class scrreprt and wanted to use scrlayer-scrpage for the headlines of each page. However today I noticed, that the pagenumbering on all toc- and listoff-pages disappeared. ...
1
vote
1answer
38 views

scrreprt make recipient at the upper left of the first page

I have to make a written elaboration for my exam and I am relatively new to LaTeX. I want to set the receiver at the upper left of the first page, just like in a letter. Here is my code: \...
1
vote
1answer
98 views

How to switch off chapter and section numbering in the whole document?

I want "Introduction" instead of "1. Introduction". The same with all sections and subsections. In the KoMa-classes if possible I've googled like mad, but the only solution I found is usinge \chapter*...
3
votes
1answer
60 views

Empty captions with KOMA-script, maybe together with hyperref

I like captions to normally have a colon, but not when the caption is empty. This is something that the package caption does automatically, so \documentclass{scrartcl} \usepackage{caption} \...
2
votes
1answer
55 views

Empty captions with KOMA-script

I like captions to normally have a colon, but not when the caption is empty. This is something that the package caption does automatically, so \documentclass{scrartcl} \usepackage{caption} \begin{...
1
vote
1answer
39 views

Set length parameter based on KOMA \ifthispageodd

Background I'm using scrrept and titlesec (changing from titlesec to pure koma is on my todo list) any I've redefined \chapter to be a full page affair. The issue is when I'm using twosided. ...
4
votes
2answers
104 views

Add a specific text and variable

i would like to add this text Kundennummer: {customer specific number that I change manually} Perfect would be right under: \newcommand{\invoiceReference}{2019\textunderscore01\textunderscore14\...
4
votes
1answer
55 views

Different spacing for float number in custom float lists in KOMA-Script

I defined a custom float and I want to print its list at the beginning of my document. However, the spacing before and after the float number (in the list) is different from the one for "regular" ...
1
vote
1answer
50 views

LaTeX file getting information from 2 other files

I just downloaded it to automate writing bills. I have absolutely zero knowledge of the terminology. Only a bit knowledge of scripting. Here is the link to the repository: https://github.com/d-...
0
votes
2answers
54 views

Adding image to every page of a letter created with scrlttr2

I created a letter using scrlttr2 package from KOMA-Script. I'd like to add an image at the bottom of each of its pages. Here is what I have for this purpose: \AddToShipoutPictureBG{% \...
0
votes
1answer
49 views

Adding chapter thumbs to an appendix with KOMA-Script

Including an appendix chapter using \include{chapter_appendixA} results in a 'weird error' in overleaf (compiling with XeLaTeX): ! Missing number, treated as zero. p l.1 \...
2
votes
0answers
38 views

Align Header with Text/Type Area in KOMA but let Page Number bleed into Margin

Consider this MWE: \documentclass[twoside]{scrreprt} \usepackage[automark]{scrlayer-scrpage}% \clearscrheadfoot%clear default \lehead{\llap{\pagemark\enskip\rule[-2ex]{1.5pt}{4.5ex}}\enskip\...
0
votes
0answers
53 views

How to add the front matter to the table of contents in classicthesis?

I've been working with classicthesis to write my thesis. Classicthesis uses the scrreprt class and its table of contents comprises from the first chapter to the bibliography. I tried changing the ...
2
votes
2answers
60 views

KOMA script: how to create an empty page after each chapter heading?

I'm using KOMA script's scrbook, and would like to have each chapter title to be in its own page, followed by an empty page. Currently it's acheived with titlesec, by the following code (using ...
0
votes
2answers
36 views

KOMA-Script: How to put text dirctly under headsepline?

How can I put some centered text directly under the headsepline? \documentclass[fontsize=14pt]{scrreprt} \usepackage[margin=1.75cm, includefoot, includehead, showframe=false headheight=2\...
0
votes
1answer
35 views

How to write KOMA scrttl2 subject without the words “Subject: ” in front?

The standard way of adding a subject is by using \setkomavar{subject}{Insert the subject of the letter} in the preamble of the document. This inserts a line of text before the opening of the letter ...
2
votes
1answer
49 views

Problems regarding the prefix of TOC lists while hiding appendix caption/section titles in the TOC

Please take a look at the provided minimal example. I try to achive the following three things: Add "Equation" as prefix for each entry in the list of equations Add "SpecialAlgorithm" as prefix for ...
2
votes
1answer
116 views

How to change the spacing between numbering and text in subsection

I am a Master student and currently I am writing the thesis. My University did provide a template but it is in Microsoft Office Word but I am using latex. The attached figure is the example of the ...
0
votes
2answers
78 views

RedeclareSectionCommand, beforeskip not working

I am trying to have sections have space before them using \RedeclareSectionCommand. beforeskip will work for this, but I also want the section to start on a new page and when I put it onto a new page,...
0
votes
2answers
96 views

Header with doublesided document

This is already quite close to what I need. The only issue with this solution is that it shows the sections on the odd pages and the subsections on the even pages. However, for the first time the ...
4
votes
1answer
140 views

Equivalent of fontenc in LuaLaTex

I'm writing a paper, and have recently switched to LuaLaTex. In pdfLaTex I've used \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} now how should I replace these, ...
4
votes
4answers
156 views

Additional short TOC in scrbook

Visibly the KOMA class lacks the possibility to add a second, e.g. short, table of contents (TOC), while memoir does as in the following adopted example. See also Include Detailed Contents entry in ...
1
vote
1answer
56 views

section and subsection on a double-sided document

In the header of my twosided document should be on the left side always the author. On the odd pages should be on the right side the section and on even pages the subsection also on the right side. I ...
2
votes
2answers
65 views

overfull hbox on chapters with line above/below chapter title using KOMA-script

I would like to add \linewidth-sized lines above and below my chapter titles (similar to borders above/below the 'paragraph' in MS Word) I tried the following, which somewhat approximates the desired ...
2
votes
1answer
48 views

Footnote marks always under the rule in koma script

I'm trying to modify the standard appearance of the footnote mark in the KOMA-Script class scrbook. The behavior should be similar to the behavior in Microsoft Word. So the footnote numbers are left ...