diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex b/Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex index b9a5b211723..64c3185eed9 100644 --- a/Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex +++ b/Master/texmf-dist/tex/latex/wargame/tikzlibrarywargame.util.code.tex @@ -92,9 +92,18 @@ \toks@\expandafter\expandafter\expandafter{\expandafter#1#2}% \xdef#1{\the\toks@}% \endgroup} +\def\wg@nchor#1#2{% shape name, anchor + \wg@dbg{10}{Get `#2' in `#1'}% + \expandafter\csname pgf@anchor@#1@#2\endcsname% + \wg@dbg{10}{Got `\pgf@x',`\pgf@y'} +} +\newif\ifwg@ignore@sub@nchor\wg@ignore@sub@nchorfalse% \def\wg@sub@nchor#1#2{% - \wg@dbg{3}{^^JGet `#2' in `#1'}% + \wg@dbg{10}{^^JGet `#2' in `#1'}% \@ifundefined{pgf@sh@ns@#1}{% + \ifwg@ignore@sub@nchor% + \wg@dbg{0}{WARNING: Shape `#1' not defined, anchor `#2' unknown} + \fi \pgf@x=0cm\pgf@y=0cm}{% \pgf@process{% \csname pgf@sh@ma@#1\endcsname% MW |