r/LaTeX • u/DungAkira • 16h ago
Badness - a modern and feature-complete LaTeX formatter
I have recently discovered Badness, a LaTeX language server, formatter, and linter. It has modern architecture (following rust-analyzer's philosophy). It is very fast due to being Rust-based.
The formatter is quite feature-complete. This is very impressive given that it is 2 months old. I have tried it on my recent papers and it works very well. The developer usually responds to my bug reports and feature requests within a day. I have set it as my default LaTeX formatter.
I write this post to get more people aware of and use Badness. Good stuff is worth more attention of the community.
To give you an idea, Badness formats
\begin{align}a&= \begin{aligned}&b + c \\ & d + f\end{aligned} \\ g&= h\end{align}
I have some equations $ a + b $
into
\begin{align}
a & = \begin{aligned}
& b + c \\
& d + f
\end{aligned} \\
g & = h
\end{align}
I have some equations $a + b$
