PGF/TikZ

From Wikipedia, the free encyclopedia
PGF/TikZ ("PGF and TikZ")
Original author(s) Till Tantau
Developer(s) Till Tantau, Christian Feuersaenger
Stable release 3.0.0 / December 20, 2013 (2013-12-20)
Operating system Multiplatform (TeX)
Type Vector graphics languages
License Dual License: GNU General Public License or LaTeX Project Public License
Website pgf/tikz at sourceforge.net
Example of graphics created with Tikz. Note the slightly translucent top layer.

PGF/TikZ is a tandem of languages for producing vector graphics from a geometric/algebraic description. PGF is a lower-level language, while TikZ is a set of higher-level macros that use PGF. The top-level PGF and TikZ commands are invoked as TeX macros, but in contrast with PSTricks, the PGF/TikZ graphics themselves are described in a language that resembles MetaPost. Till Tantau is the designer of these languages, and he is also the main developer of the only known interpreter for PGF and TikZ, which is written in TeX. PGF is an acronym for "Portable Graphics Format". TikZ was introduced in version 1.10 of PGF, and it is a recursive acronym for "TikZ ist kein Zeichenprogramm" (German for "TikZ is not a drawing program").

The PGF/TikZ interpreter can be used from the popular LaTeX and ConTeXt macro packages, and also directly from the original TeX. Since TeX itself is not concerned with graphics, the interpreter supports multiple TeX output backends: dvips, dvipdfm/dvipdfmx/xdvipdfmx, TeX4ht, and pdftex's internal PDF output driver. Unlike PStricks, PGF can thus directly produce either PostScript or PDF output, but it cannot use some of the more advanced PostScript programming features that PStricks can use due to the "least common denominator" effect.[1] PGF/TikZ comes with extensive documentation. The version 2.10 manual has 726 pages.

The standard LaTeX picture environment can also be used as a front end for PGF merely by using the pgfpict2e package.

Several graphical editors can produce output for PGF/TikZ like the KDE program Cirkuit,[2] and the math drawing program GeoGebra. Export to TikZ is also available as extensions for Inkscape,[3] Blender,[4] MATLAB,[5] matplotlib,[6] Gnuplot[7] and R.[8]

The project is still active as of January 2012. Most of the development is done by Till Tantau.[9]

Version 3.0.0 was released 2013-12-20

See also

  • Asymptote (vector graphics language)
  • PSTricks
  • MetaPost
  • Beamer (LaTeX)
  • KtikZ, PGF/TikZ editor with on-the-fly built-in previewer
  • GeoGebra, free dynamic mathematics program with PGF/TikZ export

References

Further reading

  • Andrew Mertz and William Slough, Graphics with PGF and TikZ, PracTeX Journal, 2007 (1), abstract, full text. Conference talk video based on an earlier version of that paper.
  • Claudio Beccari, Graphics in LaTeX (Comparison of several graphics systems in LaTeX), PracTeX Journal, 2007 (1)

External links

  • PGF/TikZ on CTAN
  • PGF on SourceForge.net
  • PGF/TikZ manual
  • PGF/TikZ gallery at TeXample.net
  • LaTeXPiX. A freeware graphical editor generating (amongst others) PGF code, written for Microsoft Windows.
  • TikzEdt. Combined wysiwyg/text editor designed for editing Tikz code, open source, written for Microsoft Windows and .NET 4.0
  • TpX. Graphical editor that can generate PGF code and convert graphics in other formats into pgf. Freeware, written for Microsoft Windows.
  • KtikZ. Tikz code editor with instantaneous preview. Open source, written for Microsoft Windows, Ubuntu and Debian
  • GraTeX Free visual graph creator for LaTeX (PGF & TikZ) written in Java for MS Windows, Linux, MacOS
This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.