def utf2latex(utf, exception=None):
    """Convert a utf character to latex"""
    if utf == exception:
        return(utf)
    else:
        latex = utf.encode('latex').decode('utf-8')
        return(latex)