def lat2txt(lat, fmt='%g'):
    """
    Format the latitude number with degrees.
    :param lat:
    :param fmt:
    :return:

    :Examples:
    >>> lat2txt(60)
     '60\N{DEGREE SIGN}N'
    >>> lat2txt(-30)
     '30\N{DEGREE SIGN}S'
    """
    if lat < 0:
        latlabstr = u'%s\N{DEGREE SIGN}S' % fmt
        latlab = latlabstr % abs(lat)
    elif lat > 0:
        latlabstr = u'%s\N{DEGREE SIGN}N' % fmt
        latlab = latlabstr % lat
    else:
        latlabstr = u'%s\N{DEGREE SIGN}' % fmt
        latlab = latlabstr % lat
    return latlab