String manipulation for (La)TeX
