def format_sc(n):
    """Return a LaTeX scientifc format for a float n.

    Parameters
    ----------
    n: float.

    Returns
    -------
    str.
        scientific writing of n in LaTeX.

    """
    a = "%.2E" % n
    b = a.split('E')[0] + ' '
    p = str(int(a.split('E')[-1]))
    if p == '0':
        return b
    return b + r'$10^{' + p + r'}$'