commit | 00095d46b88e81c22659a21db4ce2121a9601c98 | [log] [tgz] |
---|---|---|
author | Samia <samiaab1990@gmail.com> | Sun Jul 05 19:05:11 2020 -0400 |
committer | Samia <samiaab1990@gmail.com> | Sun Jul 05 19:05:11 2020 -0400 |
tree | c3eb1887559d6b6cf7a889eec932521587a12b62 | |
parent | 5ca2746e703d6611777afaede796dd1452be30d9 [diff] [blame] |
Changed the add_indent_latex part: Since it's 1em for latex, 2em for HTML, for latex keep number of indent at increments of 1em and HTML at increments of 2em
diff --git a/R/add_indent.R b/R/add_indent.R index adc4b18..86105f5 100644 --- a/R/add_indent.R +++ b/R/add_indent.R
@@ -59,7 +59,7 @@ } latex_indent_unit <- function(rowtext) { - paste0("\\\\hspace\\{",no_of_indent*2,"em\\}", rowtext) + paste0("\\\\hspace\\{",no_of_indent,"em\\}", rowtext) } # Add indentation for HTML