4

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?

3

1 Answer 1

4

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .