(self, toks: ParseResults)
| 2335 | return [hlist] |
| 2336 | |
| 2337 | def non_math(self, toks: ParseResults) -> T.Any: |
| 2338 | s = toks[0].replace(r'\$', '$') |
| 2339 | symbols = [Char(c, self.get_state()) for c in s] |
| 2340 | hlist = Hlist(symbols) |
| 2341 | # We're going into math now, so set font to 'normal' |
| 2342 | self.push_state() |
| 2343 | self.get_state().font = mpl.rcParams['mathtext.default'] |
| 2344 | return [hlist] |
| 2345 | |
| 2346 | float_literal = staticmethod(pyparsing_common.convert_to_float) |
| 2347 |
nothing calls this directly
no test coverage detected