Skip to content

Commit 06eabb4

Browse files
committed
promote use of TeX()
1 parent 9d3c414 commit 06eabb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/examples/rmd/MathJax/index.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You _could_ print this **plotly** graph with SVG-based rendering, but it would b
1313
library(plotly)
1414
1515
p <- plotly_empty() %>%
16-
add_trace(x = 1, y = 1, text = "$\\alpha$", mode = "text", size = I(1000)) %>%
16+
add_trace(x = 1, y = 1, text = TeX("\\alpha"), mode = "text", size = I(1000)) %>%
1717
config(mathjax = "cdn")
1818
```
1919

0 commit comments

Comments
 (0)