Debian Codegraph @

texmf-dist/source/latex/wargame/package.dtx

raw
1 % \subsection{The \texttt{wargame} package}
2 % \label{sec:impl:sty}
3 %
4 % \iffalse
5 %<*package>
6 % \fi
7 %
8 % First, package identification
9 %
10 % \begin{macrocode}
11 \ProvidesPackage{wargame}
12 % \end{macrocode}
13 %
14 % Then needed packages
15 %
16 % \begin{macrocode}
17 \RequirePackage[svgnames]{xcolor}
18 \RequirePackage{tikz}
19 % \end{macrocode}
20 %
21 % A switch to include terrain pictures (which take a lot of memory for
22 % some reason).
23 %
24 % \begin{macrocode}
25 \@ifundefined{ifhex@terrain@pic}{%
26 \newif\ifhex@terrain@pic
27 \hex@terrain@picfalse}{}
28 % \end{macrocode}
29 %
30 % Options
31 %
32 % \begin{macrocode}
33 \DeclareOption{noterrainpic}{%
34 \hex@terrain@picfalse}
35 \DeclareOption{terrainpic}{%
36 \hex@terrain@pictrue}
37 \ProcessOptions\relax
38 % \end{macrocode}
39 %
40 % Finally, the used \TikZ{} libraries
41 %
42 % \begin{macrocode}
43 \usetikzlibrary{wargame.hex,wargame.natoapp6c,wargame.chit}
44 % \end{macrocode}
45 %
46 % \iffalse
47 %</package>
48 % \fi