PGF/TikZ Code Snippets

Snippet Tags:

This page is a catalog for various PGF/TikZ snippets. Click on the picture to see a larger version, or click on the title to see the source code. Note that several of these snippets use the \tikzstyle keys defined in tikzstyledefs.tex and described in more detail on my Trace Diagrams with TikZ Page.

PGF (Portable Graphics Format) & TikZ (TikZ ist kein Zeichenprogramm) are a combination of \TeX packages that can be used for generating high-quality graphics using a \LaTeX-like syntax. I like TikZ because it generates graphics on the fly, without the need for separate files for each picture… this is a lifesaver for papers that have hundreds of diagrams. It is also has a very natural and intuitive syntax. For example, the command to draw a line between (0,0) and (1,1) is \tikz{ \draw(0,0)to(1,1); } See this tutorial at the pracTeX Journal for help on getting started with PGF/TikZ. The instructions here require version 2.00 which is available at http://sourceforge.net/projects/pgf/, with documentation here. Another great resource is this PGF/TikZ Gallery.

Featured Snippets

sl2sum3relation.png

Trace Relations via Binor Identity

(last edited on 1225194783|%e %b %Y, %H:%M %Z|agohover by elishapetersonelishapeterson)

triplevector.png

Triple Vector Product Identity

(last edited on 1225190439|%e %b %Y, %H:%M %Z|agohover by elishapetersonelishapeterson)

All Snippets (sorted by title)

  1. Central Functions of Rank 1-3 last edited 1234381543|%O ago (%e %b %Y) by elishapetersonelishapeterson
  2. Fundamental Binor Identity last edited 1225194589|%O ago (%e %b %Y) by elishapetersonelishapeterson
  3. Trace, Determinant, and Other Primitive Matrix Invariants last edited 1240324785|%O ago (%e %b %Y) by elishapetersonelishapeterson
  4. Trace Relations via Binor Identity last edited 1225194783|%O ago (%e %b %Y) by elishapetersonelishapeterson
  5. Triple Vector Product Identity last edited 1225190439|%O ago (%e %b %Y) by elishapetersonelishapeterson

Recent Snippets (sorted by last edit date)

  1. Trace, Determinant, and Other Primitive Matrix Invariants last edited 1240324785|%O ago (%e %b %Y) by elishapetersonelishapeterson
  2. Central Functions of Rank 1-3 last edited 1234381543|%O ago (%e %b %Y) by elishapetersonelishapeterson
  3. Trace Relations via Binor Identity last edited 1225194783|%O ago (%e %b %Y) by elishapetersonelishapeterson
  4. Fundamental Binor Identity last edited 1225194589|%O ago (%e %b %Y) by elishapetersonelishapeterson
  5. Triple Vector Product Identity last edited 1225190439|%O ago (%e %b %Y) by elishapetersonelishapeterson
page_revision: 87, last_edited: 1258893615|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License