Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've noticed in a number of examples that the following is occasionally used when working with tikz:

\tikzstyle{every picture}+=[remember picture]

When I search the documentation I can't find anything about this particular syntax. I can find no documentation for either \tikzstyle or +=.

I'm guessing that this means something like

\tikzset{every picture/.append style={remember picture}}

Could someone explain what this syntax is about and where I can find documentation for it?

share|improve this question
2  
have you seen Should \tikzset or \tikzstyle be used to define TikZ styles? ? Could be relevant/helpful... –  cmhughes May 2 at 4:19

1 Answer 1

up vote 8 down vote accepted

You don't find an explanation for this command in newer versions of PGF/TikZ because is an old syntax which has been replaced with \tikzset; it's not very fortunate that that the manual for version 3.0 still contains this syntax in some of the examples. If you have the manual for version 1.18! (I found a version here), you'll find it on page 81 and, yes, you're right, the plus sign is the same as append style in the new syntax:

enter image description here

For more information about using \tikzset versus \tikzstyle, you can see Should \tikzset or \tikzstyle be used to define TikZ styles?.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.