code: def math(self):
      localctx = LaTeXParser.MathContext(self, self._ctx, self.state)
      self.enterRule(localctx, 0, self.RULE_math)
      try:
          self.enterOuterAlt(localctx, 1)
          self.state = 82
          self.relation(0)
      except RecognitionException as re:
          localctx.exception = re
          self._errHandler.reportError(self, re)
          self._errHandler.recover(self, re)
      finally:
          self.exitRule()
      return localctx
  
imports: from antlr4 import *
  from io import StringIO
  import sys
label_desc: Use image node_id 2 for calling the LaTeXParser obj's underlying member method code with example usage: obj.math() and returns: localctx