Skip to main content

PGF/TikZ









PGF/TikZ




From Wikipedia, the free encyclopedia






Jump to navigation
Jump to search





















PGF/TikZ ("PGF and TikZ")

Example of graphics created with TikZ. Note the slightly translucent top layer.
Example of graphics created with TikZ. Note the slightly translucent top layer.

Original author(s)Till Tantau
Developer(s)Till Tantau, Christian Feuersänger
Stable release
3.0.1
/ August 7, 2015; 3 years ago (2015-08-07)

Repository
  • [cvs://anonymous:@pgf.cvs.sourceforge.net/cvsroot/pgf pgf.cvs.sourceforge.net/cvsroot/pgf]
Edit this at Wikidata
Written in
TeX, Lua
Operating systemMultiplatform (TeX)
TypeVector graphics languages
LicenseDual License: GNU General Public License or LaTeX Project Public License
Websitesourceforge.net/projects/pgf/

PGF/TikZ is a pair 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 0.95 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 has been under constant development since 2005. Most of the development is done by Till Tantau.[9] Version 3.0.0 was released on 2013-12-20.[10] One of the major new features is graph drawing using the graphdrawing package, which however requires LuaTeX.[11] This version also added a new data visualization method and support for direct SVG output via the new dvisvgm driver.[12]




Contents





  • 1 See also


  • 2 References


  • 3 Further reading


  • 4 External links




See also[edit]



  • Asymptote (vector graphics language)

  • PSTricks

  • MetaPost


  • GeoGebra, free dynamic mathematics program with PGF/TikZ export


References[edit]




  1. ^ Till Tantau (20 February 2008). "The Tik Z and PGF Packages: Manual for version 2.10" (PDF). p. 17. Archived from the original (PDF) on 9 January 2011. Retrieved 6 May 2010..mw-parser-output cite.citationfont-style:inherit.mw-parser-output .citation qquotes:"""""""'""'".mw-parser-output .citation .cs1-lock-free abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-subscription abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registrationcolor:#555.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration spanborder-bottom:1px dotted;cursor:help.mw-parser-output .cs1-ws-icon abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center.mw-parser-output code.cs1-codecolor:inherit;background:inherit;border:inherit;padding:inherit.mw-parser-output .cs1-hidden-errordisplay:none;font-size:100%.mw-parser-output .cs1-visible-errorfont-size:100%.mw-parser-output .cs1-maintdisplay:none;color:#33aa33;margin-left:0.3em.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-formatfont-size:95%.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-leftpadding-left:0.2em.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-rightpadding-right:0.2em


  2. ^ Agostinelli, Matteo. "Cirkuit".


  3. ^ "Inkscape to TikZ exporter".


  4. ^ https://github.com/kjellmf/blend2tikz


  5. ^ Schlömer, Nico. "matlab2tikz".


  6. ^ Schlömer, Nico. "matplotlib2tikz".


  7. ^ Williams, Thomas; Kelley, Colin, eds. (2017). "gnuplot 5.2: An Interactive Plotting Program" (PDF).


  8. ^ "tikzDevice: R Graphics Output in LaTeX Format".


  9. ^ "TikZ and PGF builds". TeXample.net.


  10. ^ "PGF Web Page".


  11. ^ Tantau, Till (2013). "Graph Drawing in TikZ". Journal of Graph Algorithms and Applications. 17 (4): 495–513. doi:10.7155/jgaa.00301.; see also the older GD 2012 presentation


  12. ^ https://sourceforge.net/projects/pgf/files/pgf/version%203.0.0/




Further reading[edit]


.mw-parser-output .refbeginfont-size:90%;margin-bottom:0.5em.mw-parser-output .refbegin-hanging-indents>ullist-style-type:none;margin-left:0.mw-parser-output .refbegin-hanging-indents>ul>li,.mw-parser-output .refbegin-hanging-indents>dl>ddmargin-left:0;padding-left:3.2em;text-indent:-3.2em;list-style:none.mw-parser-output .refbegin-100font-size:100%

  • 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."



External links[edit]






  • 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. Last updated 2009-12-28.


  • TikzEdt. Combined wysiwyg/text editor designed for editing Tikz code, open source, written for Microsoft Windows and .NET 4.0. Runs also on Linux using Mono. Beta version 0.2.3 released in June 2013.


  • TpX. Graphical editor that can generate PGF code and convert graphics in other formats into pgf. Freeware, written for Microsoft Windows. Version 1.5 released on 2008-12-07.


  • KtikZ. Tikz code editor with instantaneous preview. Open source, written for Microsoft Windows, Ubuntu and Debian. Last updated on 2010-08-26.


  • GraTeX Free visual graph creator for LaTeX (PGF & TikZ) written in Java for MS Windows, Linux, MacOS. Uploaded on 2012-06-10.









Retrieved from "https://en.wikipedia.org/w/index.php?title=PGF/TikZ&oldid=875134317"










Navigation menu



























(window.RLQ=window.RLQ||).push(function()mw.config.set("wgPageParseReport":"limitreport":"cputime":"0.392","walltime":"0.521","ppvisitednodes":"value":1543,"limit":1000000,"ppgeneratednodes":"value":0,"limit":1500000,"postexpandincludesize":"value":44688,"limit":2097152,"templateargumentsize":"value":2906,"limit":2097152,"expansiondepth":"value":25,"limit":40,"expensivefunctioncount":"value":4,"limit":500,"unstrip-depth":"value":1,"limit":20,"unstrip-size":"value":30382,"limit":5000000,"entityaccesscount":"value":2,"limit":400,"timingprofile":["100.00% 434.532 1 -total"," 47.67% 207.129 2 Template:Infobox"," 39.90% 173.388 1 Template:Infobox_software"," 31.38% 136.359 1 Template:Reflist"," 25.21% 109.548 9 Template:Cite_web"," 12.37% 53.765 1 Template:Infobox_software/simple"," 9.12% 39.613 1 Template:Commons_category"," 7.56% 32.849 1 Template:Start_date_and_age"," 7.25% 31.506 2 Template:Wikidata"," 4.99% 21.672 1 Template:Vector_graphics_markup_languages"],"scribunto":"limitreport-timeusage":"value":"0.171","limit":"10.000","limitreport-memusage":"value":4885938,"limit":52428800,"cachereport":"origin":"mw1272","timestamp":"20190324155233","ttl":2592000,"transientcontent":false);mw.config.set("wgBackendResponseTime":85,"wgHostname":"mw1261"););

Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

政党

天津地下鉄3号線