How can I insert four inclined lines in the corner of page border?
Does someone have any experience in this field?
How can I insert four inclined lines in the corner of page border?
Does someone have any experience in this field?
You can simply adapt my code from how to insert image on page at the bottom-left of a page. You just have to replace the \includegaphics code in these examples by either corresponding picture environment code or by TikZ code. For example:
\documentclass{article}
\usepackage{lipsum}
\usepackage{adjustbox}
\usepackage{xcolor}% color would also be sufficient
\usepackage{calc}% For not needing \dimexpr in my \put and \line commands.
\usepackage{scrlayer-scrpage}
\pagestyle{plain}
\DeclareNewLayer[%
background,%
mode=picture,%
page,
contents={%
\color{red}\thicklines
\put(0,\paperheight-5cm){\line(2,3){5cm2/3}}%
\put(\paperwidth,\paperheight-5cm){\line(-2,3){5cm2/3}}%
\put(0,5cm){\line(2,-3){5cm2/3}}%
\put(\paperwidth,5cm){\line(-2,-3){5cm2/3}}%
}%
]
{cornerimages}
\AddLayersToPageStyle{plain.scrheadings}{cornerimages}
\begin{document}
\lipsum
\end{document}
Would result in:
You can adapt all other examples in my answer by similar code. Alternatively you can adapt the TikZ answer to: Absolute positioning in beamer.
\includegraphicsby eitherpicturecode or TikZ code for the lines. – cabohah Mar 08 '23 at 06:44