To work with LaTeX, you need a compiler. In Linux we typically use texlive
, for more information you can read the TexLive Arch Wiki Page and the texlive package group.
A basic setup is obtained by installing the whole group.
sudo pacman -S texlive
From this, your selected LaTeX editor should pickup the latex
command in PATH.