{"action":"opened","issue":{"url":"https://api.github.com/repos/ropensci/plotly/issues/461","repository_url":"https://api.github.com/repos/ropensci/plotly","labels_url":"https://api.github.com/repos/ropensci/plotly/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/plotly/issues/461/comments","events_url":"https://api.github.com/repos/ropensci/plotly/issues/461/events","html_url":"https://github.com/ropensci/plotly/issues/461","id":132899322,"number":461,"title":"Latex typesetting broken","user":{"login":"royr2","id":6601579,"avatar_url":"https://avatars.githubusercontent.com/u/6601579?v=3","gravatar_id":"","url":"https://api.github.com/users/royr2","html_url":"https://github.com/royr2","followers_url":"https://api.github.com/users/royr2/followers","following_url":"https://api.github.com/users/royr2/following{/other_user}","gists_url":"https://api.github.com/users/royr2/gists{/gist_id}","starred_url":"https://api.github.com/users/royr2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/royr2/subscriptions","organizations_url":"https://api.github.com/users/royr2/orgs","repos_url":"https://api.github.com/users/royr2/repos","events_url":"https://api.github.com/users/royr2/events{/privacy}","received_events_url":"https://api.github.com/users/royr2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-11T06:19:34Z","updated_at":"2016-02-11T06:19:34Z","closed_at":null,"body":"The official example [here](https://plot.ly/r/LaTeX/) is broken. \r\n\r\n```r\r\n# This doesn't work\r\n\r\nlibrary(plotly)\r\nplot_ly(x = c(1, 2, 3, 4), y = c(1, 4, 9, 16),\r\n        name = \"$\\\\alpha_{1c} = 352 \\\\pm 11 \\\\text{ km s}^{-1}$\") %>%\r\n  add_trace(x = c(1, 2, 3, 4), y = c(0.5, 2, 4.5, 8),\r\n            name = \"$\\\\beta_{1c} = 25 \\\\pm 11 \\\\text{ km s}^{-1}$\") %>%\r\n  layout(xaxis = list(title = \"$\\\\sqrt{(n_\\\\text{c}(t|{T_\\\\text{early}}))}$\"),\r\n         yaxis = list(title = \"$d, r \\\\text{ (solar radius)}$\"))\r\n\r\n\r\n# This works\r\n\r\nlibrary(plotly)\r\nplot_ly(x = c(1, 2, 3, 4), y = c(1, 4, 9, 16),\r\n        name = \"A\") %>%\r\n  add_trace(x = c(1, 2, 3, 4), y = c(0.5, 2, 4.5, 8),\r\n            name = \"B\") %>%\r\n  layout(xaxis = list(title = \"C\"),\r\n         yaxis = list(title = \"D\"))\r\n\r\n```"}}