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.

KOMA-Script is a bundle of classes and packages. The classes scrartcl, scrbook, scrreprt, and scrlttr2 are extended replacements for the standard classes article, book, report and letter, providing a lot more features for customization.

The KOMA-Script bundle contains packages which may also by used together with other classes, e.g. scrlayer-scrpage as alternative to fancyhdr for customizing header and footer.

Support for KOMA-Script is also available online (german only).

2309 questions
103
votes
8 answers

Why should I *not* use the KOMA-Script classes?

I've heard a lot of recommendations to use the KOMA-Script document classes in place of the base document classes. I appreciate that there is a lot of added functionality, and customisation is easier. But before I jump in, I would like to know of…
naught101
  • 8,224
9
votes
1 answer

Why does scrartcl produce a line break within headings after a line-wrapped word?

When using \documentclass{article}, the MWE \documentclass{article} \begin{document} \section{methyl\-methyl\-methyl\-methyl\-methyl\-methyl\-methyl\-methyl\-methyl\-methyl\-methyl (Compound 1)} \end{document} will produce: If, however, the…
tstone-1
  • 467
  • 4
  • 13
9
votes
1 answer

Usage of deprecated font command `\rm'! (KOMA-script)

I am using the scrreprt documentclass and I keep getting the warning: Usage of deprecated font command `\rm'!(scrreprt) You should note, that in 1994 font command `\rm' has(scrreprt) been defined for compatiblitiy to Script 2.0 only. Using a MWE,…
user2536125
  • 1,165
8
votes
1 answer

unexpected behaviour of \addtokomafont

Regarding the following two examples my question is: Is it a bug or is it a feature (or do I miss something)? \documentclass{scrbook} \usepackage{xcolor} % \addtokomafont{sectioning}{\color{green}} \addtokomafont{chapter}{\color{green}} …
Jürgen
  • 2,160
8
votes
1 answer

KOMA-Script and vertical spacing after paragraph headline

I'm currently having troubles changing the vertical spacing from a paragraph headline to the succeeding body text. What I want to have is a newline after the paragraph heading. As I understood the new \RedeclareSectionCommand applies afterskip=1sp a…
hetsch
  • 467
8
votes
1 answer

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 to add my personal information in the first page…
Abellan
  • 761
8
votes
1 answer

Add frommobilephone to scrlttr2

I would like in my document to have fromphone and frommobilephone, but \KOMAoptions doesnt support frommobilephone... as i searched in the Internet for solution, i found a lco file from Dr. Michael Ebner, which i find very nice still, but neither…
Eagle
  • 2,559
7
votes
2 answers

KOMAscript - Table of content TOC without dots for sections

I would like to have no dotted line between the sections and the page number (like for chapters). The switch I have included seem not to work (but it works for the chapter: I can have dotted lines if I set it to true). What is wrong?…
user855443
  • 1,120
6
votes
1 answer

convert titlesec code to something KOMA-script like

I know that it is not a good idea to use titlesec together with KOMA script, but it worked in the past. Now it does not work and since I rely on KOMA script I would like to replace the remaining titlesec code with something more generic or at least…
6
votes
1 answer

Koma script description environment specific font

The font for description environment can be changed by using the \setsansfont in koma classes. Is there a way to be more specific, like \addtokomafont{disposition} is for headings?
ipavlic
  • 8,091
5
votes
1 answer

customize subsubsection with koma script

I want to define my own style for section, subsection and subsubsection, with koma script (I know how to do with titlesec, but I need the "koma's version"). I have success with the section and the subsubsection, but not with the subsubsubsection. I…
Stan
  • 173
4
votes
0 answers

Undefined control sequence on \subtitle

Using the very simple LaTeX document below, named test.tex: \documentclass{scrartcl} \begin{document} \title{(Title)} \subtitle{(Subtitle)} \author{(Author)} \maketitle \end{document} When running latex test.tex, I am getting the error reported…
4
votes
3 answers

KOMA-script: Write "Appendix" in the table of contents

I have \newcommand*{\appendixmore}{% \renewcommand*{\sectionformat}{% \appendixname~\thesection\autodot\enskip}% \renewcommand*{\sectionmarkformat}{% \appendixname~\thesection\autodot\enskip}} from the KOMA-script p. 517, causes the word…
haver
  • 353
4
votes
2 answers

How do I get the title, author, and date flush left with KOMA's scrartcl?

I'm using the scrartcl class provided by KOMA to write all my reports. I'd like the title, author, and date to be flush left (instead of centered). Following a hint I found once on a german-speaking forum, I tried the…
lindelof
  • 1,087
4
votes
2 answers

Page header too high with scrlayer-scrpage

I'm designing an exercise sheet and need some help with the header. It looks as it should with my code, but is way too high on the page. Changing the headheight does not seem to have any effect, only that LaTeX complains if i choose it too low. Is…
Timitry
  • 275
  • 3
  • 8
1
2 3 4 5 6