1 unstable release

0.1.0 Feb 2, 2023

#113 in #latex

Download history 12/week @ 2024-02-19 14/week @ 2024-02-26 15/week @ 2024-03-11 26/week @ 2024-04-01 41/week @ 2024-04-15

67 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
~153K SLoC