Convert XYZ structures to LaTex code.