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]


How to get chapterthumbs match their chapter titles in KOMA-Script?


This is an add-on question to a previous one on chapterthumbs. Please consider the MWE below, the chapterthumbs are not matching the chapter titles (Discussion should appear instead of Materials & Methods), so how to:

Objectives

  • Match chapterthumbs with their chaptertitle — answered
  • Activate chapterthumb on Abstract/Bibliography in the MWE — answered
  • Suppress chapterthumb on curriculum vitae in the MWE — answered
  • The advancement of the thumbs should cover the whole right edge of the page – answered!

MWE

documentclass{scrbook}
usepackage{chapterthumb}%
usepackage{etoolbox}%
usepackage{nameref}%
lohead[putchapterthumb]{putchapterthumb}
addtokomafont{chapterthumb}{bfseries}

%
letLaTeXStandardChapterchapter%
renewcommand*{chapterthumbformat}{refcommand{chapter::title::numbervalue{chapter}}}%

makeatletter

newcounter{totalchaptercounter}%

newrobustcmd{WriteChapterTitleToAux}[1]{%
refstepcounter{totalchaptercounter}%
immediatewrite@auxout{%
stringnewlabel{chapter::title::numbervalue{totalchaptercounter}}{{thesection}{thepage}{unexpanded{#1}}{}}
}% End of writing to AUX file
}%

newrobustcmd{refcommand}[1]{%
nameref*{#1}%
}%

newcommand{chapter@noopt}[1]{%
WriteChapterTitleToAux{#1}%
LaTeXStandardChapter{#1}%
}%

newcommand{chapter@opt}[2][]{%
WriteChapterTitleToAux{#2}%
LaTeXStandardChapter[#1]{#2}%
}%


newcommand{unstarredchapter}{%
@ifnextchar[{chapter@opt}{chapter@noopt}%
}%

newcommand{starredchapter}[1]{%
LaTeXStandardChapter*{#1}
}%



renewcommand{chapter}{%
@ifstar{starredchapter}{unstarredchapter}%
}%

%=====================Bibliography=============================
usepackage{biblatex}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@article{rand_objective_1971,
    title = {Objective criteria for the evaluation of clustering methods},
    volume = {66},
    issn = {01621459},
    url = {http://www.jstor.org/discover/10.2307/2284239?uid=3737864&uid=2&uid=4&sid=21103234673533},
    doi = {10.2307/2284239},
    pages = {846},
    number = {336},
    journaltitle = {Journal of the American Statistical Association},
    shortjournal = {J Amer Statist Assoc},
    author = {Rand, William M.},
    urldate = {2013-12-18},
    date = {1971-12},
    keywords = {Comparing partitions, Rand, statistics}
}

@article{hubert_comparing_1985,
    title = {Comparing partitions},
    volume = {2},
    issn = {0176-4268, 1432-1343},
    url = {http://link.springer.com/article/10.1007/BF01908075},
    doi = {10.1007/BF01908075},
    pages = {193-218},
    number = {1},
    journaltitle = {Journal of Classification},
    shortjournal = {J Classif},
    author = {Hubert, Lawrence and Arabie, Phipps},
    urldate = {2013-12-18},
    date = {1985-12-01},
    langid = {english},
    keywords = {{ARI}, Comparing partitions, Consensus indices, Measures of agreement, Measures of association, statistics, Statistics, general}
}   
end{filecontents}
addbibresource{jobname.bib}
%==================================================
title{Title of the Dissertation}
author{Author Name} 
publishers{Faculty Name}

begin{document}
maketitle
frontmatter
pagestyle{plain}%
tableofcontents %chapterthumb:no
chapter{Acknowledgements} %chapterthumb:no
chapter{Abstract}dots
clearpage
mainmatter
pagestyle{scrheadings}
chapter{Introduction}dots
Sample text here cited parencite{hubert_comparing_1985}, which is different from textcite{rand_objective_1971}.

chapter{Materials & Methods}dots 
chapter{Results}dots 
chapter{Discussion}dots
backmatter
printbibliography[heading=bibintoc]
clearpage%
pagestyle{plain} % Or any other user defined style
chapter*{Curriculum Vitae} %chapterthumb:no
end{document}

MWE Output
enter image description here

Note

  • chapterthumb is not yet supported by TexLive2013, and hence should be manually installed

  • The chapterthumb.sty v0.1 was used in the above MWE and not the updated v0.2 package on windows 7 platform.

chapter no newpage and headings


I have a document (scrbook class), in which I want some chapters not to start on a new page. I therefore defined the following:

%define a chapter that does not add space at the top of the page
usepackage{etoolbox}
makeatletter
letchapterNoSpacechapter 
patchcmdchapterNoSpace{if@openrightcleardoublepageelseclearpagefi}{}{}{}
patchcmd{chapterNoSpace}{thispagestyle{plain}}{thispagestyle{fancy}}{}{}
makeatother

This does nearly what I want. However, there are three problems:

  1. I need to add a new paragraph before any chapterNoSpace command, or it will put the chapter directly on the same line as the last text.

  2. On the page where the chapter starts, I am missing my headers.

  3. If the command coincides with a new page, the headers are missing on the page before and there is a spurious vskip before the heading, which looks odd.

I added a minimal script below.

documentclass[11pt, a4paper, twoside, openany]{scrbook}
%headers
usepackage{fancyhdr}pagestyle{fancy}
renewcommand{chaptermark}[1]{markboth{thepart. #1}{}}
renewcommand{sectionmark}[1]{markright{thepart.thechapter. #1}}
fancyhf{}
fancyhead[LE,RO]{thepage}
fancyhead[LO]{rightmark}
fancyhead[RE]{leftmark}
fancypagestyle{plain}{fancyhead{}renewcommand{headrulewidth}{0pt}}

%Define a chapter that doesn't start on new page
usepackage{etoolbox}
makeatletter
letchapterNoSpacechapter 
patchcmdchapterNoSpace{if@openrightcleardoublepageelseclearpagefi}{}{}{}
%renewcommand*{chapterheadstartvskip}{vspace*{1cm}}
%patchcmdchapterNoSpace{chapterheadstartvskip}{vspace{1cm}}{}{}
patchcmd{chapterNoSpace}{thispagestyle{plain}}{thispagestyle{fancy}}{}{}
makeatother
begin{document}
part{Part 1}
chapter{Normal chapter 1}
text text text text text text
chapter{Normal chapter 2}
text text text text text
chapterNoSpace{Chapter on same page 1}
text text text

chapterNoSpace{Chapter on same page 2 with line brake above}
text text text
chapter{Normal chapter 3}
text text text

end{document}

Any suggestions?

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