spath3
TikZ libraryThis is a library for manipulating TikZ's soft paths. When TikZ reads a path construction, it first constructs a soft path before converting it into an actual path in the output document. A soft path contains the information needed to build the path in a TeX macro, whence it can be manipulated before it is baked.
This library provides ways of modifying these paths before they are baked.
It also provides some sub-packages which make use of this facility:
knots
for drawing knot diagrams, sorting out the crossings at
intersectionscalligraphy
which turns a path into one that might be drawn by a
calligraphic penspath3
which is a user-level interface to the core functionalityThese libraries are on CTAN and are
included in TeXLive and MikTeX. You should obtain them from one of those
sources. If you know that you need the most up to date version from here,
then download the file spath3_code.dtx
and run tex spath3_code.dtx
to generate the
files.
The simplest way to get the documentation is via texdoc
or from CTAN. To generate it from source, run pdflatex
on one of the _doc.tex
files or on spath3.tex
.