Stack Exchange Network

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

0
votes
0answers
16 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
43 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
31 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
18 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
43 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
98 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
55 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
89 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
122 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, ...
0
votes
0answers
33 views

PDF inbound as appendix while keeping document style

In 2014, there was found a solution for the following problem: In my appendix, I want to add several PDF documents (questionnaires) which I used in a study. I managed to implement an appendix and ...
4
votes
4answers
135 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
41 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
50 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
42 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 ...
2
votes
2answers
60 views

Vertically align two side-by-side minipages at the bottom of the page

MWE: % !TeX program = xelatex \documentclass[paper=A4,fontsize=12pt,titlepage]{scrartcl} \usepackage{showframe} \begin{document} \begin{titlepage} \raggedright { Some text } ...
6
votes
2answers
161 views

BibLaTeX long URL extending into border despite using biburllcpenalty

MWE: test.tex: % !TeX program = xelatex \documentclass[paper=A4,fontsize=12pt]{scrartcl} \usepackage[left=3cm, right=3cm, bottom=3cm, top=3cm]{geometry} \usepackage{fontspec} \usepackage[backend=...
3
votes
1answer
51 views

How to center wide subfigures in classicthesis?

In a twosided ClassicThesis document, I want to put 2 TikZ pictures side by side, so that their total width is bigger than \textwidth. If I use KOMA's addmargin as described in this question, the ...
10
votes
1answer
130 views

fontspec changes indentation of biblatex bibliography

MWE: test.tex: % !TeX program = xelatex \documentclass[paper=A4,fontsize=12pt]{scrartcl} \usepackage{fontspec} \usepackage[backend=biber,style=authoryear,citestyle=authoryear]{biblatex} \...
3
votes
1answer
34 views

Why does setmonofont change the justifying of normal text using the same font?

I usually use a different font for URLs e.g. email adresses. Today, I tried to change it in a letter to use the same font als the normal text and it cancelled the justification in the main body of the ...
2
votes
1answer
37 views

Prepend “chapter” and “appendix” only for non-starred commands

I am using a KOMA Script class, and I want to prepend the words "Chapter" and "Appendix" to chapter headings, but only if the chapter was created using a non-starred command (i.e., it has no number/...
0
votes
1answer
63 views

Full page orientation change

I am trying to to change a full page orientation with text, header and footer. I found that using KOMA scripts is working better that lscape in my case, especially with header / footer orientation. ...
2
votes
1answer
41 views

How to modify the headsepline (KOMA) regarding its position (centering/flushleft)

Consider this MWE \documentclass{scrbook} \usepackage{scrlayer-scrpage}% sets page style scrheadings \newlength\ratio \setlength{\ratio}{2cm} \usepackage[ % page layout modifications paper=...
-1
votes
0answers
20 views

Too much space after new Paragraph [duplicate]

There are randomly huge spaces after new paragraphs. Somehow it seems connected to the DIV-option. Here's my preamble: \documentclass[DIV=calc]{scrbook} \usepackage[onehalfspacing]{setspace} \...
3
votes
2answers
135 views

Modifying toc in KOMA-Script

I have found out that, in KOMA-Script, I can modify the TOC (see the KOMA-manual, page 72). It can be done by using the option toc. However, how do I use this option? To which command do I have to ...
5
votes
3answers
91 views

Missing vertical space around a theorem environment when using enumitem

When a theorem environment (defined via amsthm) is used inside of an enumerate environment, then some vertical space around the theorem environment seems to be missing. \documentclass[a4paper,10pt]{...
1
vote
1answer
46 views

KOMAscript gives error when using parenthesis within options

Coming up from my previous question How to use equal sign inside class option with pgfopts I switched the base class from article to scrartcl and ran into a compile error. l.451 \...
0
votes
0answers
36 views

Converting Titlesec/toc to pure KOMA-script

I'm trying to create my own template using a mishmash of copy-pasted, then modified code. I'm hoping that those of you more knowledgeable than me with LaTeX/titlesec/KOMA-script (i.e. most of you) ...
0
votes
1answer
32 views

Chapterthumb only at first page of chapter

I would like to include a chapterthumb in my document. However it only appears on the first page of the chapter. Thank you for your help :). This is what I included: \usepackage{chapterthumb} \...
2
votes
1answer
30 views

Center scrlayer-scrpage head-text within header

I have used the power of google + copy/paste to get a header with a look I like, solid band of colour + text. However unfortunately the text isn't centered within the band, and I'm not sure how to ...
1
vote
2answers
45 views

Redefine \chapter to add \printMiniToc

I want every chapter to have \printMiniToc after it. However I don't want to have to add \printMiniToc after every \chapter. So I tried using etoolbox and tried this: xapptocmd{\chapter}{\...
1
vote
1answer
46 views

Header with Section short title and Chapter short title using KOMA-script

I'm trying to set header with Chapter title on the right and Section title on the left (with appropriate numbers in front of them). Also, I need to use short titles for header and long titles for ToC. ...
4
votes
1answer
34 views

Fill pdfinfo metadata with \usekomavar{} not working

I'm using scrlttr2 and I want to fill in the pdfinfo metadata with already existing komavars. \documentclass[]{scrlttr2} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{lipsum} \...
3
votes
2answers
105 views

\RedeclareSectionCommand introduces paragraph indentation

When using \RedeclareSectionCommand a paragraph indentation is introduced: \documentclass{scrbook} \usepackage{blindtext} \RedeclareSectionCommand[beforeskip=0pt]{chapter}% introduces a paragraph ...
1
vote
1answer
23 views

How to use 'includefoot' of 'geometry' only on 'plain.scrheadings' pages and not 'scrheadings' pages?

I have the following layout: \documentclass{scrbook} \usepackage{blindtext} \usepackage[left=1.9cm, right=1.9cm, bottom=2.23cm, top=2.23cm]{geometry}% specific requirements \usepackage[markcase=...
3
votes
0answers
37 views

Incompatibility between french babel and KOMA-Script letter class?

I want to compile a letter in French using KOMAScript (2018/03/30 v3.25) and choosing 'french' as an option for babel. When I am running the following minimal example using TeXLive 2018 on a Mac, \...
0
votes
0answers
36 views

KOMA Report: how to set the distance between page border and page number on top of page

Using KOMA Report, I want have the page number in the top center, 1.25 cm away from the top page border, and maintain a top margin of 2.5 cm. I am using \usepackage[top=2.5cm]{geometry} with \...
1
vote
2answers
80 views

How to set exact margins in KOMA-Script Report

I am creating a document using the KOMA-Script class scrreprt. It is to be handed in and the requirements specify the following page layout: A4 paper One-sided print Margins: left 3.5 cm (2.5cm ...
4
votes
1answer
84 views

Why the symbols are not equals at their size?

Here is the MWE: % Preview source code %% LyX 2.3.1-1 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[a4paper,...
1
vote
1answer
38 views

How do I make underlined titles at KOMA-script?

I trying to make underlined title (of the parts) at KOMA-script, but it doesn't works well.... Can you guide me how to do this? Here is MWE: % Preview source code %% LyX 2.3.1-1 created this ...
1
vote
1answer
39 views

How do I center the part title at KOMA-script?

I want to centering the title of the part, and it's not working: \renewcommand*\raggedpart{\centering} \setkomafont{part}{\itshape\fontsize{26pt}{26pt}\selectfont} \setkomafont{partnumber}{\...
1
vote
1answer
32 views

change font in komacv

I want to change the font here: \documentclass{komacv} \begin{document} \section{M} \cvitem{M}{M} \end{document} to be the same as here: \documentclass{scrlttr2} \KOMAoptions{fontsize=11pt} \...
0
votes
2answers
31 views

Why subfig renders wrong caption numbering with custom macro?

Subfigures display the wrong caption number when wrapping them in a custom macro. The funny thing is, without the macro, but with technically the same commands, the caption numbers are correct. With ...
0
votes
0answers
13 views

2 Different Glossaries at 2 Different Positions in Paper

I would like to have 2 different glossaries: * first is "abbreviations / acronymes" that should appear before the main text * second one is "glossary" that should appear after / as an appendix (we ...
1
vote
2answers
112 views

etoc with hyperref and \addchap

I have a problem when using etoc, hyperref and the KOMA-script-command \addchap: \documentclass{scrbook} \usepackage{etoc} \newcommand*\chaptertoc{ \etocsetnexttocdepth{2} \etocsettocstyle{\...
0
votes
0answers
46 views

How do I change the ToC style at KOMA-script?

I follow the instructors here: How to prevent from the part name to be at new line? (I ask it because I want to change the display of the parts at my document). It works fine,but at the ToC, the part ...
3
votes
1answer
26 views

scrheadings ignored by document

I used to be able to get head/foot-ers with (perhaps a subset of) this set up, not anymore: it displays only Foo, Bar and Baz on pages 1, 2 and 3, respectively. Any suggestion as to what could be ...
0
votes
1answer
35 views

How to prevent from the part name to be at new line?

I using KOMS-script, and I look at this question: Modifying \part style in KOMA, for changing the part style. My question is: How do I prevent from the part name to be in a new line.... Thank you!
1
vote
0answers
23 views

Section numbers do not display correctly when Hebrew is loaded as other language by polyglossia [duplicate]

I am using the polyglossia package to write a document which contains English text and a few Hebrew names. There seems to be problem with bidi and scrbook as soon there is an appendix. In this case ...
1
vote
1answer
27 views

tex4ht fails with scrartcl class when defining \rm command. Argument of \popthree has an extra

This MWE compiles OK with lualatex and pdflatex but fails with tex4ht. Why? And this happens only when using scrartcl and not with article. \documentclass[11pt]{scrartcl}%{article} \...
1
vote
0answers
53 views

Section Design for Poetry Book

After finishing my thesis I am starting to write a book with all my poems. Due to my thesis I am used to scrbook class and can handle koma script a bit. But I fail at adjusting the section headings. ...