Tagged Questions
7
votes
1answer
85 views
TikZ compiles in body, but not as command [duplicate]
Possible Duplicate:
Problem with defining shortcuts for TikZ matrices.
When I use the code below to draw a tikzpicture in the body of my document, it works just fine. However, when I define ...
5
votes
3answers
329 views
Is there a \foreach function that works in the preamble?
Tikz/PGF has an extremely useful implementation of \foreach, which allows for instance the construction
\foreach \x / \y in {1/a,2/b,3/c,4/d} {\x is a lot like \y}
in which you can iterate over a ...
10
votes
2answers
2k views
Precompiled preamble with TikZ/Externalize
I'm using the externalize capability of TikZ (external library) to speed up compilation of my TikZ pictures (as explained in Script to automate externalizing tikz graphics).
In addition, I would like ...