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
- ruff
Extremely fast Python linter, written in Rust rust python python3 static-analysis linter static-code-analysis ruff… - ty
Extremely fast Python type checker, written in Rust python - esbuild-rs
Rust wrapper for esbuild, an extremely fast JS minifier written in Go - rumdl
Markdown Linter and Formatter written in Rust markdown documentation rust cli static-analysis formatter linter… - taplo
TOML toolkit written in Rust rust analyzer formatter toml toml-parser - texres
Fast TeX engine written in Rust - dprint
Pluggable and configurable code formatting platform written in Rust formatter - uv
Extremely fast Python package installer and resolver, written in Rust python uv
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents