# Border with tikz

How can i have the same border with tikz

• Welcome to TeX.SX! Which border are you referring to? The border around the orange colored boxes or the double line along the left and bottom margin of the page or something entirely different? Apr 18 at 10:16
• @NABIL para tikz libraries decorations.pathmorphing and shadows will surely be a part of it. Then you will need to look for random steps and drop shadow effects from the tikz manual. Apr 18 at 12:07

I don't know how complicated you want the solution to be but here is a sarting point, it might be enough for your use else many enhancements are possible

\documentclass{article}
\usepackage{tikz}
\usepackage{amsmath}
\usetikzlibrary{%
}
\usepackage{multicol}
\begin{document}
\section{Propriétés Algébriques}
\tikz\node[decoration={random steps,segment length=1cm},decorate,
ultra thick,
draw=orange,fill=orange!20,
inner ysep=5mm,
anchor=north west,text width=\linewidth]{%
Soient $a$ et $b$ deux réels...
\dotfill

\dotfill
\begin{multicols}{2}
\begin{enumerate}
\item hello
\item$\exp\left(a+b\right)=\exp a\times\exp b$
\item world
\item$\exp\left(a-b\right)=\dfrac{\exp a}{\exp b}$
\end{enumerate}
\end{multicols}
\dotfill
};
\end{document}


A very quick solution using tcolorboxpackage :

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{%
\usepackage{tcolorbox}
\tcbuselibrary{skins}
\begin{document}
\tcbset{colback=white,colframe=white,coltitle=black,fonttitle=\bfseries}
\begin{tcolorbox}[enhanced,title=My title,interior titled code={
\filldraw[decoration={random steps,segment length=1cm},decorate,draw=orange,ultra thick, fill=orange!20]
(interior.south west)rectangle(interior.north east);}]
This is a \textbf{tcolorbox}.
\tcblower
This is the lower part.
\end{tcolorbox}
\end{document}


• Interesting! :) could you take your solution and apply it to the tcolorbox package...? Apr 18 at 12:12
• @cmhughes thank you showing interest. I figured out that you were talking about some tcolorbox style integration of my answer ? I have quickly modified an example from tcolorboxdocumentation and got this : Apr 18 at 12:59