TEX-FMT(1)

NAME
tex-fmt - fast LaTeX formatter

SYNOPSIS
tex-fmt [OPTIONS] [FILES]...

DESCRIPTION
fast LaTeX formatter written in Rust

  Arguments:

[FILES]...
    List of files to be formatted

OPTIONS

-c, --check
    Check formatting, do not modify files

-p, --print
    Print to STDOUT, do not modify files

-k, --keep
    Keep lines, do not wrap

-v, --verbose
    Show info log messages

-q, --quiet
    Hide warning messages

-t, --trace
    Show trace log messages

-s, --stdin
    Process STDIN as a single file, output formatted text to STDOUT

--tab <TAB>
    Number of spaces to use as tab size [default: 2]

--usetabs
    Use tabs instead of spaces for indentation

--wrap <WRAP>
    Line length for wrapping [default: 80]

-h, --help
    Print help

-V, --version
    Print version

NOTES
To disable formatting for a specific line add "% tex-fmt: skip" at the end. For whole blocks you can use "% tex-fmt: off" and "% tex-fmt: on".

AUTHOR

Matthias Geiger <werdahias@debian.org>

COPYRIGHT

Copyright © 2024 Matthias Geiger

This manual page was written for the Debian system (and may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation.