Install chemeq by entering the following commands in the terminal:
sudo apt update sudo apt install chemeq
Description:
Parser for chemical formula and equilibria
chemeq is a basic standalone filter written in C language, flex and bison. It inputs strings like: 2H2 + O2 ---> 2 H2O then it outputs LaTeX code and messages about the equilibrium of a chemical reaction. . example:~/src$ echo "2H2 + O2 ---> 2 H2O" | chemeq -lc 2\,H_{2}\,+\,O_{2}\,ightarrow\,2\,H_{2}O OK
Version: 2.12-3
Section: universe/tex