diff options
Diffstat (limited to 'macros/latex/contrib/wargame/source/natoapp6c/shape.dtx')
-rw-r--r-- | macros/latex/contrib/wargame/source/natoapp6c/shape.dtx | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/macros/latex/contrib/wargame/source/natoapp6c/shape.dtx b/macros/latex/contrib/wargame/source/natoapp6c/shape.dtx index 029be911b7..3e6d41821d 100644 --- a/macros/latex/contrib/wargame/source/natoapp6c/shape.dtx +++ b/macros/latex/contrib/wargame/source/natoapp6c/shape.dtx @@ -81,6 +81,7 @@ command/space/.style={cmd=space}, command/sub surface/.style={cmd=sub surface}, command/sea mine/.style={cmd=sub surface}, + command/none/.style={cmd=none}, } % \end{macrocode} % \end{NatoAppKey} @@ -164,7 +165,11 @@ % % \begin{macrocode} \tikzset{ - natoapp6c/parts/.style={draw,shape=rectangle,transform shape}, + natoapp6c/parts/.style={ + scale line widths, + draw, + shape=rectangle, + transform shape}, natoapp6c/main/.style={natoapp6c/parts}, natoapp6c/modifiers/.style={natoapp6c/parts,scale=.6}, natoapp6c/lower/.style={natoapp6c/parts}, @@ -607,13 +612,21 @@ % % \begin{macrocode} \providecommand\natoappmark[2][]{% - \tikz[scale=.25,#1]{\natoapp[faction=friendly,command=land,main=#2]}} + \tikz[transform shape, + scale=.25, + baseline=(natoapp6c mark.south east), + natoapp6c mark/.try, + #1]{%1 + \node[draw,transform + shape,natoapp6c={faction=friendly,command=land, + main=#2}] (natoapp6c mark){}}} +% \natoapp[faction=friendly,command=land,main=#2](0,0)(natoapp6c mark)}} % \end{macrocode} % \end{Macro} % % \begin{Macro}{\echelonmark} % \begin{macrocode} -\providecommand\echelonmark[2][]{\tikz[scale=.5,#1]{% +\providecommand\echelonmark[2][]{\tikz[transform shape,scale=.5,#1]{% \pic[scale line widths,line width=1pt] {natoapp6c/s/echelon=#2};}} % \end{macrocode} % \end{Macro} |