stefano-meschiari / latex2exp

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

closing braces #26

Closed piantado closed 2 years ago

piantado commented 4 years ago

Closing braces don't seem to show up for me (R 3.6.1 on ubuntu):

library(latex2exp) plot(1:10, main=TeX("$\{ x \}$") )

NMarkgraf commented 4 years ago

Same problem here. It seems that the last "}" will be ignored, except you use "\left{" and "\right}". Then it works perfectly.

NMarkgraf commented 4 years ago

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.

stefano-meschiari commented 2 years ago

Apologies for the delay in addressing this. The newest release (0.9.0) fixes this bug.