How can I define a
stylename/.style={...}
in the preamble so that all tikzpicture environments could reference it instead of defining this style inside of each tikzpicture?
How can I define a
stylename/.style={...}
in the preamble so that all tikzpicture environments could reference it instead of defining this style inside of each tikzpicture?
Just put:
\usepackage{tikz}
\tikzset{%
stylename/.style={...},
anotherstlye/.style={...},% and so on
}
in your preamble, and you'll be able to use stylename and anothetstyle in all the tikzpictures of your document.