WASM LaTeX Tools

Run LaTeX Perl and Rust tools directly in your browser

Interactive Demo

Try out the LaTeX tools below. Select a tool, configure options, and run it on your LaTeX code.

Input

Output

Features

Installation

npm install wasm-latex-tools
npx wasm-latex-tools copy-assets

Usage

import { WebPerlRunner, TexCount, TexFmt } from 'wasm-latex-tools';

const runner = new WebPerlRunner();
await runner.initialize();

const texCount = new TexCount(runner);
const result = await texCount.count({ input: '...' });

const texFmt = new TexFmt();
const formatted = await texFmt.format({ input: '...', wrap: true });