renamed createLatex to maketex