def parse_zmatrix(multistring):
    """\
    Parse a multiline string into zmatrix format.
    >>> parse_zmatrix("H")
    [['H']]

    >>> parse_zmatrix('H\\nH 1 0.7')
    [['H'], ['H', 1, 0.7]]
    """
    parsers = [str,int,float,int,float,int,float]
    lines = []
    for line in multistring.splitlines():
        words = line.split()
        tokens = []
        lines.append(tokens)
        for i,word in enumerate(words):
            tokens.append(parsers[i](word))
    return lines