pylatexenc/latex2text.py
def latex_to_text(self, latex, **parse_flags):
        """
        Parses the given `latex` code and returns its textual representation.

        The `parse_flags` are the flags to give on to the
        :py:class:`pylatexenc.latexwalker.LatexWalker` constructor.
        """
        return self.nodelist_to_text(latexwalker.LatexWalker(latex, **parse_flags).get_latex_nodes()[0])
def latex_to_text(self, latex, **parse_flags):
        return self.nodelist_to_text(latexwalker.LatexWalker(latex, **parse_flags).get_latex_nodes()[0])
def latex_to_text ( self , latex , * * parse_flags ) : return self . nodelist_to_text ( latexwalker . LatexWalker ( latex , * * parse_flags ) . get_latex_nodes ( ) [ 0 ] )
Parses the given `latex` code and returns its textual representation.

        The `parse_flags` are the flags to give on to the
        :py:class:`pylatexenc.latexwalker.LatexWalker` constructor.
Parses the given latex code and returns its textual representation .