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

2
votes
1answer
88 views

How to tell LaTeX/Koma-Script about preamble of book?

Example code: \documentclass[paper=a5,titlepage=firstiscover]{scrbook} \title{Nunc rutrum turpis} \begin{document} \maketitle \cleardoublepage \thispagestyle{empty} % preamble: Lorem ipsum dolor ...
1
vote
2answers
19 views

Center Numbering Page in Koma-Script class in LyX

I am writing my thesis in LyX, using book koma-script document class. However, I need to make some changes in order my thesis fits to my university requirements. One of them is that the page ...
1
vote
1answer
66 views

change vertical position of footer in scrlttr2 from KOMA

I have a document that uses KOMA script. It is a scrlttr2. I want to set a footer, which I did with \setkomavar{firstfoot}{ bla bla bla } Now the bla bla is a little bit longer, too long for the ...
7
votes
1answer
159 views

Elements of Typographic Style subhead styles

Section 2.2 of Robert Bringhurst's The Elements of Typographic Style deals with vertical rhythm. I want to try out some of his lessons in scrbook, to hone my LaTeX skills. Specifically, I want to ...
1
vote
2answers
68 views

Any command from KOMA-Script to set part title and partnumber in one line?

Is there any command from KOMA-Script to set the part title and partnumber in one line and if the title is long enough to get wrapped, indentation would be applied to the second line (align with the ...
1
vote
0answers
20 views

Does numbers=autoenddot work in KOMA Script?

The guide of KOMA-Script (version 2015-07-02) has described how does KOMA-Script handle the periods at the end of numbers. According to: and Period should be added directly at the end of number ...
0
votes
2answers
29 views

Is there commands regarded to scrlayer-scrpage and modifies the chapter page?

Is there any commands in the scrlayer-scrpage that can modify the background of the chapter (first) page? For example, my inner contents have backgrounds like this: ...
2
votes
2answers
53 views

Compile Error: KOMA-script (scrextend) 'Command \setfootnoterule already defined'; Package clash?

I followed the instruction to indent a block of text in my document. So I added new package scrextend and simple code: \begin{addmargin}[1em] indented text text text \end{addmargin} but when I ...
4
votes
2answers
90 views

Decrease indent of TOC using scrreprt

Is there a short way to decrease the indent of the TOC? I think that the indent is too much since I use: \setcounter{tocdepth}{3} \setcounter{secnumdepth}{3} The whole definition is: ...
2
votes
3answers
65 views

Creating a documentclass with colored titles in koma-script

I am trying to create my own documentclass which fits my needs according to the use of colors. For a shorter description I put all corresponding things in the following working example: ...
22
votes
1answer
2k views

What packages are incompatible with KOMA-Script?

Triggered by the question why should I not use the koma script classes results practically necessarily a consequence question: What packages are incompatible with KOMA-Script? KOMA-Script offers ...
2
votes
1answer
41 views

I can't display complete a table made with ltablex

As you have seen in my last questions recently asked here, I'm working with tables. Usually with tabularx is enough for me to satisfy the needs that I have with my tables. But one of them, even when ...
0
votes
0answers
31 views

Read value of \KOMAoption for debugging purposes

I believe that something in my preamble does an unwished change on a \KOMAoption. In order to debug the latex code, I'd like to localize the problem by dumping the current value of this \KOMAoption. ...
1
vote
1answer
34 views

How to set page number on outer bottom side of the page in classicthesis?

I am using classicthesis along with a Koma-script class. I was able to put the page number on the outer bottom side of the page. But, a page number is still present in the heading and also it is ...
1
vote
1answer
621 views

Removing page footer and changing the page header in KOMA-SCRIPT chapters?

My chapters are using scrheadings, as well my entire document. How can I remove the footer, only in chapter pages, and produce a different header?
1
vote
1answer
51 views

Why am I getting “\dictumrule undefined.” or “Undefined control sequence. \dictumrule” error?

I realize this is a bit specific, but this is the only KOMA-Script command that has consistently produced an error, and it's driving me nuts because I can't find a solution anywhere (and I'm usually ...
2
votes
1answer
34 views

How to get rid of extra indentation before table in \extratile of class scrreprt?

If I use the following scrreprt document, the initial tabularx table is aligned with the left boundary of the text area: \documentclass[draft=true]{scrreprt} \usepackage{tabularx} ...
5
votes
2answers
122 views

Reproducing the Chapter-Picture Style of the Legrand Orange Book

I'm trying to reproduce the Chapter-Picture style of The Legrand Orange Book but with the scrbook class. Since the picture and chapter title is set by fancyhdr I can not just use the same code, as ...
3
votes
1answer
93 views

Same \chapterformat for \chapter and \chapter* without titlesec

I've done some styling for my chapter titles, based upon tikz and the titlesec package. Unfortunately, the KOMA-Script packages gives me numerous warnings about titlesec. In order to get rid of the ...
2
votes
1answer
65 views

Problems with scrlayer-scrpage

after getting the constant warning I shouldn't use fancyhdr with KOMA I decided to switch to scrlayer-scrpage. Unfortunately I can't get it to work despite of reading through the documentation. This ...
4
votes
1answer
107 views

scrlayer-scrpage: different styles for different pages

thanks to this site I was able to get a functional implementation of scrlayer-scrpage. \documentclass[12pt,headsepline,footsepline,plainfootsepline,plainheadsepline]{scrreprt} ...
11
votes
4answers
5k views

Two-sided document: reverse page margins for hardcopy

Background Wrote a manual in LyX. The PDF is two-sided. Using KOMA Script v2. The pages are 8.5" x 11". Problem The spacing on the margins is not printer-friendly, it is reversed: Since this ...
0
votes
1answer
60 views

Color Underline Section Headings

I would like to underline section headings using different colors (e.g. red for section, yellow for subsection). So far I have only achieved to change the text color of the headings (see code), but I ...
1
vote
1answer
100 views

Using TikZ breaks foot margin

I have got some unexpected Problem using TikZ in LaTeX. When I add TikZ via \usepackage{tikz}, the foot margin is doubled. Any ideas in how to solve this? Or where the Problem is? Minimal Examples: ...
1
vote
1answer
51 views

scrbook - How to place chapter to the left edge and section to the right edge on single-sided (!) documents?

Let's create a single-sided (!) document made in scrbook-class (e.g. scientific work) by setting \documentclass[twoside=false]{scrbook}. Working minimum-example: ...
1
vote
1answer
90 views

Crop A4 to specific paper size

I want to send a document to a publisher. The publisher prints books with the dimensions of the pages being 16.5cm x 23.5cm. Thus I am now layouting the final document with the help of the crop ...
6
votes
1answer
75 views

Newline after Section number / before Section title in KOMA Script

i have to adhere to a style guide which dictates newline after a chapter/section/etc number, i.e. instead of the usual 1.2 Heading its supposed to be 1.2 Heading This has to work for both the ...
1
vote
1answer
141 views

scrlttr2 documentclass options

I'm "getting angry" with the documentation of scrlttr2 class. I would see all the option I can include in that class. I have the manual of koma-script, but I can't find that doc. Can someone help me? ...
7
votes
1answer
226 views

Why is babel loaded automatically in my document?

I’m currently writing my thesis in LaTeX, using the scrreprt class and xetex for better language support. With xetex, I’m supposed to use polyglossia instead of babel. I did not load the babel package ...
4
votes
2answers
799 views

Left Justifying the Date with Scrlttr2

I would like to left justify the date in the KOMA-Script scrlttr2 class so that it aligns with the left margin of the body. I have no other data in the refline. This question helped me to get my ...
4
votes
2answers
168 views

logo made with tikz is bigger in scrlttr2 as in scrartcl

This is my first question here. From time to time I'm using LaTex to create some documents. Usually I'm able to get an answer from Google if I run into any obstacles. Now I'm unable to find any ...
5
votes
1answer
35 views

Overfull \hbox with komascript and \newlength in texlive 2015

The following mwe \documentclass{scrartcl} \usepackage[demo]{graphicx} \newlength{\testlength} \setlength{\testlength}{.75\linewidth} \begin{document} \includegraphics[width=\testlength]{demo} ...
1
vote
2answers
97 views

scrbook - How to add one horizontal line above and one below the chapter-entry without (!) using titlesec?

I want to add one horizontal line above and one below the chapter-entry as well. Before using the scrbook-class, I used this simple solution made by titlesec-package: \newpagestyle{headrules}{ ...
5
votes
1answer
76 views

scrbook - Three extremely simple questions about adjustment and font-styling

I have some (probably) really simple questions about a few adjustments in a scrbook-documents. Let's take the following minimum-example as the basis for my questions. Working minimum-example: ...
1
vote
3answers
70 views

How to unstyle styled macro in headings?

I have a macro that occurs very frequently in the text. At one occasion, it occurs inside a heading, which causes some problems: \documentclass{scrartcl} ...
1
vote
1answer
54 views

Option parskip reduces section width

Source: \documentclass{scrbook} \usepackage{titlesec} \titleformat{name=\section,numberless}[block]{}{}{0pt}{} \begin{document} \section*{Foo \hfill 1 January 1970} Lorem ipsum dolor sit amet, ...
1
vote
2answers
115 views

Tweakes to invoice

I need help fine tuning this document. I basically need three things: Get rid of the duplicate company information on top of "Client" Be able to stamp today's date automatically. I tried using ...
1
vote
2answers
851 views

scrbook page numbers margin problem

I was looking for the setting to adjust the vertical margin of the page numbers in the scrbook class but haven't found anything. I want to have them "nearer" to the page margin. ...
5
votes
2answers
355 views

scrpage2: Three “marks” for headings

As far as I know of the \automark command (scrpage2 package), it is only possible to mark two different "header-types" (e.g. sections and chapters). I'm searching for a way to mark an additional ...
0
votes
0answers
67 views

Strange Error after upgrading to MacTeX 2015

After the Upgrade to TeXLive 2015 the document of mine produces a strange pdf output. If you compile the given TeX file as it is, you see that the background grid on the first page is shifted. Now ...
2
votes
1answer
58 views

page margin for pages with chapter are wrong

I am having trouble with the marging of my thesis. I am using a template which worked perfectly for a previous paper some 2 years ago but now when I create a pdf the margin on pages containing a ...
6
votes
2answers
172 views

Section numbers colored

I want to color the section and subsection numbers in my document. I tried the solution here http://tex.stackexchange.com/a/193186/80972 but it doesn't work for me. Here's an example using that ...
3
votes
1answer
52 views

Inexplicable error after importing syntax package

I'm using the LaTeX-KOMA-template (based on KOMA-script as the name suggests) provided by Karl Voit for writing a thesis. I can compile the main.tex perfectly fine, until I import the syntax package. ...
0
votes
0answers
81 views

How to make a header show a continuing section's title?

Goal: I want the reader to know which section he is in, even if a section was page-wrapped. I've been using \renewcommand{\sectionmark}[1]{\markright{#1}} previously and then \fancyhead[C]{\sffamily ...
3
votes
1answer
62 views

How do I remove keyval options from a template class?

I want to create a template class based on scrreprt.cls but with fewer options. Specifically, I need to restrict the font size to 11pt or 12pt (while still passing other options on to scrreprt.cls in ...
2
votes
1answer
96 views

fromphone, fromemail and fromurl

I am using koma-script scrlttr2 to write a letter. \documentclass[12pt,foldmarks=true,foldmarks=blmtP, fromalign=right,fromrule=aftername, fromphone,fromemail,fromurl,subject=centered, parskip=full, ...
0
votes
0answers
28 views

Weird first page with cryptic content [duplicate]

TeXworks 0.4.5 r.1280 (MiKTeX 2.9) portable typesetting with pdfLaTeX Hi all, I have a weird problem with my latex document. Everything was fine so far until today a new page appears before my ...
3
votes
2answers
102 views

How to force KOMA-Script use headers/footers as standard classes?

It is known that KOMA-Script has more flexibility than standard classes. One example is the ability to use any font size (e.g., 11.5pt). One problem appears though, which is headers and footers ...
4
votes
3answers
3k views

Change \headheight for a \pagestyle

I have a document class that auto generates header from some user input. The problem is the first page should have a different page header than the others and the headline can be multi line. So ...
1
vote
1answer
115 views

get matlab-prettifier to work in pdflatex

in the min example below, I cannot get the file to compile as it complains that I must change my typesetting engine to xelatex or lualatex instead of plain latex or pdflatex. In my original program, ...