A PGF and TikZ examples gallery
- Published 2006-11-12 (6 years, 6 months ago)
PGF and TikZ is a package for creating high quality illustrations for use with LaTeX, ConTeX or pure TeX. It is a package that deserves a larger user base. I've therefore created a gallery of examples with code and results. Its purpose is to showcase PGF/TikZ and hopefully be a useful learning resource.
I just recently started to use PGF/TIkZ actively. I've been a PSTricks fan for quite a while, but while working on my dot2tex tool I fell for PGF/TikZ 's clean and consistent design, excellent documentation and the fact that it works natively with PDFTeX.
PGF and its user friendly front end TikZ, has not been around as long as PSTricks and Metapost. It's therefore not as well known, and there are not that many resources for learning the package. The users guide is very good, with many examples. However, there are few online examples of illustrations made with PGF/TikZ. Here PSTricks excels, with a very large collection of examples available. Well, complaining is not very constructive, so I decided to create a gallery of examples myself. It was also a great opportunity to sharpen my Django skills.
At the moment most of the examples are from the PGF/TikZ manual. However, I'm planning to add more of my own illustrations. Hopefully others are willing to contribute examples as well. Contact me if you want to contribute!
The gallery is made with the Django web framework. It is actually a mix of my dot2tex gallery and my notebook, so it didn't take long to put it together. The most challenging part was to create the build script for automatically updating the gallery. However, with the help of Python, the Django database API, PIL, Docutils, and Pygments, this was quite a simple task as well. Let me know if you are interested in the code.