Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blockdiagcontrib-math-0.9.0.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

blockdiagcontrib_math-0.9.0-py2.py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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