Closed piantado closed 2 years ago
Same problem here. It seems that the last "}" will be ignored, except you use "\left{" and "\right}". Then it works perfectly.
Wow! This https://github.com/stefano-meschiari/latex2exp/commit/a273edc15286bfe5868a3d2067375cf9d42c44d3 should fix the problem. It was written in 2017, we have 2020 ... I guess this project is dead.
Apologies for the delay in addressing this. The newest release (0.9.0) fixes this bug.
Closing braces don't seem to show up for me (R 3.6.1 on ubuntu):
library(latex2exp) plot(1:10, main=TeX("$\{ x \}$") )