How can I make a black border close to pages edge ?


alt text


\myborder=10pt%please adjust the border width :-)

\pagecolor{red}%please change it back to black :-)



An alternative is to use TikZ in the following form:



\tikz[remember picture,overlay] {%
\draw [bordercolor,line width=3mm]
(current page.south west)
(current page.north east)

enter image description here

TikZ allows us to access all edges and the center of the current page with special node currentpage.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy