---
name: "tex-fmt"
section: "1"
platform: "linux"
package: "tex-fmt"
version: "0.5.2+dfsg-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tex-fmt"
---

# tex-fmt(1)

LaTeX formatter written in Rust

## NAME

tex-fmt - LaTeX formatter written in Rust

## SYNOPSIS

**tex-fmt** \[**-c**\|**--check**\] \[**-p**\|**--print**\] \[**-n**\|**--nowrap**\] \[**-l**\|**--wraplen**\] \[**-t**\|**--tabsize**\] \[**--usetabs**\] \[**-s**\|**--stdin**\] \[**--config**\] \[**--noconfig**\] \[**-v**\|**--verbose**\] \[**-q**\|**--quiet**\] \[**--trace**\] \[**--completion**\] \[**--man**\] \[**--args**\] \[**-h**\|**--help**\] \[**-V**\|**--version**\] \[*files*\]

## DESCRIPTION

LaTeX formatter written in Rust

## OPTIONS

- **-c**, **--check**

  Check formatting, do not modify files

- **-p**, **--print**

  Print to stdout, do not modify files

- **-n**, **--nowrap**

  Do not wrap long lines

- **-l**, **--wraplen**

  Line length for wrapping \[default: 80\]

- **-t**, **--tabsize**

  Number of characters to use as tab size \[default: 2\]

- **--usetabs**

  Use tabs instead of spaces for indentation

- **-s**, **--stdin**

  Process stdin as a single file, output to stdout

- **--config**

  Path to configuration file

- **--noconfig**

  Do not read any config file

- **-v**, **--verbose**

  Show info messages

- **-q**, **--quiet**

  Hide warning messages

- **--trace**

  Show trace messages

- **--completion**=*shell*

  Generate shell completion script\

  \[*possible values:* bash, elvish, fish, powershell, zsh\]

- **--man**

  Generate man page

- **--args**

  Print arguments passed to tex-fmt and exit

- **-h**, **--help**

  Print help

- **-V**, **--version**

  Print version

- \[*files*\]

  List of files to be formatted

## VERSION

v0.5.2

## AUTHORS

William George Underwood, wg.underwood13@gmail.com
