What is the canonical way to enable LaTex?

back to the roots

Add the scripts to your page template …

for the first start put it in layouts/_default/single.html