commit | 4caa97515dc6fbc96b8776a99949a32f3f1711fc | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Wed Apr 04 14:49:32 2018 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Wed Apr 04 14:49:32 2018 -0400 |
tree | c403a15f123dc863c3037c3dc72040a0edbfca8d | |
parent | 3fc0e88555793c3fa0a931a331fba49a12f74c3d [diff] [blame] |
Fixed a bug with vphantom
diff --git a/R/util.R b/R/util.R index 6d89d1f..3f8237a 100644 --- a/R/util.R +++ b/R/util.R
@@ -125,7 +125,7 @@ empty_times <- dup_index[i] - 1 new_row <- str_replace( dup_row, "&", - paste0("&\\\\\\\\vphantom\\\\{", empty_times, "\\\\}")) + paste0("& \\\\\\\\vphantom\\\\{", empty_times, "\\\\}")) kable_input <- str_replace(kable_input, dup_row, new_row) table_info$contents[i] <- new_row }