Suppose my tikzset
definitions include:
vector/.style={%
decoration={markings, mark= at position 0.5 with {\arrow{Triangle[length=2.5mm, width=2mm]}}}, postaction={decorate}
},
And suppose I need to use the same arrow style elsewhere. How do I define some arrow style and refer it later? Something like (which doesn't work):
\tikzset{%
myarrow/.style={
\arrow{Triangle[length=2.5mm, width=2mm]}
},
vector/.style={%
decoration={markings, mark= at position 0.5 with {myarrow}}, postaction={decorate}
},
}