根据@percusse的回答这里,我试图定义\tikzstyle
如下的多参数
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\tikzset{mystyle/.style n args{3}{circle, minimum size=#1 cm, draw=#2, fill=#2!#3, inner sep=0pt, outer sep=0pt}}
\node[mystyle={1}{red}{70}] (mynode) {};
\end{tikzpicture}
\end{document}
但我收到以下错误:
Illegal parameter number in definition of \pgfkeyscurrentkey. ... fill=#2!#3, inner sep=0pt, outer sep=0pt}}
这里有什么问题?