-sanitize <- function(str, type) {
+sanitize <- function(str, type = "latex") {
if(type == "latex"){
result <- str
result <- gsub("\\\\", "SANITIZE.BACKSLASH", result)
if(type == "latex"){
result <- str
result <- gsub("\\\\", "SANITIZE.BACKSLASH", result)
meaning in the output format.\r
}\r
\usage{\r
meaning in the output format.\r
}\r
\usage{\r
+sanitize(str, type = "latex")\r
sanitize.numbers(str, type, math.style.negative = FALSE,\r
math.style.exponents = FALSE)\r
sanitize.final(str, type)\r
sanitize.numbers(str, type, math.style.negative = FALSE,\r
math.style.exponents = FALSE)\r
sanitize.final(str, type)\r