Skip to content

Commit

Permalink
v1.02 fixes revision 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphieraccoon committed Feb 22, 2020
1 parent a017915 commit d369ffa
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions milsymb.sty
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
\RequirePackage{amssymb}
\RequirePackage{xifthen}
\RequirePackage{xparse}
\RequirePackage{textcomp}
\definecolor{friendlyA}{RGB}{128, 224, 255}
\definecolor{hostileA}{RGB}{255, 128, 128}
\definecolor{neutralA}{RGB}{170, 255, 170}
Expand Down Expand Up @@ -2749,9 +2750,13 @@ fill=gray,
\newcounter{exitem}
\newlength{\itemlength}
\NewDocumentEnvironment{landheadquarters}{ o D(){0,0}}{
\tikzset{#1}
\tikzset{%
/MilSymb/.cd,
scale=1,
#1,
}%
\setlength{\itemlength}{0pt}
\begin{scope}
\begin{scope}[shift={(#2)}, scale=\MilSymb@scale, transform shape]
\setcounter{exitem}{0}
\RenewDocumentCommand\item{m}{
\scoped[yshift=-\itemlength, local bounding box=T]
Expand All @@ -2766,9 +2771,13 @@ fill=gray,
\stepcounter{exitem}}
}{\end{scope}}
\NewDocumentEnvironment{landgroup}{ o D(){0,0}}{
\tikzset{#1}
\tikzset{%
/MilSymb/.cd,
scale=1,
#1,
}%
\setlength{\itemlength}{0pt}
\begin{scope}[local bounding box=G]
\begin{scope}[local bounding box=G, shift={(#2)}, scale=\MilSymb@scale, transform shape]
\RenewDocumentCommand\item{m}{
\scoped[yshift=-\itemlength, local bounding box=T]
##1;
Expand Down

0 comments on commit d369ffa

Please sign in to comment.