https://github.com/gw31415/math2img
Convert mathematical expressions into images
https://github.com/gw31415/math2img
latex mathjax png rust svg tex
Last synced: 2 months ago
JSON representation
Convert mathematical expressions into images
- Host: GitHub
- URL: https://github.com/gw31415/math2img
- Owner: gw31415
- License: apache-2.0
- Created: 2023-10-31T05:32:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-02T15:19:49.000Z (over 2 years ago)
- Last Synced: 2026-04-04T11:12:45.085Z (3 months ago)
- Topics: latex, mathjax, png, rust, svg, tex
- Language: Rust
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# math2img
[](https://crates.io/crates/math2img)
[](https://crates.io/crates/math2img)
[](LICENSE)
Convert mathematical expressions into images.

## Installation
### with Cargo
```bash
cargo install math2img
```
## Usage
```help
Convert mathematical expressions into images
Usage: math2img [OPTIONS] [MATH]
Arguments:
[MATH] Mathjax expression
Options:
--help Print help
-o, --output Output filename
--png Output as PNG. If the argument `output` has a `.png` extension, it will be set automatically
--completion Generate shell completion [possible values: bash, elvish, fish, powershell, zsh]
-w, --width Number of horizontal dots in PNG image
-h, --height Number of vertical dots in PNG image
-V, --version Print version
```
## Screenshots
