def get_latex_expression(s, pos, **parse_flags):
return LatexWalker(s, **parse_flags).get_latex_expression(pos=pos)<EOL>
Reads a latex expression, e.g. macro argument. This may be a single char, an escape
sequence, or a expression placed in braces.

Returns a tuple `(<LatexNode instance>, pos, len)`. `pos` is the first char of the
expression, and `len` is its length.

.. deprecated:: 1.0
   Please use :py:meth:`LatexWalker.get_latex_expression()` instead.