improved latex output