def print_title(title, outf):

    """Prints a title to a file

    The title will be marked up by an underline of equal signs as in the Setext
    style of headers.

    """

    print("\n\n%s" % title, file=outf)
    print("=" * len(title), file=outf)
    print("")

    return None