Hot answers tagged

12

KOMA has two different systems to setup the font sizes: A (small) number of fontsize options (8pt, 9pt, 10pt, 11pt, 12pt, 14pt 17pt, 20pt) load a scrsizeXX.clo (from KOMA) or (if found) sizeXX.clo (from the extsize package) where designated fontsizes are declared. You can add more options to this list by writing a suitable sizeXX.clo or scrsizeXX.clo. In ...


11

KOMA-Script supports several ways to set the font size. First of all, if you want fontsize=<value> it tries to load a font size definition file \@fontsizefilebase<value>.clo. If this is not found, it tries \@fontsizefilebase<value>pt.clo. If this is not found, it tries size<adapted value>.clo. <adapted value> is the font size in pt but with ...


4

All chapters centred If all chapters should be centered use \renewcommand*\raggedchapter{\centering} Code: \documentclass{scrbook} \renewcommand*\raggedchapter{\centering} \usepackage{blindtext}% dummy text \begin{document} \tableofcontents \addchap{Unnumbered chapter} \blindtext \chapter{Numbered chapter} \blindtext \end{document} Only ...


4

Here is a suggestion using a KOMA-Script class together with package footnotebackref: \documentclass{scrartcl} \usepackage{footnotebackref} \deffootnote{1.5em}{1em}{% \textsuperscript{\hyperref[\BackrefFootnoteTag]{\thefootnotemark}}\,% } \usepackage{blindtext}% dummy text \begin{document} Something here\footnote{foo} \blindtext[2] And another footnote ...


4

I would suggest to use scrlayer-scrpage. This package is the successor of the deprecated scrpage2. With both packages you can use \automark to define a section level that sets a right mark. But scrlayer-scrpage provides a starred version \automark* to define an additional section level that sets a right mark too. \documentclass[ paper=128mm:96mm, ...


4

This is not really a answer to the question. I think it is not possible to "translate" the titlesec commands in a general way to KOMA-Script commands. They are using different approaches. So here is only an overview of some possible ways. The relevant KOMA-Script commands and options are \RedeclareSectionCommand, \RedeclareSectionCommands, ...


4

Unfortunaly there is no MWE in your question. So I can only guess what you are doing. \documentclass{scrartcl} %\documentclass{scrreprt} %\documentclass[abstract]{scrreprt} \usepackage{lipsum} \usepackage{etoolbox} \AtBeginEnvironment{abstract}{\footnotesize} \begin{document} \begin{abstract} \lipsum[1] \end{abstract} \section{A Section} \lipsum ...


4

Just add class option fromemail=true, or fromemail=on, to your code. MWE: \documentclass[ fontsize=11pt, paper=a4, parskip=half, enlargefirstpage=on, % More space on first page fromalign=right, % PLacement of name in letter head fromphone=on, % Turn on phone number of sender fromrule=aftername, % Rule after sender name ...


3

With afterskip=0pt or a negative value of afterskip there will be no line break after a section like heading. There will be a horizontal skip instead the vertical skip. So you have to use at least afterskip=1sp for section, subsection and subsubsection. The sectioning commands use \par that have a glue. Because twosided KOMA-Script documents use ...


3

Command \areaset from package typearea (KOMA-Script bundle) sets the dimensions of the text body, i.e. the width and the height of the text area and as optional argument a binding offset (BCOR). As a result of the layout calculation by typearea the foot margin will be be nearly twice as high as the top margin. So it is not possible to get your desired ...


3

This works out of the box for me with footnotebackref, the loading of hyperref is done by footnotebackref already. \documentclass{article} \usepackage{footnotebackref} %\usepackage{hyperref} \usepackage{blindtext} \begin{document} Something here\footnote{foo} \blindtext[2] And another footnote is here\footnote{foobar} \end{document}


3

You missed in your bib entry two ": PAGES = "390--400" Adding them your MWE compiles. BTW: better use {...} instead of "...". But now you get only an empty bibliography because you did not cite any bib entry in your MWE. Please see the following MWE. It comiles and because I added command \nocite{*} (to test all bib entries!) it shows an ...


3

Thanks for adding the list of used class, packages and versions to your question. Sharelatex uses an outdated version of KOMA-Script. Please compare the following list (with my current MikTeX 2.9) with yours. Please note that the current version of TeX Live is version 2015, now frozen. Soon version 2016 will be brought out. List of class, packages and ...


3

I do not really understand want you want to do and version 3.12 is really old. My oldest version for testing is 3.16, current version on CTAN is 3.19a. But you have to change the font element chapter to get it visible on the black background. To shift it up use a negative value for \vspace*. \documentclass{scrbook} \usepackage{lmodern}% <- added ...


3

Unfortunaly there is no MWE in the question. So I do not know which KOMA-Script class is used and if the document is onesided or twosided. So here is an example for twosided scrbook using geometry and scrlayer-scrpage. If you use the outdated package scrpage2 or fancyhdr (not recommended for use with KOMA-Script) see here. ...


2

There are four predefined page styles that can be used with KOMA-Script class without loading an additional package for header and footer. You can use \pagestyle{plain} to get the page number in footer but an empty header. empty: header and footer are empty headings: page number in footer, headings will be set by chapters, sections etc. myheadings: page ...


2

You can change the alignment of all section levels redefining \raggedsection. Default is \raggedright. But if you want to center the section titles do not set an indentf for it. \documentclass{scrbook} \renewcommand*\raggedsection{\centering} \RedeclareSectionCommand[ font=\fontsize{15}{10}\selectfont ]{section} \usepackage{blindtext} \begin{document} ...


2

In your MWE, the key Mooney2014 is not cited. Unused keys are not added to the list of references by default. A simple way to change this behaviour is \nocite{Mooney2014} or, of course, \cite{Mooney2014} (\nocite{*} for all unused keys).


2

Well, there are several problems in your code, some related to KOMA-Script, some to called, outdated packages. Your code gives you several warnings you should read and then change your code like this: \documentclass[% listof=totoc, bibliography=totoc, paper=a4, fontsize=12pt, parskip, % <==================== then \parindent not ...


1

My 2 cents to the question. I had the same problem with a thesis template, but I solved this issue by loading the geometry package (which is required in my document to get a B5 paper size) after the pdfx package and I had to do it in the template class. It may be useful to load a color profile (e.g. FOGRA39) in the metadata. See the pdfx manual for details. ...


1

I solved my problem with the enumitem package. \RequirePackage{calc} \newlength{\textleftmargin} \setlength{\textleftmargin}{3cm} \RequirePackage{enumitem} \setlength{\leftskip}{\textleftmargin} \setlist[itemize]{leftmargin=\textleftmargin} \setlist[enumerate]{leftmargin=\textleftmargin} ...


1

You defined in your code with line \renewcommand\raggedsignature{\raggedright} to get an left justified signature including closing text. Just change this line to: \renewcommand\raggedsignature{} then you will get the result you want. Please see complete MWE: \documentclass[ SN,%lco file for swiss letters (SN 010 130)) refline=dateleft, ...


1

To change the font of chapter entries in TOC to \mdseries use \addtokomafont{chapterentry}{\mdseries} To change the fontsize of all entries in TOC you can use \AfterTOCHead[toc]{\KOMAoptions{fontsize=10pt}} If the fontsize should be changed in lists like LOF or LOT too remove the optional argument. And if the size of the TOC heading should be changed ...


1

As it's impossible for me to actually see your MWE in action (Are you writing it in XeTex or LuaTeX?) and I can't comment on your question either, so I will answer here. I suggest you to use the package tocloft of Peter Wilson. %% Control the fonts and formatting used in the table of contents. \usepackage[titles]{tocloft} %% Use Helvetica-Narrow Bold ...


1

You can redefine \sectionlinesformat (needs KOMA-Script Version 3.19 or newer) and \subsectionformat. \documentclass[a5paper]{scrbook}[2015/10/03] \usepackage{xcolor,soul} \sethlcolor{black} \makeatletter \renewcommand\sectionlinesformat[4]{% \ifstr{#1}{subsection}% only subsections should be changed {\@hangfrom{\hskip#2 #3}{\hl{#4}}}% subsection ...



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