Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nickmcintyre/processing-latex

Beautiful typesetting with Processing
https://github.com/nickmcintyre/processing-latex

latex math processing

Last synced: 2 months ago
JSON representation

Beautiful typesetting with Processing

Awesome Lists containing this project

README

        

# processing-latex
**Beautiful typesetting with Processing.**

- Thin wrapper around [JLaTeXMath](https://github.com/opencollab/jlatexmath).
- Works in Python mode.
- Still early days. Things will break.

## Example
The following example converts a LaTeX string to a `PShape` object, then displays it.

```java
import latex.*;

void setup() {
size(640, 360);
shapeMode(CENTER);

PShape formula = PTeX.toPShape("\\nabla \\rho = 0");
shape(formula, width * 0.5, height * 0.5);
}
```