Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

LaTeX math plugin for blockdiag

Project description

A plugin for blockdiag that provides LaTeX math as background of nodes.

examples

blockdiagcontrib-math detects label attribute starts with ‘math://’, and converts it as math formula using LaTeX and dvipng.

Example:

blockdiag {
  plugin math;
  A [label = "math://\int_{0}^{\infty} f(x)dx"];
  A -> B;
}

see results at http://pythonhosted.org//blockdiagcontrib-math/

Requirements

  • blockdiag 1.4.2 or later

  • LaTeX

  • dvipng

LaTeX Packages

  • amsmath

  • amsthm

  • amssymb

  • amsfonts

  • bm

License

Apache License 2.0

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page