Support newlines in latex macro