PSTricks
In PSTricks is a collection of macros that allow, PostScript graphics on in TeX or LaTeX integrate. It was originally developed by Timothy Van Zandt and today u. a. continued by Denis Girou , Sebastian Rahtz and Herbert Voss . It is of great importance today in publications in many areas of science and technology. Among other things, mathematical functions can be represented with numerous packages.
example
The simple example graphic shown on the right can be created with the following LaTeX source code:
\begin{pspicture}(5,5)
%% rotes Dreieck:
\pspolygon[linecolor=red](1,1)(5,1)(1,4)
%% grüne Bézierkurve:
\pscurve[linecolor=green,linewidth=2pt,%
showpoints=true](5,5)(3,2)(4,4)(2,3)
%% blauer Kreis mit Radius 1:
\pscircle[linecolor=blue,linestyle=dashed](3,2.5){1}
\end{pspicture}
With the help of the LaTeX commands made available by PSTricks, a large number of geometric objects can be drawn, the appearance of which (e.g. color, line thickness) can be adapted almost as desired by specifying additional optional parameters. Coordinates are given in round brackets. There are a large number of packages for various requirements, for example pst-geo
:
\psset{path=Links/texmf-local-generic/pst-geo/data/}% Anpassen an eigenes System
\begin{pspicture}(-7,-3.5)(7,3.5)
\psframe*[linecolor=black!30](-7,-3.5)(7,3.5)
\WorldMap[type=4,unit=0.7]% andere Typen sind möglich
\end{pspicture}
See also
Web links
- Official website (English)
- Create drawings with PSTricks (PDF; 155 kB)
- Functions in PSTricks (PDF; 37 kB)