%This package contains some code to determine the tools to be used to draw %some geometrical figure. % %It accept one option whose value is: % tikz to draw with the TikZ package (this is the default value) % inclusion to include an external file. %Declare few constants to choose what will be used to typeset the figure \chardef\TIKZ=0 \chardef\INCLUSION=1 %When an external image is simply included \chardef\DrawMethod=\TIKZ \DeclareOption{tikz}{\chardef\DrawMethod\TIKZ} \DeclareOption{inclusion}{\chardef\DrawMethod\INCLUSION} \ProcessOptions \ifcase\DrawMethod %TikZ \RequirePackage{tikz} \usetikzlibrary{arrows,decorations.markings} \or %Inclusion \RequirePackage{graphicx} \else \RequirePackage{graphicx} \fi