Debian Codegraph @

texmf-dist/source/latex/wargame/chit/core.dtx

raw
1 % \iffalse
2 % ====================================================================
3 % \fi
4 %
5 % \subsection{The \texttt{wargame.chit} \TikZ{} library}
6 % \label{sec:impl:natoapp6c}
7 %
8 % We define the library for making chits. We load the hex \TikZ{}
9 % \spec{wargame.natoapp6c} library and the \textsf{amsmath} and
10 % \textsf{amstext} packages as we need those.
11 %
12 % \iffalse
13 %<*chit>
14 % \fi
15 %
16 % \begin{macrocode}
17 \RequirePackage{amsmath}
18 \RequirePackage{amstext}
19 \usetikzlibrary{wargame.util,wargame.natoapp6c,math}
20 % \end{macrocode}
21 %
22 % \iffalse
23 % --------------------------------------------------------------------
24 % \fi
25 %
26 % \subsubsection{Debugging}
27 %
28 % \begin{Macro}{\chitdbglvl,\chit@dbg}
29 %
30 % Some macros for debugging. Similar to what we have in
31 % \spec{wargame.hex} (see \sectionname~\ref{sec:impl:hex}.
32 %
33 % \begin{macrocode}
34 \newcount\chitdbglvl\chitdbglvl=\wargamedbglvl
35 \def\chit@dbg#1#2{%
36 \ifnum#1>\chitdbglvl\relax\else\message{^^J#2}\fi}
37 % \end{macrocode}
38 % \end{Macro}
39 %
40 % \input{chit/shape.dtx}
41 % \input{chit/elements.dtx}
42 % \input{chit/modifiers.dtx}
43 % \input{chit/stack.dtx}
44 % \input{chit/oob.dtx}
45 % \input{chit/table.dtx}
46 % \input{chit/battle.dtx}
47 % \input{chit/dice.dtx}
48 % \input{chit/misc.dtx}
49 %
50 % \iffalse
51 %</chit>
52 % --------------------------------------------------------------------
53 % \fi