Displaying 1 result from an estimated 1 matches for "uni2latex".
Did you mean:
num2latex
2008 Aug 25
1
Unicode notation \x000
Dear list,
I am trying to replace Unicode notation of German and Spanish special
characters (as read in by read.csv from excel spreadsheets) by
character strings that can be interpreted by LaTeX.
E.g.:
uni2latex <- function(x){
x <- gsub("&", "et", x, fixed = TRUE)
# Deutsch
x <- gsub("\u0080", "\\\"A", x, fixed = TRUE)
x <- gsub("\u008a", "\\\"a", x, fixed = TRUE)
x <- gsub("\u0085", "\\\"...