@staticmethod<EOL><INDENT>def fromLatex(tex, *args, **kwargs):<DEDENT>
source = TexSoup(tex)<EOL>return TOC('<STR_LIT>', source=source,<EOL>descendants=list(source.descendants), *args, **kwargs)<EOL>
Creates abstraction using Latex

        :param str tex: Latex
        :return: TreeOfContents object