A brief demo how to use pgfdeclareshape.
In pgf/TikZ
, you can declare new shapes in addition to rectangles and circles using pgfdeclareshape
.
However, TikZ can be frustrating and it took me quite some time to figure out how pgfdeclareshape
is used correctly.
Maybe this example can be helpful and save you some time.
For more information, see the TikZ manual:
- https://tikz.dev/
- https://ftp.mpi-inf.mpg.de/pub/tex/mirror/ftp.dante.de/pub/tex/graphics/pgf/base/doc/pgfmanual.pdf
- developed by Till Tantau for creating graphics in his PhD thesis
- PGF: Protable Graphics Format
- initial base layer/foundation for producing graphics with TeX commands
- TikZ
- TikZ: "Tikz ist kein Zeichenprogram"
- German for: "TikZ is not a drawing program"
- built on top of PGF to provide high-level LaTeX commands