Is it really not possible to define drop shadow (with or w/o options) as a macro?
\documentclass{scrartcl}
\usepackage{tikz}
\usetikzlibrary{shadows}
\newcommand{\test}{drop shadow={shadow xshift=1ex}}
\begin{document}
\begin{tikzpicture}
\node[rectangle,fill=red,drop shadow={shadow xshift=1ex}] at (0,0) {test};
\node[rectangle,fill=green,\test] at (5,0) {test};
\end{tikzpicture}
\end{document}
When I test this file I get the message 'pgfkeys Error: I do not know the key ...'.
I regularly use other options of \node
with such macros without problems so far.