AptLynx

Command-line tool

tex-fmt

brew/tex-fmt

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Extremely fast LaTeX formatter written in Rust

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

scoop bucket add extras; scoop install extras/tex-fmt
cargo install tex-fmt

macOS

brew install tex-fmt
cargo install tex-fmt

Linux

brew install tex-fmt
cargo install tex-fmt

Format a file, overwriting the original

tex-fmt path/to/file.tex

Check if a file is correctly formatted

tex-fmt --check path/to/file.tex

Format a file read from `stdin` and print to `stdout`

cat path/to/file.tex | tex-fmt --stdin

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents