stefano-meschiari / latex2exp

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

Render issues of parentheses \left[, ... #50

Closed Pentaonia closed 1 year ago

Pentaonia commented 2 years ago

Hi, when I use for example

plot(TeX("Day time $\ \\left[ hours \\right] $"), cex=2, main="")

R does not display the brackets. It looks like this: image

When I use this instead: plot(TeX("Day time $\ \\lbrack hours \\rbrack $"), cex=2, main="")

it renders properly.

image

stefano-meschiari commented 2 years ago

@Pentaonia sorry for the delay in triaging this. What version of R are you using and on which system?

On my system, your example renders correctly: image

stefano-meschiari commented 1 year ago

Closing since I was not able to reproduce. Feel free to reopen if you can share a way to reproduce this bug.