You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saw this randomly. kable doesn't escape caption. You need to manually escape that knitr::kable(head(mtcars, 1), format = "latex", caption = "First sample caption \\_")
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
Work:
knitr::kable(head(mtcars, 1), format = "latex", caption = "First sample caption")
Not work:
knitr::kable(head(mtcars, 1), format = "latex", caption = "First sample caption _")
knitr::kable(head(mtcars, 1), format = "latex", caption = "First sample caption _5 ")
knitr::kable(head(mtcars, 1), format = "latex", caption = "First sample caption _ 5")
The text was updated successfully, but these errors were encountered: