I would like to be create diagrams using TikZ that have a number on the side of the page (like the equation
environment makes) that I can label using \label
and cross-reference using \ref
.
Essentially, I am looking for something like \tag
that works inside the tikzpicture
environment.
For a concrete example, I would like to create something like the first two diagrams on the following page.
Does anyone know how this can be done in TikZ specifically?
Best Answer
You can put everything you like into the
equation
environment. Like this, it will behave like an equation which seems to be what you want.If you which to have the last diagram as well: