blob: 38c06b07b38c1cedea4bf2c345bd3a690d469953 [file] [log] [blame]
Hao Zhuc1f38412017-02-23 12:13:48 -05001.onLoad <- function(libname = find.package("kableExtra"), pkgname = "kableExtra") {
Hao Zhu65216052017-09-04 13:01:29 -04002 load_packages <- getOption("kableExtra.latex.load_packages", default = TRUE)
3 if (load_packages) {
4 usepackage_latex("booktabs")
5 usepackage_latex("longtable")
6 usepackage_latex("array")
7 usepackage_latex("multirow")
8 usepackage_latex("xcolor", "table")
9 usepackage_latex("wrapfig")
10 usepackage_latex("float")
11 usepackage_latex("colortbl")
12 usepackage_latex("pdflscape")
13 usepackage_latex("tabu")
Hao Zhu23456762018-03-26 12:30:10 -040014 usepackage_latex("threeparttablex")
Hao Zhuef0c8302018-01-12 13:30:20 -050015 usepackage_latex("ulem", "normalem")
Hao Zhu65216052017-09-04 13:01:29 -040016 }
Hao Zhuc1f38412017-02-23 12:13:48 -050017}