0

I have set up a documentclass like this

\documentclass[
    11pt,                  % Font size
    final,
    cleardoublepage = plain, % just for page numbers on cleardoublepages
    parskip=half,          % Half a line skipped between paragraphs
    twoside,               % Two-sided document
    openright,             % Chapters start on right pages
    bibliography=totoc,    % Bibliography in ToC
    listof=totoc,          % LoF and LoT in ToC
    footsepline=0.4pt,
]{scrreprt}[2015/09/15]    % Use current version of KOMA-Script
% Author and title of document

% Header and footer
\usepackage[automark,headwidth=textwithmarginpar,footwidth=text,footsepline=0.4pt, headsepline=0.4pt:textwithmarginpar]{scrlayer-scrpage}  % Custom header and footer
\usepackage{lastpage} %needed for page number
\pagestyle{scrheadings}
%\setfootsepline{.4pt} THAT DIDNT WORK__________________________________________
\renewcommand{\headfont}{\normalfont\sffamily}
\makeatletter
\renewcommand{\chaptermark}[1]{\markboth{\@chapapp~\thechapter~--~#1}{}}
\makeatother
\rohead{\rightmark}
\lehead{\leftmark}

The footsepline appears, but only on pages wich a) contains text and b) arent the first page of a new chapter. How do I change that, so that footseplines appear on every page with a footer?

4

1 Answer 1

2

Use the option plainfootsepline:

\documentclass[
    11pt,                  % Font size
    final,
    cleardoublepage = plain, % just for page numbers on cleardoublepages
    parskip=half,          % Half a line skipped between paragraphs
    twoside,               % Two-sided document
    openright,             % Chapters start on right pages
    bibliography=totoc,    % Bibliography in ToC
    listof=totoc,          % LoF and LoT in ToC
]{scrreprt}[2015/09/15]    % Use current version of KOMA-Script
% Author and title of document

% Header and footer
\usepackage[automark,headwidth=textwithmarginpar,footwidth=text,
            footsepline=0.4pt, 
            headsepline=0.4pt:textwithmarginpar,
            plainfootsepline]{scrlayer-scrpage}  % Custom header and footer
\usepackage{lastpage} %needed for page number
\pagestyle{scrheadings}
\renewcommand{\headfont}{\normalfont\sffamily}
\makeatletter
\renewcommand{\chaptermark}[1]{\markboth{\@chapapp~\thechapter~--~#1}{}}
\makeatother
\rohead{\rightmark}
\lehead{\leftmark}

\begin{document}
\chapter{A}

\chapter{B}
\newpage
blblblb

\end{document}
0

Not the answer you're looking for? Browse other questions tagged or ask your own question.