Tag Info

Hot answers tagged

8

I seem to remember that the consensus is that it comes from the name of the developer: Kohm, Markus. Sadly I can't find a source ATM. In the history section of the scrguide he only states Ich will hier nicht näher auf die Wirren eingehen, die es um die offizielle Nachfolge von Script gab und warum dieser neue Name gewählt wurde. which basically ...


8

One way, compatible with the package tocstyle you are using, is to add \settocstylefeature{pagenumberbox}{\hbox} MWE \documentclass[% paper=A4, twoside=true, fontsize=12pt, titlepage=true, listof=totoc, bibliography=totoc, listof=flat, open=right, cleardoublepage=empty, headsepline=true, footsepline=false, ...


6

Recommendation When you use \patchcmd, it is really important to put markers in for when things stop working e.g. \patchcmd{\@@makechapterhead} {\size@chapter{#1}} {\size@chapter{\parbox[b]{\dimexpr\textwidth-4cm\relax}{\raggedright#1}}} {\typeout{great}} {\typeout{too bad}} which shows you that the patch is not successful when you examine the output. ...


6

I don't know how this can be done in LyX, but those are options to be passed to the document class. MWE: \documentclass[headings=openany,headings=big]{scrbook} \begin{document} \chapter{First chapter} \chapter{The Big Vacation} \end{document} Output: BTW: if you want to reduce the size of headings titles you have to use headings=normal and not ...


6

With the latest version of KOMA-script, you can declare \RedeclareSectionCommand[afterskip=-.5em]{subsubsection} MWE: \documentclass{scrbook} \usepackage{blindtext} \RedeclareSectionCommand[afterskip=-.5em]{subsubsection} \begin{document} \chapter{A chapter heading} \section{A section heading} \subsection{A subsection heading} \blindtext ...


5

Under memoir, the following works: \documentclass{memoir} \usepackage{hyperref} \newif\ifhyperrefindesclabel \makeatletter \renewcommand{\descriptionlabel}[1]{% \let\oldhyperref\hyperref% Store \hyperref in \oldhyperref \hyperrefindesclabelfalse% No \hyperref in description \renewcommand{\hyperref}[2][]{% Update \hyperref to ...


5

It's normal. When the T1 font encoding is active, the cm-super fonts are loaded by default, which do not have exactly the same design as their Computer Modern counterparts. In particular, the cm-super fonts (or rather the EC fonts of which they are a vectorization) have much more "optical sizes" than Computer Modern, especially the sans serif family. See ...


4

The source of the difference is not the different design but the the available font sizes: Without fontenc, in OT1 encoding, for the section title a 10pt font (cmssbx10.pfb) is used which is scaled to 14.4pt. This gives a rather bold looking font. With T1-encoding a font designed for 14.4pt is used (sfsx1440.pfb). If you like the bolder look then you can ...


4

You can use \enlargethispage. I also changed somewhat your code: better using \vspace than \vskip and just a \centering declaration. \documentclass [fontsize=14pt, paper=a4, pagesize, DIV=calc] {scrartcl} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{showframe} %%% just for the example \usepackage{paratype} ...


4

Looking for typographical beauty in a double spaced document is a lost in advance battle. You can limit the damages with something like this: \documentclass{scrreprt} \usepackage{array,tabularx} \usepackage{setspace} \newenvironment{conditions}[1][where:] {\begin{minipage}{\textwidth} \vspace*{-.5\belowdisplayskip}% \linespread{1}\selectfont #1 ...


4

There was a bug regarding the option footsepline in KOMA-Script version 3.12 and 3.13, see www.komascript.de/release3.13 (German). Update your KOMA-Script to version 3.15. If that is not possible - for example Overleaf still uses version 3.12 - change the order in your preambel to %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Adding headsep- ...


3

Just let it calculate a DIV value and tell it a papersize: \documentclass [fontsize=14pt, paper=a4, pagesize, DIV=calc] {scrartcl} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \begin{document} Your introduction goes here! Some examples of commonly used commands and features are listed below, to help you get started. If you have a question, ...


3

1. The signature To add the company name in the signature, you have to redefine the KOMA-variable signature. Here is how I have set up my system: In a general company .LCO \newkomavar{companyname} \setkomavar{companyname}{Incognito Ltd} \setkomavar{fromname}{Nomen Nescio} \setkomavar{signature}{\usekomavar{fromname}\\% ...


3

Use \renewcommand{\pagemark}{{\usekomafont{pagenumber}{\thepage}}} in your preamble. This removes \pagename\ (note the space) from the page numbering scheme. \documentclass{scrlttr2} \usepackage[german]{babel} \usepackage{lipsum} % Remove '\pagename\ ' from \pagemark \renewcommand{\pagemark}{{\usekomafont{pagenumber}{\thepage}}} \begin{document} ...


3

Note that the package scrpage2 is deprecated. The successor is scrlayer-scrpage. Then you can simple use a starred version of \automark to get the desired result: \usepackage[headsepline]{scrlayer-scrpage} \automark[section]{section} \automark*[subsection]{} Example: \documentclass[twoside]{scrartcl} \usepackage[headsepline]{scrlayer-scrpage} ...


2

you can do that like this paper=5cm:3cm, DIV=calc,


2

You can load the package scrlayer (part of the KOMA-Script bundle) and define your a special pagestyle for the titlepage. \usepackage{scrlayer} \DeclareNewLayer[ foot, foreground, contents={% \raisebox{\dp\strutbox}[\layerheight][0pt]{% \parbox[b]{\layerwidth}{\centering City\par Date}}% } ]{titlepage.foot.fg} ...


1

The author of KOMA-script added an easy to use interface to redeclare sectioning commands (chapters and parts as well). In my opinion, it is much simpler than using titlesec ;-) Of course, you need a fairly recent KOMA-bundle. \documentclass{scrartcl} \RedeclareSectionCommand[afterskip=-1em,%negative value -> runin font=\large\normalfont%match the font ...


1

The answer of this question solves also the problem if adapted accordingly: \usepackage[automark,headsepline,komastyle]{scrpage2} \pagestyle{scrheadings} \renewcommand*\sectionmark[1]{% \markboth {\MakeMarkcase{\sectionmarkformat#1}} {\MakeMarkcase{\sectionmarkformat#1}}} Here it is important that the \renewcommand appears after ...



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