Install lacheck by entering the following commands in the terminal:
sudo apt update sudo apt install lacheck
Description:
Simple syntax checker for LaTeX
LaCheck is a simple syntax checker for LaTex that is based on a single-pass lexical scanner. This makes clear that there are a lot of LaTeX problems this program cannot find, although it will find most simple mistakes. Complex macro packages may, however, make it completely unusable. . This program was bundled with AUCTeX once upon a time and is best known from there.
Homepage: https://www.ctan.org/tex-archive/support/lacheck/
Version: 1.26-17
Section: universe/tex