TikZ shapes are extremely hard to create – even the documentation admits as much.

On the other hand, the selection of shapes that ships with the tikz package is pretty meagre – besides rectangles, circles, diamonds and regular polygons there isn’t much more. A split circle and a few strike outs is about all.

Is there an online repository of ready usable high-quality shapes?

For example, I’m searching for a tag shape and while this is of course straightforward to create myself1 it’s still a lot of work and most probably redundant since someone else must have needed the same shape aready.

1 I’ve already created a “document” shape with a dog ear in one corner based on the tutorial in the documentation. Including debugging and parameter tweaking, this has certainly taken me more than one hour.

  • If there isn't there should be! Perhaps suggest to the texample crowd... – Seamus Dec 26 '10 at 17:35
  • 1
    I'm planning for some time to create a repository of small useful TikZ snippets where something like this would fit in, but I never get around to code a webpage for it... – Caramdir Dec 26 '10 at 19:31
  • 1
    I would be very interested to contribute to this open source initiative, if we agree to start it. One thing which will be very helpful is a collection of UML shapes. – yegor256 Feb 25 '11 at 9:39
  • 1
    Would you mind sharing your "document" shape example? – Bart Jun 27 '12 at 13:41
  • 1
    @Bart It’s on a computer that I haven’t touched in months. Next time I use this PC, I’ll try to remember copying it. But it’s not that well done anyway. – Konrad Rudolph Jun 27 '12 at 14:11

I do not know of a central repository, however, there are a lot of examples at TeXample

  • 3
    I like this one: texample.net/tikz/examples/parameterised-pig – xport Jan 4 '11 at 11:53
  • 1
    but most of those aren’t new node shapes, just examples of the existing shapes. For example, the pig “shape” mentioned by @xport isn’t actually a node shape. It’s just a macro that uses a tikz picture. In fact, only three of those examples declare new shapes … – Konrad Rudolph Jan 4 '11 at 13:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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