rahmen um seiten, etwa um Türschilder
\usepackage{background}
\usetikzlibrary{calc}
\backgroundsetup{
color=black,
scale=1,
% opacity=1,
angle=0,
% contents={\tikz\draw[line width=5pt,rounded corners,black]
contents={\tikz\draw[line width=5pt]
( $ (current page.north west) + (-0,0) $ )
rectangle
( $ (current page.south east) + (0,0) $ )
;
}
}
\usepackage{scrlayer-scrpage}
\DeclareNewLayer[%
background,% Hintergrundebene
page,% Größe und Position des Textbereichs
contents={%
\setlength{\fboxsep}{.0cm}% Abstand Box Text
\setlength{\fboxrule}{.1cm}% Dicke Linie
% vertikale Position korrigieren
\vskip-
\fboxsep
\vskip-
\fboxrule
\vskip-
\baselineskip
% horizontale Position korrigieren
\hspace{-\fboxsep}
\hspace{-\fboxrule}
\makebox[\layerwidth][r]{%
\fbox{\rule{.1cm}{\layerheight}\rule{\layerwidth}{.1cm}}% Rahmen
}%
}
]{frame}
\AddLayersToPageStyle{@everystyle@}{frame}