I would like to be able to alias a PGF key to another name, is this possible and if it is, how do I do this?
For example if I have defined a key as:
\pgfkeys{path/
color/.store in=\color@cx
}
I would like have the ability to let "color" to "somecolor" would it also be possible to alias keys that have been defined using .style
?
color=somecolor
it would be stored in\color@cx
. Which one do you want to access later with alias? There is/.link
key but I don't know if that's what you are after.color->color@cx
andsomecolor->color@cx
./.code
. For example,\pgfkeys{setmycolor/.code={\color@cx=#1}}\/pgfkeys{color/.style={setmycolor=blue}}\pgfkeys{somecolor/.style={setmycolor=red}}
.