return a tex string instead of the tree