twirl templating for latex