Tag Info

Hot answers tagged

7

The command \othersectionlevelsformat, in latest versions of KOMA-Script, doesn't work as before any more (to say the truth I think it's there for backwards compatibility only). Now every sectioning command has its own formatting command. Here's a list: \partformat \chapterformat \sectionformat \subsectionformat \subsubsectionformat \paragraphformat ...


6

You could try the following: \usepackage{bigfoot} \usepackage{perpage} \DeclareNewFootnote[para]{A} \MakePerPage{footnoteA} \expandafter\def\csname @makefnbreak\endcsname{\unskip\linebreak[0]} \makeatletter \let\@makefntext@orig\@makefntext \FootnoteSpecific{A}\def\@makefntext#1{% \noindent{\hbox{\textbf{\@thefnmark}\nolinebreak\ }}#1~\hss% } ...


5

labeling is defined with all KOMA-classes and available with apackage scrbase. It takes a mandatory argument, the item with the longest width for alignment. \documentclass{scrartcl} \usepackage{siunitx} \begin{document} \begin{labeling}{Termination resistors:} \item[Frequency range:] \SI{200}{\mega\hertz} to \SI{1000} {\mega\hertz} in steps of ...


5

New answer If you want to use Consolas font, you have to use xelatex which means to use fontspec but NOT inputenc. You can read why in Using XeLaTeX instead of pdfLaTeX ph command doesn't need fontspec as Paul Gessler showed to you. scrbook perfectly works with pdflatex, xelatex or lualatex. This is what I get from your code commenting out fontenc and ...


4

If you want the same footskip as ​used by the standard class article then change it to 30pt: \documentclass[12pt,a4paper]{scrartcl} \usepackage[margin=2cm, footskip=30pt% <- added ]{geometry} \begin{document} A test document: \the\footskip \end{document} Explanation: With a KOMA-Script class the \footskip is set to 3.5\baselineskip. The standard ...


4

You can use \setkomavar{urlseparator}[Webseite]{:~} or if you are loading babel with your language option - I guess it is ngerman - \renewcaptionname{ngerman}{\wwwname}{Webseite}. frommobilephone works for me. \documentclass[12pt,foldmarks=true,foldmarks=blmtP, fromalign=right,fromrule=aftername, fromphone,fromemail,fromurl,subject=centered, ...


4

The Syntax package redefines the underscore character, so when you use it in filenames it is not read as it is but interpreted as a macro and expanded. Simple solution: avoid underscore in filenames. Not so pretty solution: capture the original underscore char in a macro before the syntax package changes its meaning (at begin document) and then use the ...


3

The class scrbook allows this by redefining \partformat: \documentclass{scrbook} \renewcommand*{\partformat}{% \thepart\autodot~\partname:% } \begin{document} \part{My part name} \end{document}


2

You can patch the standard report document class to achieve this as follows. \documentclass{report} \usepackage{etoolbox} \makeatletter \patchcmd{\@part}{\huge\bfseries \partname\nobreakspace\thepart} {\huge\bfseries \thepart\nobreakspace\partname}{}{} \makeatother \begin{document} \part{The first} \part{The second} \end{document}


2

Remove the obsolete package anysizes that also sets the margins. Code: \documentclass[12pt]{scrartcl} \usepackage[margin=2.5cm %,showframe% <- only to show the page layout ]{geometry} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amssymb} ...


2

Here is a suggestion that makes the change to a prohibited font size value a little bit more difficult. \begin{filecontents*}{MyClass.cls} \ProvidesClass{MyClass}[2017/05/18] \RequirePackage{scrbase} \DefineFamily{MyClass} \DefineFamilyMember{MyClass} \DefineFamilyKey{MyClass}{fontsize}{% \ifstr{#1}{12pt}{\PassOptionsToClass{fontsize=12pt}{scrreprt}% ...


2

The usage of titlesec together with a KOMA-Script class is not recommended. You could use the possibilities of KOMA-Script: \documentclass{scrbook} \RedeclareSectionCommand[afterskip=1sp]{section} \setkomafont{section}{\normalfont} \renewcommand\raggedsection{} \begin{document} \section*{Without parskip\hfill1 January 1970} Lorem ipsum dolor sit amet, ...


2

Update: You can use \newkomafont to set a default font style for the numbers for all section levels and for the single section levels. Later these defaults can be changed using \setkomafont and \addtokomafont. Of course the \...format commands must be redefined in a way that they use the related \usekomafont{...} commands. Then it is easy to change the ...


1

I'd suggest not to use the package geometry. If you remove it, you'll see that your pagination moves to a better position. If you need to adjust the margin, do so by using KOMA's capabilities, changing the division (by using the KOMA option DIV=) and giving a small piece of the type area to the margins e.g. \documentclass[fontsize=12pt, paper=a4, ...



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