<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%na-border.sty  v0.1     encodage : UTF8
%Créé par PROF :  NAAM MOHAMED
%2018/07/08 - to put a border in the page  , you must  install  font  CornPop-TTF in windows 
%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{na-border}[2018/07/08 version 0.1]		
\RequirePackage{amsmath,amsfonts,amssymb,mathrsfs} 
\RequirePackage[svgnames,dvipsnames,x11names,]{xcolor}
\RequirePackage{tikz}
\RequirePackage{fancyhdr}
\usetikzlibrary{patterns}
\usetikzlibrary{shapes,shadings,shadows,shapes.geometric,decorations,positioning,arrows,decorations.pathmorphing}
\usetikzlibrary{calc,fadings,shapes.geometric,shapes.misc, decorations.pathmorphing,shadows}
\usetikzlibrary{calc,intersections} 
%=========================
\newcommand{\naborder}[2]{
\begin{tikzpicture}[remember picture, overlay]
\draw[color=#1] ($(current page.north west)+(2cm,-2cm)$) node {\LARGE \corna #2};
\draw[line width=4pt,#1,double] ($(current page.north west)+(0.77cm,-3.6cm)$)--($(current page.south west)+(0.77cm,+3.67cm)$);
\draw[color=#1] ($(current page.north east)+(-2cm,-2.025cm)$) node[rotate=-90] {\LARGE \corna #2};
\draw[color=#1] ($(current page.south west)+(1.94cm,2.07cm)$) node[rotate=-270] {\LARGE \corna #2};
\draw[color=#1] ($(current page.south east)+(-2.1cm,2.02cm)$) node[rotate=-180] {\LARGE \corna #2};
\draw[line width=4pt,#1,double] ($(current page.north east)+(-0.85cm,-3.64cm)$)--($(current page.south east)+(-0.85cm,+3.67cm)$);
\draw[line width=4pt,#1,double] ($(current page.south west)+(3.64cm,+0.85cm)$)--($(current page.south east)+(-3.65cm,+0.85cm)$);
\draw[line width=4pt,#1,double] ($(current page.north west)+(3.63cm,-0.8cm)$)--($(current page.north east)+(-3.65cm,-0.8cm)$);
\draw[line width=1.2pt,#1] ($(current page.north west)+(0.4cm,-0.4cm)$)rectangle ($(current page.south east)+(-0.5cm,0.5cm)$);
\end{tikzpicture}}
\newcommand{\bordertitle}[3]{\tikz \node [ top color=#1 ,bottom color=#2,draw=black,line width=1pt ,rectangle,double,chamfered rectangle,chamfered rectangle corners={north east,south west},drop shadow] at (0,0) { #3};}</pre></body></html>