Command \setheadsepline deprecated!

Antwort erstellen


Diese Frage dient dazu, das automatisierte Versenden von Formularen durch Spam-Bots zu verhindern.
Smilies
:D :) :( :o :shock: :? 8) :lol: :-x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode ist eingeschaltet
[img] ist eingeschaltet
[flash] ist ausgeschaltet
[url] ist eingeschaltet
Smilies sind eingeschaltet

Die letzten Beiträge des Themas

Ich habe die Datenschutzerklärung gelesen und bin damit einverstanden.

   

Wenn du eine Datei oder mehrere Dateien anhängen möchtest, gib die Details unten ein.

Ansicht erweitern Die letzten Beiträge des Themas: Command \setheadsepline deprecated!

Re: Command \setheadsepline deprecated!

von Stefan Kottwitz » Di 8. Aug 2023, 20:01

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

Stefan

Re: Command \setheadsepline deprecated!

von 000Fite » Di 8. Aug 2023, 18:32

Vielen Dank für die Antwort.

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

Re: Command \setheadsepline deprecated!

von Stefan Kottwitz » Di 8. Aug 2023, 18:23

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

Command \setheadsepline deprecated!

von 000Fite » Di 8. Aug 2023, 18:07

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

Nach oben