I have a macro that will draw several things in a TikZ picture using some styles I defined, which include fills:
\documentclass{article}
\usepackage{tikz}
\tikzset{%
mystyle1/.style={fill=red,font={\bfseries}},
mystyle2/.style={fill=yellow,draw=blue}
}
\newcommand{\doit}{%
\begin{tikzpicture}
\node[mystyle1,circle]at(0,0){Text1};
\node[mystyle2,rectangle] at (3,0){Text2};
\end{tikzpicture}
}
\begin{document}
Foo
\doit
bar
\end{document}
Which looks like
How can I tell TikZ, before or after the \tikzset
, to
don't do the fills but everything else
without redefining all the styles? (Here it's only two, but in my real applications it's many and they may change.)
So, the result should look like this:
I thought, that something like
\tikzset{every node/.append style={fill=none}}
should work, but it doesn't.