KOMAScript on Microsoft


I recently recommended lyx to a fellow writer. He downloaded it onto his MS box, but the download evidently didn’t include KOMAScript.

Questions:

Does the CTAN KOMAScript package run on MS?
If not, where can he find a version that does?

I’m a Linux user so the MS world is land of mystery to me.

Many thanks,

LRP

Undefined control sequence by reference LYX, MikTex


For each reference I put in to the document, I get the following error message. What should I do?

Undefined control sequence

Document Class: scrreprt 2013/12/19 v3.12 KOMA-Script document class (report)

    usepackage{color}
    usepackage{fancyhdr}
    pagestyle{fancy}
    fancyhead[R]{nouppercase{leftmark}}
    lhead{}
    chead{}
    cfoot{thepage}

 ! Undefined control sequence.
    <argument> ...hr mit den H�nden ber�hren.``citet 
                                                      {DMS Aplizieren}
    l.1333 ...�nden ber�hren.``citet{DMS Aplizieren}}

    The control sequence at the end of the top line
    of your error message was never def'ed. If you have
    misspelled it (e.g., `hobx'), type `I' and the correct
    spelling (e.g., `Ihbox'). Otherwise just continue,
    and I'll forget about whatever was undefined.

Problem with twocolumn ledger format in scrbook


currently I am trying to get a thesis in architecture into a ledger (tabloid, double letter) formatted srcbook document. The issue is that it should have twocolumns – at least for the main part of the investigation – and that LaTeX does somehow not like it. I always get the warning: Package typearea warning: Bad type area settings! The detected line width is about 128% larger that…

If I let it calculate the DIV value it is all very scrumbled up at the left hand side of the document, so it seems necessary to use a higher DIV value in order to have a nice distributed page (at least using the space a bit better).
In addition to that I get a very bad distribution on the pages following the first page of each chapter and have no clue how to organize it better. What package might help?
Just for if it is important: I use pdflatex with MikTeX.

Here my minimal example:

documentclass[
paper=280mm:432mm,  % Papierformat: doble carta/ ledger
pagesize,           % stellt Ausgabeformat ein
DIV=14,             % Satzspiegel regeln
landscape,          % Querformat 
BCOR=10mm,          % Binderand. Wird dann noch abgezogen
12pt]               % Schriftgrösse
{scrbook}

usepackage{blindtext}  
usepackage{fontenc}        % Schrift (Font) 
usepackage[english]{babel} % hier kann man die Sprache des Dokuments einstellen
usepackage{scrpage2}       % um Seiten einzurichten 
usepackage{multicol}       % mehrere Spalten
pagestyle{scrheadings}     % Seitenlayout
linespread{1.2}

begin{document}
   chapter{Test}
   begin{multicols*}{2}
   blindtext[10]
   end{multicols*}
end{document}

Thanks in advance! You work has already helped me a lot before.

Can't find scrrpt class


I am a COMPLETE novice to latex.

I installed Mactex on my Mac, and when I open Texlive it says I have KOMA installed.

Yet when I try to compile with documentclass{scrrpt} it won’t compile and says scrrpt.cls, not found.

Apologies, I am VERY new to this, any help very welcome!

Can't find scrrpt class


I am a COMPLETE novice to latex.

I installed Mactex on my Mac, and when I open Texlive it says I have KOMA installed.

Yet when I try to compile with documentclass{scrrpt} it won’t compile and says scrrpt.cls, not found.

Apologies, I am VERY new to this, any help very welcome!

Reducing chapter and section spacing for scrbook


I’m using scrbook document class and using chapters and sections. The spacing between chapters and sections is quite large, too large for my taste (before and after the chapter and section). So my question is how can this spacing be reduced? (saw a few variants for non-KOMA document classes but those don’t seem to work for this class).

documentclass[11pt,a4paper,BCOR10mm,DIV11,toc=listof,parskip=full]{scrbook}

usepackage[english]{babel}
usepackage[utf8x]{inputenc}
usepackage{amsmath}
usepackage{graphicx}
usepackage{booktabs}            
usepackage{multicol}      

twocolumn
raggedright
Chapter{chap1}
Section{sec1}
blaahblah
Section{sec2}
Blah
Chapter{chap2}
BlahBlah
Chapter{chap3}
Blah

Edit:
After applying the changes that Werner mentioned I have the following phenomenon (the code excerpts and the screenshot are to show what I tried to describe in the comments):

“Species” is a chapter, “Applying” is a section, Advantages and Disadvantages are subsections each.

Code excerpt for the disadvantages (1 enter is before and after the subsection):

all perception rolls.

subsection{Disadvantages}

noindenttextbf{Bestial psychology and territorial instincts}: Dragons despite their intellect are part beast. This means that they have strong territo

Code excerpt for the chapter part:

chapter{Species template}

section{Applying the template}

subsection{Advantages}

noindenttextbf{Dragons bodies}: +5.....

enter image description here

How to get Arial Narrow typeface in section header in pdflatex


I am new to LaTeX, so I hope this is not obvious, but have searched for straightforward documentation on how to do this and can’t find it.

I am creating a chapter for a book that has very specific formatting:

  • The normal paragraph must be in 10pt Bookman old Style
  • The chapter title must be 20pt Verdana bold without a chapter number.
  • The section header must be 12 pt Arial Narrow Small-Caps with
    6pts extra space above, and no extra space below.
  • The subsection header must be 10Pt Bookman Old Style Bold Italic,
    no extra space above or below

I am using pdflatex to produce the PDF output, and scrbook class:

documentclass[11pt,executivepaper,headsepline,footsepline]{scrbook}

%Eliminate the chapter numbers from section numbering
usepackage{chngcntr}
counterwithout{section}{chapter}

voffset=0in
topmargin = 0in
headheight = 12pt
headsep = 25pt
textheight = 8.5in
footskip = 30pt

hoffset=0in
marginparwidth = 0pt
marginparsep = 0pt
textwidth = 5.25in
oddsidemargin = 0pt
marginparpush = 0pt

begin{document}

I found that there is a command for setting the font of a element: setkomafont{element}{commands} but I have not figured out how to specify Arial Narrow typface. The KOMA -Script bundle documentation says ‘just about any command will work’ which is not really helping me at this moment.

Is there a way to get the desired typfaces in use for my section headers in scrbook with pdflatex?

KOMA-Script: How to colour just the section numbers


I have added a splash of colour to my thesis and found it looked quite nice. The theme is: Chapter and Section headings are a dark blue, and the numbering is a brighter blue.

I managed to do this for the part and chapter sections in this scrreprt class, however I cannot seem to find a way to use the only apparently available control for other sections being the following: othersectionlevelsformat{sectioning name}{}{counter output}.

How do I change just the colour of the numbering for section subsection, subsubsection and paragraph? Would I have to start using the titlesec package?

Please find below my MWE. Thank you

documentclass[
DIV=11,
%fontsize=12,
twoside,
headinclude=false,
titlepage=firstiscover,
abstract=true,
headsepline=true,
footsepline=true,
chapterprefix=true, %this allows for editing of the chapter titles
headings=big,
bibliography=totoc,%adds unnumbered Bibliography chapter to toc
captions=tableheading
]{scrreprt}

%%% Packages
usepackage[left=2cm,right=2cm,top=2.5cm,bottom=3cm]{geometry}
usepackage{setspace}
usepackage{graphicx}
usepackage[svgnames,x11names]{xcolor}
usepackage{minitoc} 
usepackage{notoccite}
usepackage{kpfonts}
usepackage[T1]{fontenc}
%usepackage{biblatex}
%usepackage{mathchars}
%usepackage{acro}
%usepackage[hidelinks
%,bookmarksopen=true,bookmarksopenlevel=4 %This is for the appendix command formulated
%]{hyperref}
usepackage{tensor}
usepackage{siunitx}
usepackage{wasysym}

linespread{1.5} %imperial uses 1.5 
flushbottom

%%%%%%%%%%% ToC DEPTH LEVEL
setcounter{secnumdepth}{4} % number subsubsection
setcounter{tocdepth}{4} % list subsubsection
setcounter{minitocdepth}{4}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Entry of TOC LOF LOT
defbody{
    pagenumbering{roman}
    cleardoublepage
linespread{1.25}
    %%% MINITOC
    dominitoc
    % MINITOC styling
    renewcommand{mtcfont}{normalsizefontfamily{jkpss}selectfont}
    renewcommand{mtcSfont}{normalsizebffontfamily{jkpss}selectfont}

    mtcsettitlefont{minitoc}{bffontfamily{jkpss}selectfont}
    mtcsettitle{minitoc}{Contents textcolor{white}{mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmn} Page}

    %%% TOC
    tableofcontents
    addtocontents{toc}{~hfilltextbf{Page}par} %Adds the word Page
    cleardoublepage

    %%% LOF
    listoffigures addcontentsline{toc}{section}{List of Figures}
    addtocontents{lof}{~hfilltextbf{Page}par} %Adds the word Page
    cleardoublepage

    %%% LOT
    listoftables addcontentsline{toc}{section}{List of Tables} 
    addtocontents{lot}{~hfilltextbf{Page}par} %Adds the word Page
    cleardoublepage


    pagestyle{headings}
    pagenumbering{arabic}


    %%% CHAPTER STYLING
    addtokomafont{chapterprefix}{raggedleft linespread{1}}
    setkomafont{chapter}{color{DodgerBlue4}fontsize{40}{30}selectfont}

    addtokomafont{section}{color{DodgerBlue4}fontsize{20}{24}selectfont}
    addtokomafont{subsection}{color{DodgerBlue4}fontsize{18}{22}selectfont}
    addtokomafont{subsubsection}{color{DodgerBlue4}fontsize{16}{19}selectfont}
    addtokomafont{paragraph}{color{DodgerBlue4}fontsize{15}{19}selectfont}

    renewcommand*{chapterformat}{%
    mbox{scalebox{0.80}{chapappifchapterprefix{nobreakspace}}%
    scalebox{3.5}{color{DeepSkyBlue2}thechapter}enskip}}

}

begin{document}

body

chapter{First Chapter}
linespread{1}
dictum[Neil deGrasse Tyson]{The good thing about science is that it's true whether or not you believe in it.}


minitoc

Here is some introduction

section{Here is a section for the minitoc}
Bla bla.

subsection{And why not a subsection too}
Just to spice things up a bit.

end{document}

Subfig subcaption labels have wrong spacing with KOMAScript and colored labels


I observe a problem with the labels of subcaptions generated by the subfig package. The distance between label and caption is wrong, but only if I change the color with addtokomafont and if the color is the last parameter I change. Here’s the code:

documentclass{scrbook}

usepackage[colorlinks=true]{hyperref}
usepackage{subfig}
addtokomafont{captionlabel}{sffamilycolor{blue}}
%addtokomafont{captionlabel}{color{blue}sffamily}

begin{document}
begin{figure}
    center
    subfloat[][Test.]{rule{2cm}{2cm}}
    quad
    subfloat[][Test.]{rule{3cm}{2cm}}
    caption{foo}
end{figure}
end{document}

and the result:

Picture showing the problem.

(With the standard fonts it is not that obvious as with my font selection, therefore just for clarification: in the picture, a space character is missing between “(a)” and “Test.” and the same for “(b)”) Since exchanging the color selection with the font selection is already a workaround (see commented line in the code), I have no particular problem but I’m interested in why it behaves like that. Also, maybe others observe the problem by only selecting a color which would not lead them to the workaround. Therefore I ask for some clarification about the mechanism and if it can be solved generally.

Since I consider this a bug, but several packages are involved (hyperref, KOMAscript, subfig), to whom should I send the bug report?

No space between three-digit table number and title in List of Tables (KOMA-script) [duplicate]


Question and Answer is proudly powered by WordPress.
Theme "The Fundamentals of Graphic Design" by Arjuna
Icons by FamFamFam