Command \setheadsepline deprecated!

Klassen und Pakete zur einfachen Umsetzung individueller Vorstellungen


000Fite
Forum-Anfänger
Forum-Anfänger
Beiträge: 43
Registriert: Sa 26. Okt 2013, 18:06

Command \setheadsepline deprecated!

Beitrag von 000Fite »

Hallo zusammen,

ich bekomme bei Nutzung von \setheadsepline die Warning "Command deprecated!".
Weiß jemand, wie ich das Problem lösen kann?

Hier das Minimalbeispiel:
%Dokumentklasse
\documentclass[twoside,a4paper,11pt]{scrreprt}

% ============= Header & Footer =============
\usepackage[plainheadsepline]{scrlayer-scrpage}
\pagestyle{scrheadings}
\clearpairofpagestyles 

% ============= Beginning of the Document =============

\begin{document}

\setheadsepline{0.0pt}

Text

\end{document}

VG
000Fite

Benutzeravatar
Stefan Kottwitz
Admin
Admin
Beiträge: 2534
Registriert: Di 8. Jul 2008, 00:39
Kontaktdaten:

Re: Command \setheadsepline deprecated!

Beitrag von Stefan Kottwitz »

Hallo Fite,

das steht doch bei der Warnung.
Package scrlayer-scrpage Warning: Command deprecated!
(scrlayer-scrpage) Usage of `\setheadtopline', `\setheadsepline',
(scrlayer-scrpage) `\setfootsepline', and `\setfootbotline'
(scrlayer-scrpage) became deprecated with scrlayer-scrpage.
(scrlayer-scrpage) You should use KOMA-Script options
(scrlayer-scrpage) `headsepline', `headtopline', `footsepline',
(scrlayer-scrpage) or `footbotline' with values
(scrlayer-scrpage) `<line thickness>:<line length>' to setup
(scrlayer-scrpage) the line length and thickness, and
(scrlayer-scrpage) `\setkomafont' or `\addtokomafont' to
(scrlayer-scrpage) setup the colour on input line 14.
Stefan

000Fite
Forum-Anfänger
Forum-Anfänger
Beiträge: 43
Registriert: Sa 26. Okt 2013, 18:06

Re: Command \setheadsepline deprecated!

Beitrag von 000Fite »

Vielen Dank für die Antwort.

Muss ich das dann so schreiben?
\usepackage[plainheadsepline, headsepline=0.0pt]{scrlayer-scrpage}
VG
000Fite

Benutzeravatar
Stefan Kottwitz
Admin
Admin
Beiträge: 2534
Registriert: Di 8. Jul 2008, 00:39
Kontaktdaten:

Re: Command \setheadsepline deprecated!

Beitrag von Stefan Kottwitz »

Du kannst headsepline=false in den \documentclass-Optionen schreiben, oder \KOMAoptions{headsepline=false} später.

Stefan

Antworten