summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/wargame/source/hex/terrain/mountain.dtx
blob: 0ea308c2f8d8099fd3be63910531c2918372c5ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% \iffalse
% --------------------------------------------------------------------
%<*hex>
% \fi
% \begin{TikzKey}{hex/terrain/mountain}
%   This is an example of a terrain \spec{pic}ture. 
%
%    \begin{macrocode}
\tikzset{
  hex/terrain/mountain/.pic={%
    \path[draw=black,fill=white] (0,0) -- (.3,.9)--(.45,0) -- cycle;
    \path[draw=black,fill=lightgray,pic actions]
    (-.6 ,- .9) --
    (-.3 ,  .3) --
    (  0,    0) --
    ( .45,   0)  --
    ( .6 , -.9) -- cycle;
  }
}
%    \end{macrocode}
% \end{TikzKey}
% 
% \iffalse
%</hex>
% --------------------------------------------------------------------
% \fi