0

Possible Duplicate:
tutorial for making tikz/pgf library

I want to write a TikZ-based package. What TikZ/PGF-specific things should I be aware of? For those who've written such packages, what do you wish you'd known when you started out?

The ultimate goal is to write to be able to draw illustrations of common Computer Science data structures.

  • Perhaps something for a community wiki to be fleshed out to a full-blown tutorial? – ipavlic Feb 23 '12 at 9:21
  • @percusse If you look at the comments at that question, you will see that Andrew Stacey suggested a question like this one. I am not asking for complete tutorials, I am asking for personal experience, and there is plenty of that on TeX-SX. – ipavlic Feb 23 '12 at 9:31
  • I didn't suggest that someone ask a question like this. I suggested that Sam alter his question to one like this. As it is, I agree with the duplicate in that any answer here could easily be an answer there. However, as it stands I find this too broad. If you want this to stand as an independent question, find a particular aspect of writing the package that you want to know about and ask about specifically that. As it seems that you have a specific package in mind, my only advice is to start writing it and ask about specifics as you go along. – Loop Space Feb 23 '12 at 9:39
  • @AndrewStacey I thought that three months were long enough for Sam to change his question if he wanted to. It also looks like you yourself changed your position on whether a question might be appropriate since then. I'll delete the question if the community agrees that it is not appropriate here. – ipavlic Feb 23 '12 at 9:47
  • I think that if anyone had any obvious bits of general wisdom then they could have added them to Sam's question. So whilst, for example, I could try to write an actual tutorial, it would be a lot of time and effort. At the other extreme, I could say some obvious things like "I wish I'd learnt more about pgfkeys at the start" or "Catcodes are a pain in the neck" but those wouldn't really help. So I don't think that either question is a good fit for the site. However, it's not a bad question so I'm happy for one such to stay as a place where someone could record such hints and tips ... – Loop Space Feb 23 '12 at 9:54