Coloured legs
This commit is contained in:
parent
53b19b6cbf
commit
67d2807072
|
@ -222,9 +222,9 @@
|
|||
\begin{document}
|
||||
\begin{board}
|
||||
|
||||
\scoped[shift={(-10.5,3.75)}]{\cardtrackindicator{blue}{Test Text}}
|
||||
\scoped[shift={(7.5,3.75)}]{\cardtrackindicator{red}{Test Text The Second}}
|
||||
\scoped[shift={(-1.5,-3.75)},yscale=-1]{\cardtrackindicator{green}{\rotatebox[origin=c]{180}{TTT}}}
|
||||
\scoped[shift={(-10.5,3.75)}]{\cardtrackindicator{firstleg}{First Leg}}
|
||||
\scoped[shift={(-1.5,-3.75)},yscale=-1]{\cardtrackindicator{secondleg}{\rotatebox[origin=c]{180}{Second Leg}}}
|
||||
\scoped[shift={(7.5,3.75)}]{\cardtrackindicator{thirdleg}{Third Leg}}
|
||||
\track
|
||||
\drawguides
|
||||
|
||||
|
|
|
@ -25,6 +25,10 @@
|
|||
\definecolor{health}{HTML}{FF0000}
|
||||
\definecolor{risk}{HTML}{000000}
|
||||
|
||||
\definecolor{firstleg}{HTML}{9117FF}
|
||||
\definecolor{secondleg}{HTML}{17FF91}
|
||||
\definecolor{thirdleg}{HTML}{FF9117}
|
||||
|
||||
% Card Type
|
||||
\definecolor{utility}{HTML}{FFFFFF}
|
||||
\definecolor{attachment}{HTML}{5FAFCF}
|
||||
|
@ -159,11 +163,13 @@
|
|||
\fill [black] (0.725,-0.5) rectangle (0.775,0.5);
|
||||
}
|
||||
|
||||
\newcommand{\leglevel}[1]{\newcommand{\legcolor}{#1}}
|
||||
|
||||
\newenvironment{leg}
|
||||
{% Begin
|
||||
\noindent\begin{tikzpicture}[x=1cm,y=1cm]
|
||||
\fill [black] (0,0) rectangle (6.35,8.89);
|
||||
\fill[rounded corners=10pt] [white] (0.423333,0.0) rectangle (5.92666,8.4666);
|
||||
\fill[rounded corners=10pt] [\legcolor] (0.423333,0.0) rectangle (5.92666,8.4666);
|
||||
|
||||
% Draw the path itself
|
||||
\scoped[shift={(1.675,0.85)},yscale=-1.0]{\straightspace}
|
||||
|
|
Loading…
Reference in a new issue