# Tag Info

## Hot answers tagged koma-script

6

As explained in the manual, a negative value for beforeskip disables indentation before the text following the heading; a positive value keeps the indentation. \documentclass[a4paper,11pt]{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage[]{blindtext} \usepackage{leading} \leading{13pt} \recalctypearea ...

5

You can change the separation between items (itemsep) within the acronyms-environment. The change is trapped inside and cannot escape. \documentclass{scrreprt} \usepackage{acro} % class `abbrev': abbreviations: \DeclareAcronym{ny}{ short = NY , long = New York , class = abbrev } \DeclareAcronym{la}{ short = LA , long = Los ...

5

book, report and article are all generated from the same source (classes.dtx) and the differences that you mention are essentially the only differences there are. If they were no such differences then essentially there would only be one standard class. By design, article omits the \chapter level, to make it slightly easier to combine articles into a report ...

5

Using \RedeclareSectionCommand you only have to change the style key to style=section and to set indention=0pt for part. Additionally you have to redefine partformat to insert a space between the part number and the title: \RedeclareSectionCommand[style=section,indent=0pt]{part} \renewcommand\partformat{\partname~\thepart\autodot\enskip} Code: ...

4

uarial is not really a suitable sans serif. But if you really want you should use T1-encoding with it \documentclass[paper=a4,bibliography=totoc,listof=totoc,toc=indent]{scrreprt} \usepackage[T1]{fontenc} \usepackage{uarial} \usepackage{enumitem} \begin{document} \begin{description}[style=nextline] \item[Some Item] with some Text \end{description} ...

4

Use the documented interface to change the appearance of structural commands in the toc and mid-document. \documentclass[a4paper,12pt,bibliography=totoc,listof=totoc,toc=indent]{scrreprt} \RedeclareSectionCommand[tocindent=1em]{section} \RedeclareSectionCommand[tocindent=1.5em]{subsection} \RedeclareSectionCommand[tocindent=2em]{subsubsection} ...

3

You can redefine the indentation in the table of contents as described here. The example below shows how your code could be modified: \documentclass[a4paper,12pt,bibliography=totoc,listof=totoc,toc=indent]{scrreprt} \setcounter{tocdepth}{3} \setcounter{secnumdepth}{3} \makeatletter \renewcommand*\l@section{\@dottedtocline{1}{0.5em}{2.3em}} ...

2

Here I copied the definition of section in scrartcl.cls and added it to a redeclaration of the \part sectioning command: \makeatletter \RedeclareSectionCommand[% style=section,% level=0,% indent=\z@,% beforeskip=-3.5ex \@plus -1ex \@minus -.2ex,% afterskip=2.3ex \@plus.2ex,% tocindent=0pt,% tocnumwidth=1.5em% ]{part} \makeatother See the ...

2

The third page of the table (to show referencing): \documentclass[fontsize=12pt,paper=letter,headings=small,bibliography=totoc,DIV=9,headsepline=true,titlepage=on]{scrartcl} \usepackage[spanish,mexico]{babel} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX,Mapping=tex-text} \usepackage{xunicode} \setmainfont[ ItalicFont = SourceSerifPro, ...

2

It is quite easy with a recent version of KOMA-script. You can redefine the appearrance of chapter and section-commands using a key-value-syntax. In your case, you need to add just one line \RedeclareSectionCommand[tocnumwidth=8em]{section}. The value of 8em is chossen by looking at the output. I changed the numbering of sections a bit, just to make it more ...

2

think I found a good solution in this thread \documentclass[ fontsize=12pt, twoside, a4paper, parskip=half, ngerman, headings=big] {scrreprt} \usepackage[english,german]{babel} \usepackage[utf8]{inputenc} \usepackage{color} \usepackage{blindtext} \usepackage{etoolbox} \DeclareMathAlphabet\EuRoman{U}{eur}{m}{n} ...

2

Here is a another suggestion \documentclass[ fontsize=12pt, twoside, a4paper, parskip=half, ngerman, headings=big, open=right ] {scrreprt} \usepackage[english,german]{babel} \usepackage[utf8]{inputenc} \usepackage{color} \usepackage{blindtext} %\usepackage{showframe} \DeclareMathAlphabet\EuRoman{U}{eur}{m}{n} \SetMathAlphabet\EuRoman{bold}{U}{eur}{b}{n} ...

1

From the fancyhdr manual (p. 7) Some LaTeX commands, like \chapter, use the \thispagestyle command to automatically switch to the plain page style, thus ignoring the page style currently in effect. To customize even such pages you must redefine the plain pagestyle. You could therefore write (adapted from the same manual, one page later) ...

1

The command \opening does more than printing the greeting: It sets up the first page. So if you want something to affect only "the text body" it is better to start if after \opening. So move \begin{onehalfspacing} behind \opening{...}.

1

Here is a suggestion redefining \sectionformat. And you can redefine \addchaptertocentry and \addsectocentry to get the desired entries in the table of contents. As already suggested by Johannes you can use \RedeclareSectionCommand or \RedeclareSectionCommands to change the space for the chapter and the section numbers in the table of contents. ...

1

Command that format (sub)section number in the heading is \@seccntformat Here is what we can do \documentclass[twoside=true, openright, pdftex, bibliography=totoc, chapterprefix=true, appendixprefix=true, numbers=noenddot, parskip=half, titlepage, index=totoc, headlines=3, footlines=2, headings=normal]{scrbook} \usepackage{xcolor} \usepackage{tocstyle} ...

1

The command \setfootnoterule is defined both by the class memoir and the package scrextend. Changing the class e.g. to scrbook seems to work fine.

1

Default page style of the chapter pages is the plain style of the current pair of page styles. If this pages should have the same background as the other pages of the chapter you have to add the line \AddLayersAtBeginOfPageStyle{plain.contbackground}{text.bg,margin.bg}

Only top voted, non community-wiki answers of a minimum length are eligible