1 unstable release

0.1.0 Feb 2, 2023

#130 in #latex

Download history 13/week @ 2024-12-07 3/week @ 2024-12-14 1/week @ 2025-02-01 4/week @ 2025-02-08 3/week @ 2025-02-15 9/week @ 2025-02-22 268/week @ 2025-03-01

285 downloads per month
Used in unlatex-cli

MIT/Apache

660KB
709 lines

UnLaTex

Description

UnLaTex is a library for parsing and formatting LaTeX.

Examples

let formatted = unlatex::format("E = mc^2").unwrap();
let ast = unlatex::parse("E = mc^2").unwrap();

lib.rs:

This crate offers Rust bindings to unified-latex. This allows you to parse and format LaTeX documents.

Usage

Add this to your Cargo.toml:

[dependencies]
unlatex-core = "0.1.0"

Examples

let formatted = unlatex::format("E = mc^2").unwrap();
let ast = unlatex::parse("E = mc^2").unwrap();

Dependencies

~5.5MB
~161K SLoC