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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

Koma Classes: Add to Header

The running headers for my document appear too high on the page. The manual isn't clear as to where the switch should go (after scrlayer-scrpage? or as a class option? \documentclass[twocolumn,a4paper,...
user avatar
  • 1,657
1 vote
1 answer
37 views

Section number in the outside of the page

Following my question about the customisation of the section heading, I would like to have the box with the section number always in the outside of the page ( I am using the twoside option). That is, ...
user avatar
3 votes
2 answers
53 views

Customise section with koma script

I wonder if you could offer some help. I want to customise the section titles in a scrbook class document. Something similar to this: Section number in a box followed by a centred line Section name ...
user avatar
3 votes
1 answer
41 views

Formatting \pagemark with LaTeX

I am customizing my headers and footers with the document class scrbook. Now everything works fine except that the \pagemark doesn't get formatted as intended (i.e., gray color, letter-spaced, etc.). ...
user avatar
  • 305
1 vote
1 answer
33 views

Order of texorpdfstring in headings

I'm not sure whether the order of \texorpdfstring inside headings matters or if some part of the newcommands/NewDocumentCommands are messing with my MWE: % !TeX program = lualatex \documentclass{...
user avatar
  • 443
0 votes
1 answer
19 views

Structure lco files in subdirectories

lco files usually are placed in ~/texmf/tex/latex/. An lco file ~/texmf/tex/latex/ich.lco would then be referenced in the actual document (in this case with Koma script) as \LoadLetterOption{ich} ...
user avatar
  • 135
0 votes
1 answer
22 views

Customize chapter and section style in appendices

I am using the scrbook document class. I would like to change the style of chapters and sections in the Appendices as illustrated here. It works very well except for the word Chapter in the black ...
user avatar
  • 305
0 votes
0 answers
25 views

hyperref crashes underlining of starred sections [duplicate]

I want to underline sections and subsections with color. I found a solution, but when using a starred section*{} it crashes - but only if I use the package hyperef. How can I avoid this? % Compile ...
user avatar
1 vote
1 answer
84 views

How to place the parts on the same page of the next chapter? (scrbook)

Is there any way to place the name of the parts on the same page of the next chapter? I have tried to do this, to notice its effect I uncomment the commented lines, and you can see that the formatting ...
user avatar
1 vote
1 answer
71 views

Prevent reset of subsection counters in unnumbered sections in KOMA-Script

I'm using scrartcl and trying to mix and match numbered and unnumbered sections and sub-sections. It appears that in scrartcl the unnumbered variants of \section still reset the counters for \...
user avatar
  • 13
2 votes
1 answer
32 views

KOMA script etoc package changes vertical spacing between TOC heading and entries

Based on the question KOMA-script list of listings and LOF have unequal space below heading I have extended the example with a TOC. I use the etoc package in my document and the KOMA option parskip=...
user avatar
1 vote
1 answer
33 views

KOMA-script list of listings and LOF have unequal space below heading

I observed some unexpected behaviour with scrbook class (xelatex) and the list of listings from the listings package. The spacing between the chapter headings of the LOF and list of listings and the ...
user avatar
0 votes
1 answer
40 views

landscape setting but still portrait

So I`m trying to get a landscape page mid document (to print 6 figures in one row) and was following the instructions of this article. Here is code fragment. \documentclass[parskip=full, oneside]{...
user avatar
  • 109
1 vote
0 answers
48 views

Adjust vertical spacing after section title heading and before tcolorbox environment

How can I adjust the vertical spacing after the section heading and before the tcolorbox environment? Here's my MWE: \documentclass{scrbook} \usepackage{mathtools, amsthm, amssymb} % Math packages \...
user avatar
0 votes
1 answer
28 views

Listing ToC in Itself As Part, Not Section

I'm writing a LaTeX document (scratcl) and am using \part as my highest level. I also need my ToC listed in itself. I've included \setuptoc{toc}{totoc}, but this lists the ToC as a section of the part ...
user avatar
  • 103
1 vote
1 answer
49 views

Fwlw package and \part at scrbook KOMA-Script class error

In this MWE: \documentclass{scrbook} \usepackage{fwlw} \begin{document} \part{Test} \chapter{Chapter test} Text \end{document} I got error: Incompatible list can't be unboxed. \part{Test} With book ...
user avatar
  • 241
3 votes
1 answer
103 views

setting KOMA heading within lua

I can tex.print() to set the \title command of my document, but when I try tex.print('\\rohead{...}), nothing appears.. any suggestions? \documentclass{scrartcl} \usepackage[headsepline]{scrlayer-...
user avatar
0 votes
1 answer
43 views

bad page number in footer and misc

I've a number of problems with my scrletter: I need the page numbering on pg 1 to be in format "n of N" like the rest of the document (scrletter global option firstfoot=false does not ...
user avatar
  • 75
0 votes
1 answer
31 views

fleqn option for custom class (based off of KOMA)

In the MWE below, I have a class called test.cls which loads scrartcl with the fleqn option. In main.tex, I load this class, however, the fleqn option seems to be lost--unless I pass fleqn--which I ...
user avatar
2 votes
1 answer
47 views

Confusing bug in koma-script when using fontspec, \listoffigures, and cross-refs

I came across a weird bug in KOMA-script when using the fontspec package (either LuaLaTeX/XeLaTeX) and cross-referencing. Rather than give an in-depth description up front, here's an example of the ...
user avatar
  • 38
2 votes
1 answer
60 views

Set font size of chapter headings to 18 pt, section headings to 16 pt, subsection headings to 14 pt in KOMA script class srereprt?

I want to change fontsize of chapter headings to 18 pt, section headings to 16 pt, subsection headings to 14 pt with 1.5 linespacing in the report as per our univeristy guidelines. I use luatex. I ...
user avatar
  • 55
2 votes
1 answer
93 views

KOMA-script's beforeskip is not used when previous section is empty

Bonjour, I am posting because I am truly at my wits end. The following MWE illustrates my challenge. I want a consistent spacing in between section, with or without text in them. How can I force the ...
user avatar
5 votes
2 answers
166 views

Subtitles for subsections in scrbook

Is there a way to insert a subtitle right underneath a subsection heading in the scrbook class? I found this question/solution - , basically exactly what I try to achieve, but I coulnd't make it work ...
user avatar
  • 87
1 vote
1 answer
23 views

Should abstract be `titlepage`? (KOMA-Script)

I'm using the KOMA-Script scrbook class to typeset my dissertation. My main question is: should the abstract be put in a titlepage environment? Right now, I'm doing the following. \frontmatter \...
user avatar
  • 768
0 votes
1 answer
33 views

format of footer in appendices

I'm using scrartcl document class with scrletter package in the preamble, for a letter with section capabilities. I want to add an appendices after my \end{letter} statement. This is easy enough using ...
user avatar
  • 75
1 vote
2 answers
100 views

scrletter/scrlttr2 footer position and format

Using scrletter, I cannot get the exact same footer as on the first page (position and text). Here's a MWE: \documentclass[a4paper, headlines=8.1, headheight=3cm, footlines=1.1, footheight=2cm, ...
user avatar
  • 75
0 votes
0 answers
33 views

Hide chapter prefix in KOMA-Script headers [duplicate]

I am using KOMA-Script with the scrbook class. I want all my chapters headings prefixed with "Chapter", but I don't want the "Chapter" prefix in headers. I can't figure out how to ...
user avatar
1 vote
1 answer
46 views

How to remove the letter (A) in the appendix in overleaf?

I am trying to remove the letter A from the appendix. How can I have the appendix word alone?
user avatar
  • 803
1 vote
1 answer
69 views

Problem with page numbering styles with letter page style in scrletter

All page references here correspond to the English KOMA-Script manual, version number 2.28. Consider the following TeX file. \documentclass[12pt,headheight=30pt,headinclude,firsthead=false,firstfoot=...
user avatar
  • 7,394
3 votes
3 answers
184 views

Rename chapter by word Lecture by Koma-script

Is there simple way how to obtain customization of the chapter for scrbook? I want to have Lecture 1. My first lecture I try to do: \renewcommand{\chaptername}{Lecture} but nothing happen. I try to ...
user avatar
  • 3,506
1 vote
1 answer
142 views

koma-script style section titles

Currently I'm using \newcommand{\newchapter}[1]{\rule{\linewidth}{0.25pt} \vspace*{-0.30cm} \\ \textbf{\textcolor{red}{\Large #1}} \vspace*{-0.15cm}\\\rule{\linewidth}{0.25pt}\par} to make section ...
user avatar
  • 393
3 votes
1 answer
74 views

How to solve this false overfull warning?

Consider the following MWE: \documentclass[a4paper,parskip=true]{scrartcl} % PACKAGES LOADING \usepackage[T1]{fontenc} % To customise font. \usepackage{mathtools} % Math Packages \usepackage[utopia]{...
user avatar
  • 2,037
4 votes
1 answer
52 views

How to make scrbook work well with letter sized paper?

I tried using KOMA Script's scrbook with letter sized paper and got what to me seems strangely proportioned margins: \documentclass[letterpaper]{scrbook} \usepackage{lipsum} \begin{document} \chapter{...
user avatar
  • 433
1 vote
1 answer
53 views

Binding correcture (BCOR) on wrong side when using single A3 page in A4 document

I have one single A3 page in my scrbook to show a big figure in landscape format. My document is twosided with BCOR=17mm. On the single A3 page is a new chapter. So it starts on a uneven page and then ...
user avatar
  • 11
0 votes
0 answers
30 views

\restoregeometry does not immediately restore the geometry on the next page [duplicate]

The minimal working example below demonstrates a wrong placement of the page number on the first page after the appearance of the environment myenv. How can this be prevented? \documentclass{scrartcl} ...
user avatar
1 vote
0 answers
34 views

Enforce no pagebreak between a KOMA float (\DeclareNewTOC) and an mdframed environment

The code \documentclass[parskip=half]{scrbook} \usepackage{mdframed} \usepackage{lipsum} \usepackage{xcolor} \newmdenv[ usetwoside=false, leftmargin = \dimexpr-1em-3pt, innerleftmargin = 1em, ...
user avatar
  • 137
2 votes
1 answer
44 views

\DeclareNewTOC called twice leads to TeX capacity exceeded - why?

Given this code which calls \DeclareNewTOC twice yields a TeX capacity exceeded. Removing either the first or the second one lets the code compile. Any idea what goes wrong? \documentclass{scrbook} \...
user avatar
  • 137
1 vote
1 answer
42 views

How to include a symbol \S before the References in the TOC with includepdf?

The following MWE generates a white pdf that just contains a number “1” indicating its page number. Name it White.tex and make sure its output is named White.pdf. \documentclass{article} \begin{...
user avatar
  • 2,037
3 votes
1 answer
50 views

How to left align a TOC?

I am currently formatting a TOC. I am getting rid of the number of the chapters only in the TOC, as can be seen in the MWE below. \documentclass[a4paper]{scrbook} % PACKAGES LOADING \usepackage[...
user avatar
  • 2,037
1 vote
1 answer
65 views

How to change footskip in koma-script with scrlayer-scrpage pagestyle?

I feel like this is somewhat of a common problem where most people just give up on. What I want, is to reduce the space between the the text area and the footer. So there is less white space between ...
user avatar
1 vote
1 answer
36 views

typeset subsection-entries in TOC as justified text in scrbook

Typesetting a TOC is pretty straightforward, and so is customizing it. I would like to know if there is a simple way to turn this three-level TOC into this on the subsection-entry-level: Background: ...
user avatar
  • 616
0 votes
1 answer
43 views

How to remove part name from both ToC and document?

I am writing a major report in Norwegian. I need to remove the fixed name - and numbering of the document's parts. The MWE shows where I am at. The MWE produces a good ToC, but the parts page retains ...
user avatar
  • 1,299
0 votes
1 answer
53 views

A3 paper landscape in A4 portrait document with same margins

I want to have some A3 landscape pages in my A4 portrait document. These should have the same margins as the A4 pages. I tried the solution of A3 Paper landscape in A4 portrait document with same ...
user avatar
  • 1
1 vote
1 answer
59 views

Change the style of the table of contents in appendix

This question was asked in the StackOverflow Russian segment, but was not answered. The question was translated automatically with some corrections, I hope I can get an answer to it here. I am doing ...
user avatar
  • 13
1 vote
1 answer
36 views

Layout problem with KOMA-Script and dictums

I have two problems when using dictums with KOMA-Script. There is no space between the dictum and the following paragraph. The first paragraph chapter starts with an indent. I'm able to make it look ...
user avatar
1 vote
0 answers
39 views

I'm working with MiKTeX, TeXstudio and writing letters with KOMA-Script and get the following warning "Unused global option(s): [dieter]."

My dieter.lco file includes besides personal information the following lines \ProvidesFile{dieter.lco}[2022/01/08 scrlttr2 options] \RequirePackage{ngerman} \RequirePackage{fix-cm} \...
user avatar
  • 11
1 vote
1 answer
37 views

How to get \hyperref[…]{custom expression} in small caps?

Consider the following MWE: \documentclass[a4paper]{scrartcl} \usepackage{amsthm} \makeatletter \newtheoremstyle{style3}{\topsep}{}{}{}{\scshape}{}{ }{\thmname{#1} \thmnumber{#2} --- \thmnote{#3}.} ...
user avatar
  • 2,037
1 vote
1 answer
52 views

How to get rid the additional dot at the end of “Appendix A.”?

Consider the following MWE: \documentclass[a4paper]{scrartcl} % PACKAGES LOADING \usepackage[title]{appendix} \usepackage{cleveref} \usepackage{secdot} \begin{document} See \cref{aa} for details. ...
user avatar
  • 2,037
0 votes
0 answers
27 views

rotating page instead of table [duplicate]

I am writing a long document using scrbook. It will have a main part and several appendices, some of them with large (almost full page) tables. I am preparing it as it will be printed (twosided, ...
user avatar
0 votes
1 answer
61 views

How to center a rotated table in the page

I need to import a lot of Microsoft word tables in the appendix of my scrbook document. I used Writer2Latex Libreoffice extension to convert them, I had to rotate them, because the original tables ...
user avatar

1
2 3 4 5
43