References:
Install
sudo pacman -S --needed texlive-latexrecommended
(Optional) For auxiliary programs (for example, pdfjam), install
sudo pacman -S --needed texlive-binextra
(Optional) For portuguese language support, install
sudo pacman -S --needed texlive-langportuguese
(Optional) For image manipulation, install
sudo pacman -S --needed imagemagick
To change the package install location (it defaults to ~/texmf/), change the TEXMFHOME environment variable (add the following command to you .bash_profile):
export TEXMFHOME="$HOME/.local/texmf"
As user, execute
export TEXMFHOME="$HOME/.local/texmf"
tlmgr init-usertree
Install packages
tlmgr --usermode install \
import \
subfiles \
commath \
framed \
pgf \
makecmds
LaTeX packages: