[Tex/LaTex] What are the advantages of TikZ/PGF over PSTricks

pstrickstikz-pgf

The first time I saw the PSTricks' 3D Galleries, I immediately fell in love with it. I have spent much time to learn and use it.

In this forum, I see many people using TikZ. I have not used TikZ yet. But now I am confused why there are so many people discussing TikZ rather than PSTricks. Probably there might be special things, in TikZ, that surpass features offered by PSTricks.

Learning new thing really takes time and need hard effort.

  1. So is it worth investing time in learning TikZ even though I already
    know PSTricks?
  2. Or should I leave PSTricks and migrate to TikZ?

Best Answer

TikZ is the only full graphics package for TeX I have ever used, so I can't really do a good comparison. However here are some things that I think are worth mentioning:

  • What I like most about TikZ is its syntax. The authors clearly put a lot of thought into defining a syntax that is both flexible and easy to read (at the expense of some verbosity).
  • The manual is full of examples and generally of extremely high quality.
  • TikZ works with LaTeX, plain TeX and ConTeXt. It can be compiled with all modern engines (pdfTeX, LuaTeX, XeTeX), though a few things (shadings) currently only work with pdftex.
  • Integration with gnuplot.
  • Some useful programming features, like \foreach or an extensible mathematics engine.

  • On the other hand, PSTricks has been around for a longer time. In particular, there are lots of libraries built around it. So if you want to use one of the libraries that doesn't (yet) have a TikZ equivalent, you have to use PSTricks. Also I suppose there is better support on older systems, if updating is not possible.