stefano-meschiari / latex2exp

Use LaTeX in R graphics.
Other
185 stars 10 forks source link

0.9.3 #44

Closed stefano-meschiari closed 2 years ago

stefano-meschiari commented 2 years ago

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.