Fix an edge case encountered with back-to-back spacing or certain types of commands (e.g. TeX(r"(a \,\, b)")) (fixes issue #43). This is done by detecting if the previous token was a symbol of type operator, and adding a phantom() to the left of the current command.
Fix an edge case encountered with back-to-back spacing or certain types of commands (e.g.
TeX(r"(a \,\, b)"
)) (fixes issue #43). This is done by detecting if the previous token was a symbol of type operator, and adding aphantom()
to the left of the current command.