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

5
votes
2answers
74 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 ...
1
vote
1answer
43 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 ...
4
votes
1answer
55 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} ...
2
votes
1answer
48 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 ...
3
votes
1answer
65 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 ...
1
vote
1answer
71 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 ...
0
votes
1answer
47 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
96 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
77 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
63 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 ...
7
votes
1answer
219 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
163 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
30 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
1answer
43 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: ...
5
votes
1answer
67 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
2answers
76 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}{ ...
1
vote
3answers
66 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
2answers
111 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 ...
0
votes
0answers
60 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
56 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
164 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 ...
1
vote
1answer
50 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 ...
3
votes
1answer
45 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. ...
2
votes
1answer
89 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 ...
1
vote
1answer
50 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, ...
3
votes
1answer
60 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 ...
3
votes
2answers
90 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 ...
1
vote
1answer
108 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, ...
0
votes
2answers
26 views

Swap “Part” and corresponding number

I am trying to figure out how I can swap the word "Part" and the part's number in my document. The default style for \part{mypartname} is something like: Part I: mypartname However, I want it to be ...
6
votes
1answer
76 views

Typesetting lots of short footnotes

For a given book, I want to typeset lots of short footnotes on a page. The result is not looking very great. Here is the basic rendering, using scrbook with standard footnotes: Using ...
0
votes
1answer
59 views

Latex Error: Something's wrong--perhaps a missing \item for labeling environment

\begin{labeling} \item[ Frequency range: \SI{200}{\mega\hertz} to \SI{1000} {\mega\hertz} in steps of \SI{1}{\mega\hertz}] \item[ Stirrer positions: 36 ] ...
2
votes
1answer
184 views

scrartcl margins, font size and more

I'm asked to do a project in A4 format, 12 pt and with margins of 2.5 cm each. I usually work with scrartcl with default settings I don't how to start ( specially with the margins) Moreover, I want ...
2
votes
1answer
85 views

Komascript - resetting geometry inside the document

In Indenting text after numbered paragraphs I was given excellent advice on how to indent numbered paragraphs in Komascript, \newcommand\secnumindent{1.5cm} .. command for the section itself ...
2
votes
1answer
85 views

Left align location using Koma script

Is it possible to left align the place variable using the Koma script Latex class? I am using scrlttr2 for letter creation. I managed to make the date left aligned using ...
3
votes
1answer
47 views

scrlttr2 - how to add the fromrule into custom-made firsthead?

Starting point should be this simple minimum example with the fromrule below the senders name and the senders personal data aligned to the right hand side: \documentclass{scrlttr2} \KOMAoptions { ...
1
vote
1answer
86 views

How to adjust line spacing in wrapped chapter lines with KOMA-script?

I'm using scrbook. Some chapter titles are long and wrap, some of those even twice. When it goes on the third line, the spacing is different than that between the first and second lines. Looks ...
3
votes
2answers
62 views

Remove header from the page after TOC and LOF

I am using Koma-script book document class, twosides, and I also use the package \fancyhdr to modify my pages. The problem is that header appears both in the next page after TOC and after LOF, so I ...
6
votes
2answers
249 views

KOMA-Script: How to style the title of a chapter

How does one apply a custom styling to the chaptertitle in KOMA-Script? I know about the existence of the titlesec package but I've read that it doesn't play very well with KOMA-Script which outputs a ...
1
vote
0answers
108 views

Installing scrlttr2 – Koma-Script ‘letter’ class in LYX

I am having problem with installation of scrlttr2 – Koma-Script ‘letter’ class. I am unable to install it. I needed help on how to install it. I am using Windows Machine,my Miktex is located in the ...
3
votes
2answers
206 views

How to use special charakters like ° in heading of a letter

How to set an address with an ° (degree sign) on scrlttr2? Let's have this minimal example: \documentclass[fontsize=10pt,paper=a4,DIN]{scrlttr2} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
2
votes
1answer
113 views

BCOR not used inside scrreprt

I am trying to set the BCOR for my bachelor thesis. My preamble looks like this \documentclass[fontsize=12pt,a4paper,oneside, listof=totoc, % Tabellen- und Abbildungsverzeichnis ...
3
votes
1answer
72 views

How to replace fancyhdr to a right scrbook way?

I've seen is not right to use fancyhdr with scrbook, i've got a code with fancyhdr and i want to replace it to scrbook. This is the code: \usepackage{fancyhdr} \pagestyle{fancy} \lhead{TEMA 13} ...
3
votes
1answer
70 views

Unused global option in KOMAscript wrapper class

I want to write several classes, most of them will use KOMA classes as base class. However I stumbled upon the problem that some options (mainly concerned with layout) are not processed if given in ...
0
votes
1answer
55 views

How to avoid upper-case letters in the header?

I've used two indexes: \documentclass[a4paper,fontsize=11pt,headsepline,parskip=half-,index=totoc,BCOR=5mm,DIV=15]{scrreprt} \usepackage{imakeidx} ...
1
vote
1answer
114 views

Fonts used in scrrprt TOC

in a scrrprt document I'm using proportional old style numbers throughout, but I want to use monospace lining numbers for the pages in the TOC. I can use the chapterentrypagenumber font for the top ...
0
votes
1answer
44 views

Fit or Compress Text in scrbook [duplicate]

I would like to create a mass-market paperback size book using scrbook. The book in question is approximately 400 pages long at 6x9 dimensions. I would like the text to still be readable, but I'd like ...
1
vote
3answers
61 views

scrlttr2 - bad format

i have the following formatting problem writing a cover letter, using scrttr2`. The main text is very long, but as you can see from the given example - there is a lot of unused space. I want the ...
14
votes
2answers
845 views

Why do I get a warning about computer modern even though I'm using lmodern?

I would like to use KOMA script with a fontsize of 13pt (see very much related question here: Koma Script and real 13pt). Consider the following document: ...
0
votes
0answers
91 views

Scrbook headings style

I am trying to simplify the heading styles of the scrbook-class for use in my thesis, but am unable to find a way to stop the headings from being underlined and chapters being marked by their numbers. ...