summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/wargame/source/hex/terrain/mountain.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/wargame/source/hex/terrain/mountain.dtx')
-rw-r--r--macros/latex/contrib/wargame/source/hex/terrain/mountain.dtx26
1 files changed, 26 insertions, 0 deletions
diff --git a/macros/latex/contrib/wargame/source/hex/terrain/mountain.dtx b/macros/latex/contrib/wargame/source/hex/terrain/mountain.dtx
new file mode 100644
index 0000000000..0ea308c2f8
--- /dev/null
+++ b/macros/latex/contrib/wargame/source/hex/terrain/mountain.dtx
@@ -0,0 +1,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