ralphieraccoon / MilSymb

LaTeX package for TikZ based drawing of military symbols as per NATO APP-6(C)
Other
8 stars 3 forks source link

MilAir speed leader always starts at (0,0) #16

Closed steven-omaha closed 4 years ago

steven-omaha commented 4 years ago

Consider this MWE.

\documentclass{standalone}
\usepackage{milsymb}
\begin{document}
\begin{tikzpicture}[]
  \MilAir[faction=friendly,main=attack,speed leader={0}{2}] (0,0);
  \MilAir[faction=friendly,main=attack,speed leader={45}{2}] (0,2);
\end{tikzpicture}
\end{document}

This creates the following output. The speed leader for the second node starts at (0,0), but should start at (0, 2).

MWE

steven-omaha commented 4 years ago

By the way, is it intentional that the speed leader has no arrow tip?

ralphieraccoon commented 4 years ago

Hi Steven,

I'm currently investigating your issue. In response to your other question, speed leaders have no arrow tip in the APP-6(C) documentation, so it follows that standard.

ralphieraccoon commented 4 years ago

Hi Steven,

I've found the issue (scoping error), but you know how it goes, you investigate one bug and find a few more! I'll roll them all into an update soon. Thanks!

ralphieraccoon commented 4 years ago

Fixed in 6b32639.