commit | f94a26f23ed04315f15330d73303be150ee95e49 | [log] [tgz] |
---|---|---|
author | Hao Zhu <haozhu233@gmail.com> | Thu Apr 05 17:42:55 2018 -0400 |
committer | Hao Zhu <haozhu233@gmail.com> | Thu Apr 05 17:42:55 2018 -0400 |
tree | 0c7ecdced343eb0b62d808a7616bfe661bfc6d93 | |
parent | bdc59baf2e7c511f41451616172705c95c2539c0 [diff] [blame] |
Solve #149
diff --git a/R/util.R b/R/util.R index 3f8237a..2de14b1 100644 --- a/R/util.R +++ b/R/util.R
@@ -138,3 +138,8 @@ enc2utf8(as.character(base::format(x, trim = TRUE, justify = 'none'))) } +input_escape <- function(x, latex_align) { + x <- escape_latex2(x) + x <- linebreak(x, align = latex_align, double_escape = TRUE) +} +