This is a LaTeX to HTML5 translator written in JavaScript using PEG.js. latex.js for LaTeX is similar in spirit to marked for Markdown. LaTeX.js tries to be absolutely and uncompromisingly exact and compatible with LaTeX. The generated HTML is exactly what is meant to be output, down to the last space. The CSS makes it look like LaTeX output—except where impossible in principle, see limitations.

Features

  • Written in 100% JavaScript and runs in the browser
  • No external dependencies need to be loaded
  • It depends on a DOM implementation
  • New macros can easily be added in JavaScript
  • Easier to implement a piece of functionality in JavaScript and CSS
  • Has a command line interface (CLI)

Project Samples

Project Activity

See All Activity >

Categories

TeX/LaTeX

License

MIT License

Follow LaTeX.js

LaTeX.js Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LaTeX.js!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript TeX LaTeX

Registered

2024-05-10