Wrote a tiny latex convenience function.