Fuente TeX:
\framebox{ \begin{tikzpicture}   \draw[line width=0.3cm,color=yellow!30,cap=round,join=round] (-5,0) -- (-4.12,0);   \draw[line width=0.3cm,color=green!30,cap=round,join=round] (2.12,0) -- (3,0);   \draw[thick] (-5,0)--(3,0);    \draw[shift={(-4,0)},color=darkgray,thin] (0pt,3pt) -- (0pt,-3pt) node[below] {$-4$};    \draw[shift={(2,0)},color=darkgray,thin] (0pt,3pt) -- (0pt,-3pt) node[below] {$2$};    \draw[shift={(2.01,0)},color=black,very thick]  node {$($};    \draw[shift={(-4,0)},color=black,very thick]  node {$)$}; \end{tikzpicture} }