thispagestyle{empty} on last page doesn´t work


I need a site without page style at the end of a document. But the command doesn´t work. How can I solve this?

documentclass[BCOR=10mm,DIV=11]
{scrreprt}
usepackage{setspace}
usepackage{blindtext}
usepackage[
    automark,                               %% Kapitelangaben in Kopfzeile automatisch erstellen
    headsepline, 
    footsepline, 
    plainheadsepline, 
    plainfootsepline
]{scrlayer-scrpage}

setkomafont{captionlabel}{bfseries}           %% Label-Bildunterschrift fett
setkomafont{pageheadfoot}{small}          %% Kopfzeile klein
%setheadsepline{0.4pt}                         %% Kopf-Linie
%setfootsepline{0.4pt}                         %% Fuß-Linie

pagestyle{scrheadings}
ihead[]{}
chead[]{}
ohead[headmark]{headmark}

ifoot[]{}
cfoot[pagemark]{pagemark}
ofoot[]{}

AfterTOCHead{singlespacing}
onehalfspacing
KOMAoptions{DIV=last}

begin{document}

begin{spacing}{1}
title{Titel}
author{1}
end{spacing}

begin{spacing}{1}
maketitle
end{spacing}

tableofcontents

chapter{Test}
subsection{1}
subsection{2}
Blindtext

chapter{Test1}
subsection{1}
subsection{2}
Blindtext

chapter{Test2}
subsection{1}
subsection{2}
Blindtext

chapter{Test3}
subsection{1}
subsection{2}
Blindtext

chapter{Test4}
subsection{1}
subsection{2}
Blindtext

chapter{Test4}
subsection{1}
subsection{2}
Blindtext

chapter{Test4}
subsection{1}
subsection{2}
Blindtext

chapter{Test4}
subsection{1}
subsection{2}
Blindtext

chapter{Test4}
subsection{1}
subsection{2}
Blindtext

chapter{Test4}
subsection{1}
subsection{2}
Blindtext

thispagestyle{empty}
chapter*{Erklärung}
%begin{flushleft}
vspace*{10ex}
%noindenttextit{Hiermit versichere ich, dass ich die vorliegende Abschlussarbeit selbstständig verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel verwendet %habe.} parvspace{1ex}
%noindent
noindenttextit{Ich erkläre hiermit eidesstattlich, dass ich die vorliegende Arbeit selbständig angefertigt habe. Die aus fremden Quellen übernommenen Gedanken 
sind als solche kenntlich gemacht. Die Arbeit wurde bisher keiner anderen Prüfungsbehörde vorgelegt und auch nicht veröffentlicht. Ich bin mir bewusst, dass eine unwahre Erklärung rechtliche Folgen haben kann.}parvspace{3ex}
noindent
rule[0.0cm]{4.3cm}{0.4pt}par
noindent
parvspace{8ex}

noindenttextit{Seitens des Verfassers bestehen keine Einwände, die Arbeit für die öffentliche Nutzung zur Verfügung zu stellen.} parvspace{3ex}
noindent
rule[0.0cm]{4.3cm}{0.4pt}par
noindent
%end{flushleft}
end{document}

Remove last dot in title numbering


My current document is processed like this:

1. Some chapter
1.1. Some section
1.1.1. Some subsection

Appendix A.
Some appendix

What I want to have:

1 Some chapter
1.1 Some section
1.1.1 Some subsection

Appendix A: Some appendix

So I want the last dots of the numbering removed for the main part. For the appendix, I want a colon instead of the dot and the title in the same line.

A small example, including all packages used:

documentclass[appendixprefix=true,11pt,a4paper]{scrreprt}
%The packages used in my document
usepackage{listings}
usepackage{mathtools}
usepackage{graphicx}
usepackage{enumitem}
usepackage{chngcntr}
usepackage[usenames,dvipsnames]{color}
%Appendix definition (Write "Appendix A")
makeatletter
newcommandappendix@numberline[1]{appendixname #1: }
g@addto@macroappendix{%
  addtocontents{toc}{
    letprotectnumberlineprotectappendix@numberline}%
}
makeatother

begin{document}
chapter{First chapter}
section{First section}
subsection{First subsection}
appendix
chapter{Last chapter}
end{document}

How can I make the colon and the title in the same line. And how do I remove the last dots of the titles?


Symbol1′s answer doesn’t work. Error message:

Undefined control sequence. @makechapterhead ...mdepth >m@ne if@mainmatter
huge bfseries @chapapp ... l.108 chapter{Definition of the Problem}

what is the value of thecontentslabel for a chapter*


I am customizing my toc, but cannot figure out what the value of thecontentslabel is for chapters that are marked not to be numbered…

In general where are these commands described? I don’t know where the manual is. Tried KOMA-Script but didn’t find anything.

Bleed correction for chapterthumbs in KOMA


I want to send a dissertation document with chapterthumbs to the printing house. The document is written in KOMA-Script and a good solution for bleed correction is found here. Since chapterthumbs are sitting at the edge of the pages in black I want to make sure that there is a bleed correction for that too before sending out the document. Otherwise, due to imprecise cutting process (which is expected), unwanted white margins could appear at the edge of the pages where chapterthumbs are sitting.

Question
How to provide a bleed correction for the chapterthumbs themselves, i.e. extend their black color to the bleed correction area as in the image below?

Output

enter image description here

Consider the MWE below, where chapterthumbs are provided and bleed correction using crop package. What is missing is bleed correction for the chapterthumbs themselves.

MWE Code

documentclass[paper=a4, twoside=semi]{scrbook} % A4 is 210mm x 297mm
usepackage[cross,center,width=216mm,height=303mm]{crop} % bleed is 6mm
usepackage{blindtext}
usepackage{calc}%
usepackage{chapterthumb}% package should be installed in the same active folder
usepackage{etoolbox}%
usepackage{nameref}%
usepackage{totcount}
regtotcounter{chapter}%
%=====================Bibliography=============================
usepackage{biblatex}
usepackage{filecontents}
begin{filecontents}{jobname.bib}
@article{rand_objective_1971,
    title = {Objective criteria for the evaluation of clustering methods},
    volume = {66},
    pages = {846},
    number = {336},
    journaltitle = {Journal of the American Statistical Association},
    author = {Rand, William M.},
    date = {1971}
}

end{filecontents}
addbibresource{jobname.bib}
%=========================Chapter thumbs========================
AtBeginDocument{%
ifnumequal{numbertotvalue{chapter}}{0}{%
renewcommand{chapterthumbwidth}{paperheight}%
renewcommand{chapterthumbskip}{paperheight}%
}{%
typeout{There are numbertotvalue{chapter} chapter in this document}%
renewcommand{chapterthumbskip}{paperheight/numbertotvalue{chapter}}%
renewcommand{chapterthumbwidth}{paperheight/numbertotvalue{chapter}}%
}%
}%

lohead[putchapterthumb]{putchapterthumb}
addtokomafont{chapterthumb}{bfseries}

newrobustcmd{SetChapterThumbHeader}{%
lohead[putchapterthumb]{putchapterthumb}%
}%

newrobustcmd{ClearChapterThumbHeader}{%
lohead[]{}%
}%

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

newtoggle{UseChapterThumb}%
toggletrue{UseChapterThumb}%

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

makeatletter

newcounter{totalchaptercounter}%

newrobustcmd{CreateUniqueChapterLabel}[1]{% 
refstepcounter{totalchaptercounter}%
label{chapter::title::numbervalue{totalchaptercounter}}%
}%


letLaTeXStandardChapterchapter%

newcommand{chapter@noopt}[1]{%
iftoggle{UseChapterThumb}{SetChapterThumbHeader}{ClearChapterThumbHeader}
LaTeXStandardChapter{#1}%
CreateUniqueChapterLabel{#1}%
}%

newcommand{chapter@opt}[2][]{%
iftoggle{UseChapterThumb}{SetChapterThumbHeader}{ClearChapterThumbHeader}
LaTeXStandardChapter[#1]{#2}%
CreateUniqueChapterLabel{#2}% Must appear after chapter title is done
}%


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

newcommand{starredchapter}[1]{%
ClearChapterThumbHeader% Clear the headers -> no chapterthumb here 
LaTeXStandardChapter*{#1}%   
}%

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


letLaTeXStandardTOCtableofcontents%
renewcommand{tableofcontents}{%
begingroup%
renewcommand{chapter}{LaTeXStandardChapter}%
LaTeXStandardTOC%
endgroup%
}%


letLaTeXStandardLOFlistoffigures%
renewcommand{listoffigures}{%
begingroup%
renewcommand{chapter}{LaTeXStandardChapter}
LaTeXStandardLOF%
endgroup
}%

letLaTeXStandardLOTlistoftables%
renewcommand{listoftables}{%
begingroup%
renewcommand{chapter}{LaTeXStandardChapter}
LaTeXStandardLOT%
endgroup
}%


letLaTeXStandardPrintBibliographyprintbibliography%


newrobustcmd{commonprintbibliographysetup}[1][]{%
iftoggle{UseChapterThumb}{SetChapterThumbHeaderrefstepcounter{chapter}}{ClearChapterThumbHeader}
LaTeXStandardPrintBibliography[#1]
iftoggle{UseChapterThumb}{%
immediatewrite@auxout{%
stringnewlabel{chapter::title::numbervalue{chapter}}{{thepage}{thepage}{Bibliography}{}}%
}%
}{}%
}%



newrobustcmd{printbibliography@@noopt}{%
commonprintbibliographysetup[]%
}%

newrobustcmd{printbibliography@@opt}[1][]{%
commonprintbibliographysetup[#1]%
}

renewcommand{printbibliography}{%
@ifnextchar[{printbibliography@@opt}{printbibliography@@noopt}%
}%

makeatother
%==================================================
title{Title of the Dissertation}
author{Author Name} 
publishers{Faculty Name}

begin{document}
maketitle
pagestyle{plain}
pagenumbering{roman}
tableofcontents
listoffigures
listoftables
cleardoublepage

chapter*{Acknowledgments}
addcontentsline{toc}{chapter}{Acknowledgments}

chapter*{Abstract}
addcontentsline{toc}{chapter}{Abstract}
cleardoublepage
lohead[putchapterthumb]{putchapterthumb}
mainmatter
pagestyle{scrheadings}

chapter{Introduction}
begin{figure}
caption{dummy figure}
end{figure}

chapter{Materials & Methods} 

chapter{Results} 
begin{table}
caption{dummy table}
end{table}

chapter{Discussion}
In his reference parencite{rand_objective_1971}, the author did a nice job.
backmatter
cleardoublepage
printbibliography[heading=bibintoc]
end{document}

Update1: MWE based on Symbol’s solution
I wonder what might cause this inequality in the crosses.

enter image description here

How can I insert a line break after the captionlabel (koma-script options)?


On page 125 in scrguien.pdf, the two lower captions have a line break after the label. How can I do the same for my captions? Is that even possible with built-in KOMA options? Looked for a good 15 minutes now and so far, no luck. :/

Picture of Markus’s output, what I would like to have as well

enter image description here

My MWE

documentclass[
12pt,
a4paper
]{scrartcl}

usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{lmodern}

%% built-in KOMA caption specifications
setcapmargin{1cm}
setkomafont{captionlabel}{sffamily}

begin{document}
begin{table}
centering
AAA
caption{Test.}
end{table}
begin{center}
BBB
captionof{table}{Some more words 12. Some more words 12. Some more words 12. Some more words 12. Some more words 12. Some more words 12.}
end{center}
end{document}

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!

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