Closed AntoineSoetewey closed 2 years ago
Hi Antoine,
Sorry for taking so long to address this FR. Would you be able to try this pre-release version (0.9.0) and test \lceil / \lfloor
?
As an example,
TeX(r"($\lceil a+b \rceil$)")
currently renders as in the new version.
Thanks for your reply.
I have tried but without success.
Here is a reprex:
devtools::install_github('stefano-meschiari/latex2exp', ref = 'v0.9.0')
library(latex2exp)
plot(x = rnorm(10),
y = rnorm(10),
ylab = TeX(r"($\lceil a+b \rceil$)"))
Am I missing something?
Interesting, the same reprex on my system appears to work correctly:
(note that with default margins, the leftmost few pixels y-axis label gets cut off a bit -- that's an issue with base graphics, not latex2exp; increasing margins fixes it).
Could you double-check the version of latex2exp
loaded is indeed 0.9.0, and paste the output of sessionInfo()
here?
I updated everything and now it works fine.
Thanks again !
Hello,
Unless I'm mistaken, \lceil, \rceil, \lfloor and \rfloor symbols are not supported (see section "Supported LaTeX" in this vignette).
I would like to use the \rceil symbol in the axis label of my plot, would you mind adding these symbols?
Thanks in advance for your help and for building this package.
Regards, Antoine