def make_full_document(text, title=None, preamp_decl={}, preamb_extra=None):
    r"""
    dummy preamble and document to wrap around latex fragment

    Args:
        text (str):
        title (str):

    Returns:
        str: text_

    CommandLine:
        python -m utool.util_latex --test-make_full_document

    Example:
        >>> # DISABLE_DOCTEST
        >>> from utool.util_latex import *  # NOQA
        >>> text = 'foo'
        >>> title = 'title'
        >>> preamp_decl = {}
        >>> text_ = make_full_document(text, title)
        >>> result = str(text_)
        >>> print(result)
    """
    import utool as ut
    doc_preamb = ut.codeblock('''
    %\\documentclass{article}
    \\documentclass[10pt,twocolumn,letterpaper]{article}
    % \\usepackage[utf8]{inputenc}
    \\usepackage[T1]{fontenc}

    \\usepackage{times}
    \\usepackage{epsfig}
    \\usepackage{graphicx}
    \\usepackage{amsmath,amsthm,amssymb}
    \\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
    \\usepackage{multirow}
    \\usepackage{subcaption}
    \\usepackage{booktabs}

    %\\pagenumbering{gobble}
    ''')
    if preamb_extra is not None:
        if isinstance(preamb_extra, (list, tuple)):
            preamb_extra = '\n'.join(preamb_extra)
        doc_preamb += '\n' +  preamb_extra + '\n'
    if title is not None:
        preamp_decl['title'] = title

    decl_lines = [r'\{key}{{{val}}}'.format(key=key, val=val)
                  for key, val in preamp_decl.items()]
    doc_decllines = '\n'.join(decl_lines)

    doc_header = ut.codeblock(
        r'''
        \begin{document}
        ''')
    if preamp_decl.get('title') is not None:
        doc_header += r'\maketitle'

    doc_footer = ut.codeblock(
        r'''
        \end{document}
        ''')
    text_ = '\n'.join((doc_preamb, doc_decllines, doc_header, text, doc_footer))
    return text_