Skip to content

archive-for-processing/processing-latex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

processing-latex

Beautiful typesetting with Processing.

  • Thin wrapper around 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.

import latex.*;

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

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

About

Beautiful typesetting with Processing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 45.2%
  • Java 38.7%
  • HTML 14.7%
  • Shell 1.4%