library(knitr); library(kableExtra)
opts_chunk$set(
  echo = FALSE, message = FALSE, warning = FALSE,
  dev = "png", dpi = 600
)
options(knitr.table.format = "latex")

Example

Here is a table:

kable(mtcars[1:5, 1:5], booktabs = TRUE, caption = "a table") %>%
  kable_styling(latex_options = c("striped", "HOLD_position"))

References

\footnotesize



bearloga/wmf-product-analytics-report documentation built on May 14, 2020, 11:37 a.m.