commit | 457acb4c3dabfd9aed5eccb7e3309fc029867ae5 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Sat Oct 14 17:37:02 2017 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Sat Oct 14 17:37:02 2017 -0400 |
tree | b0b282694ff6abc6f4fe851e5f07724521058f2a | |
parent | 9ce317e5acf4909aa31f1d7961130da12ac021d4 [diff] [blame] |
improve color code setting
diff --git a/R/column_spec.R b/R/column_spec.R index 647f689..a924439 100644 --- a/R/column_spec.R +++ b/R/column_spec.R
@@ -178,7 +178,7 @@ } if (!is.null(color)) { - color <- sprintf("\\\\color{%s}", color) + color <- paste0("\\\\color", latex_color(color)) } if (!is.null(background)) {