Jump to content

PGF/TikZ

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Quark67 (talk | contribs) at 16:55, 23 November 2014 (Further reading: modifying an URL to the archive.org version because the previous site is closed). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

PGF/TikZ ("PGF and TikZ")
Original author(s)Till Tantau
Developer(s)Till Tantau, Christian Feuersaenger
Stable release
3.0.0 / December 20, 2013; 10 years ago (2013-12-20)
Repository
Operating systemMultiplatform (TeX)
TypeVector graphics languages
LicenseDual License: GNU General Public License or LaTeX Project Public License
Websitepgf/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 3.0.0 manual has 1165 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.[9] Most of the development is done by Till Tantau.[10]

Version 3.0.0 was released on 2013-12-20.[11] One of the major new features is graph drawing using the graphdrawing package, which however requires LuaTeX.[12] This version also added a new data visualization method and support for direct SVG output via the new dvisvgm driver.[13]

See also

References

  1. ^ Till Tantau (20 February 2008). "The Tik Z and PGF Packages: Manual for version 2.10" (PDF). p. 17. Retrieved 6 May 2010.
  2. ^ Agostinelli, Matteo. "Cirkuit".
  3. ^ "Inkscape to TikZ exporter".
  4. ^ http://www.fauskes.net/code/blend2tikz/
  5. ^ Schlömer, Nico. "matlab2tikz".
  6. ^ Schlömer, Nico. "matplotlib2tikz".
  7. ^ Williams, Thomas; Kelley, Colin, eds. (2012). "gnuplot 4.6: An Interactive Plotting Program" (PDF).
  8. ^ "tikzDevice: R Graphics Output in LaTeX Format".
  9. ^ "PGF 2.10 ChangeLog".
  10. ^ "TikZ and PGF builds". TeXample.net.
  11. ^ "PGF Web Page".
  12. ^ Attention: This template ({{cite doi}}) is deprecated. To cite the publication identified by doi:10.7155/jgaa.00301, please use {{cite journal}} (if it was published in a bona fide academic journal, otherwise {{cite report}} with |doi=10.7155/jgaa.00301 instead.; see also the older GD 2012 presentation
  13. ^ https://sourceforge.net/projects/pgf/files/pgf/version%203.0.0/

Further reading

  • Andrew Mertz and William Slough, Graphics with PGF and TikZ, PracTeX Journal, 2007 (1), abstract, full text. Conference talk video (version archived by archive.org ; the previous site is unavailable) based on an earlier version of that paper.
  • Claudio Beccari, Graphics in LaTeX (Comparison of several graphics systems in LaTeX), PracTeX Journal, 2007 (1)
  • Marc van Dongen (2012). LaTeX and Friends. Springer. ISBN 978-3-642-23816-1. According to a review of the book in TUGboat: "It contains a detailed introduction to the TikZ suite—probably one of the best existing descriptions of this highly useful package."