\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 38 (Section  7.0.2 : Option \tkzname{sub})

\def\tkzCoeffSubColor{20}
\def\tkzCoeffSubLw{0.2}
\begin{tikzpicture}
 \tkzInit[xmax=4, ymax=2]
 \tkzGrid[sub,color=orange,
         subxstep=.5,subystep=.5]
  \tkzAxeXY
\end{tikzpicture}

\end{document}
