latex helping script