summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/milsymb/milsymb.sty58
1 files changed, 45 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/milsymb/milsymb.sty b/Master/texmf-dist/tex/latex/milsymb/milsymb.sty
index 5fb21de65af..1342818961c 100644
--- a/Master/texmf-dist/tex/latex/milsymb/milsymb.sty
+++ b/Master/texmf-dist/tex/latex/milsymb/milsymb.sty
@@ -1,8 +1,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% MilSymb Style File %%
%%-------------------- %%
-%% Version: 1.01 %%
-%% Last Updated: 05/07/2019 %%
+%% Version: 1.02 %%
+%% Last Updated: 2020-03-15 %%
%% Github: https://github.com/ralphieraccoon/MilSymb %%
%% Copyright: Damian Crosby 2018 %%
%% Licence: Creative Commons Attribution-ShareAlike 4.0 International License %%
@@ -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}
@@ -2135,8 +2136,6 @@ frame status/normal/.style={/MilSymb/line=solid},
frame status/anticipated/.style={/MilSymb/line=dashed},
frame status/uncertain/.style={/MilSymb/line=uncertainline},
fill=gray,
-frame status=normal,
-scale=1,
}
\newcommand*{\clipfriendly}{
(-0.75, -0.5) rectangle (0.75, 0.5)
@@ -2257,8 +2256,10 @@ scale=1,
position and movement/.store in=\MilSymb@SymbD,
nation/.store in= \MilSymb@SymbE,
additional information/.store in=\MilSymb@SymbF,
- speed leader/.code 2 args={\draw (0,0) -- (##1:##2);},
+ speed leader/.code 2 args={\begin{scope}[shift={(#2)}, scale=\MilSymb@scale]\draw (0,0) -- (##1:##2);\end{scope}},
speed leader/.value required,
+ frame status=normal,
+ scale=1,
track number=,
call sign=,
position and movement=,
@@ -2319,6 +2320,8 @@ scale=1,
position and movement/.store in=\MilSymb@SymbD,
nation/.store in= \MilSymb@SymbE,
additional information/.store in=\MilSymb@SymbF,
+ frame status=normal,
+ scale=1,
track number=,
call sign=,
position and movement=,
@@ -2683,6 +2686,8 @@ scale=1,
offset/.value required,
movement/.code 2 args={\begin{scope}[shift={(#2)}]\ifthenelse{\equal{\MilSymb@drawH}{true}\AND \equal{\MilSymb@selectedfaction}{friendly}}{ \draw [-{Stealth[inset=0pt,scale=1]}] (-0.75, -0.75) -- +($(0, -##1) - (0, -0.75)$) -- +(##2);}{\draw [-{Stealth[inset=0pt,scale=1]}] (0,0) -- +(0, -##1) -- +(##2);}\end{scope}},
movement/.value required,
+ frame status=normal,
+ scale=1,
faction=friendly,
main=none,
upper=none,
@@ -2745,7 +2750,11 @@ scale=1,
\newcounter{exitem}
\newlength{\itemlength}
\NewDocumentEnvironment{landheadquarters}{ o D(){0,0}}{
-\tikzset{#1}
+\tikzset{%
+ /MilSymb/.cd,
+ scale=1,
+ #1,
+}%
\setlength{\itemlength}{0pt}
\begin{scope}[shift={(#2)}, scale=\MilSymb@scale, transform shape]
\setcounter{exitem}{0}
@@ -2762,7 +2771,11 @@ scale=1,
\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, shift={(#2)}, scale=\MilSymb@scale, transform shape]
\RenewDocumentCommand\item{m}{
@@ -2906,6 +2919,8 @@ scale=1,
equipment teardown time/.store in=\MilSymb@SymbAE,
common identifier/.store in=\MilSymb@SymbAF,
speed/.store in=\MilSymb@SymbZ,
+ frame status=normal,
+ scale=1,
faction=none,
main=none,
mobility=none,
@@ -3043,6 +3058,8 @@ scale=1,
altitude value/.store in=\MilSymb@SymbX,
location/.store in=\MilSymb@SymbY,
speed/.store in=\MilSymb@SymbZ,
+ frame status=normal,
+ scale=1,
headquarters=false,
feint or dummy=false,
country indicator=,
@@ -3227,8 +3244,10 @@ scale=1,
identification/.store in= \MilSymb@SymbE,
additional information/.store in=\MilSymb@SymbF,
date-time group/.store in= \MilSymb@SymbG,
- speed leader/.code 2 args={\draw (0,0) -- (##1:##2);},
+ speed leader/.code 2 args={\begin{scope}[shift={(#2)}, scale=\MilSymb@scale]\draw (0,0) -- (##1:##2);\end{scope}},
speed leader/.value required,
+ frame status=normal,
+ scale=1,
track number=,
name=,
position and movement=,
@@ -3258,8 +3277,12 @@ scale=1,
\end{scope}
\IfNoValueF{#4}{\node [anchor=west, align=left] at (#3.east) {#4};}
}
-\NewDocumentCommand\OwnShip{o D(){0,0} d() g}{
-\tikzset{#1}
+\NewDocumentCommand\OwnShip{ O{} D(){0,0} d() g}{
+\tikzset{%
+ /MilSymb/.cd,
+ scale=1,
+ #1,
+}%
\begin{scope}[shift={(#2)}, local bounding box=#3, scale=\MilSymb@scale, transform shape]
\draw [ultra thick, friendlyA] (0, 0) circle (0.5);
\draw [ultra thick, friendlyA] (0.5, 0) -- (-0.5, 0);
@@ -3348,8 +3371,10 @@ scale=1,
identification/.store in= \MilSymb@SymbE,
additional information/.store in=\MilSymb@SymbF,
date-time group/.store in= \MilSymb@SymbG,
- speed leader/.code 2 args={\draw (0,0) -- (##1:##2);},
+ speed leader/.code 2 args={\begin{scope}[shift={(#2)}, scale=\MilSymb@scale]\draw (0,0) -- (##1:##2);\end{scope}},
speed leader/.value required,
+ frame status=normal,
+ scale=1,
track number=,
name=,
position and movement=,
@@ -3406,13 +3431,15 @@ scale=1,
identification/.store in= \MilSymb@SymbE,
additional information/.store in=\MilSymb@SymbF,
date-time group/.store in= \MilSymb@SymbG,
+ frame status=normal,
+ scale=1,
track number=,
name=,
position and movement=,
identification=,
additional information=,
date-time group=,
- faction=none,
+ faction=friendly,
mine=normal,
neutralised=false,
#1,
@@ -3503,8 +3530,10 @@ scale=1,
position and movement/.store in=\MilSymb@SymbD,
nation/.store in= \MilSymb@SymbE,
additional information/.store in=\MilSymb@SymbF,
- speed leader/.code 2 args={\draw (0,0) -- (##1:##2);},
+ speed leader/.code 2 args={\begin{scope}[shift={(#2)}, scale=\MilSymb@scale]\draw (0,0) -- (##1:##2);\end{scope}},
speed leader/.value required,
+ frame status=normal,
+ scale=1,
track number=,
name=,
position and movement=,
@@ -3544,6 +3573,7 @@ scale=1,
man made/.is if=manmade,
size=small,
man made=false,
+ scale=1,
#1,
}%
\begin{scope}[shift={(#2)}, local bounding box=#3, scale=\MilSymb@scale, transform shape]
@@ -3615,6 +3645,8 @@ scale=1,
offset/.value required,
movement/.code 2 args={\begin{scope}[shift={(#2)}]\ifthenelse{\equal{\MilSymb@drawH}{true}\AND \equal{\MilSymb@selectedfaction}{friendly}}{ \draw [-{Stealth[inset=0pt,scale=1]}] (-0.75, -0.75) -- +($(0, -##1) - (0, -0.75)$) -- +(##2);}{\draw [-{Stealth[inset=0pt,scale=1]}] (0,0) -- +(0, -##1) -- +(##2);}\end{scope}},
movement/.value required,
+ frame status=normal,
+ scale=1,
faction=friendly,
main=none,
upper=none,