PSTricks online

Compile PSTricks online in your browser: the drawings go out as PostScript and Ghostscript renders them, with every pst package already installed.

First page of the PSTricks example, compiled with LaTeX

Open in LaTeX.to Download the example (zip)

How to draw with PSTricks on LaTeX.to

Everything runs in your browser: nothing to install, no login, no compile timeout.

What PSTricks is

PSTricks draws in PostScript. A \psplot or a \pstree is not turned into a picture while TeX runs: it becomes PostScript in the output, and the arithmetic happens later, when a PostScript interpreter reads it. That is where its function plots, its node connections and its see-through fills come from, and it is also why it cares which route makes the PDF. Thirty years of pst- packages sit on top of it, for trees, geometry, circuits, chemistry, optics and much more.

Which engines render it

Which engine to use

LaTeX, the first of the three. It renders every package, and the two page example on this page compiles in about ten seconds. Take XeLaTeX only when the same document also needs fontspec fonts, and LuaLaTeX when you would rather skip Ghostscript. The PSTricks template is a document with four figures ready to copy from.

PSTricks vs TikZ

TikZ is the other drawing language. It renders on every engine here, and it is where a new figure should start. Keep PSTricks for a document that already uses it, for a pst- package with no TikZ equivalent, or when you want to write the PostScript yourself. TikZ vs PSTricks compares them properly.

More engines: TikZ and all engines. Compare: TikZ vs PSTricks.