commit | cc21dc72148e47f4c678dd00d59f4846a3a62a09 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Sat May 20 01:15:25 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Sat May 20 01:15:25 2017 -0400 |
tree | 2fd5b78e0674391949f1bae96ae4dd4ae0d264bd | |
parent | ea8fcad338ed0f1c3f27690ff025ac153dbb3fe5 [diff] [blame] |
Add landscape.R; Improve scale_down
diff --git a/R/kable_styling.R b/R/kable_styling.R index 4ede987..05a95cc 100644 --- a/R/kable_styling.R +++ b/R/kable_styling.R
@@ -222,7 +222,7 @@ return(x) } x <- sub(table_info$begin_tabular, - paste0("\\\\resizebox\\{\\\\textwidth\\}\\{\\!\\}\\{", + paste0("\\\\resizebox\\{\\\\linewidth\\}\\{\\!\\}\\{", table_info$begin_tabular), x) sub(table_info$end_tabular, paste0(table_info$end_tabular, "\\}"), x)