(self, s, loc, toks)
| 2581 | return [hlist] |
| 2582 | |
| 2583 | def non_math(self, s, loc, toks): |
| 2584 | s = toks[0].replace(r'\$', '$') |
| 2585 | symbols = [Char(c, self.get_state(), math=False) for c in s] |
| 2586 | hlist = Hlist(symbols) |
| 2587 | # We're going into math now, so set font to 'it' |
| 2588 | self.push_state() |
| 2589 | self.get_state().font = rcParams['mathtext.default'] |
| 2590 | return [hlist] |
| 2591 | |
| 2592 | def _make_space(self, percentage): |
| 2593 | # All spaces are relative to em width |
nothing calls this directly
no test coverage detected