Closed rcorty closed 2 years ago
The line from my ggplot was
xlab(TeX(paste('lower $V_e \;$'strain')))
You have to escape twice \\;
instead of \;
as it's an R string
xlab(TeX(paste('lower $V_e \\;$'strain')))
Sorry for the delay in answering this issue. As @billy34 mentioned, you need to escape the backslash (\\;
) or use the new R raw string syntax, which would look like
TeX(r'(lower $V_e \;$'strain)')
not sure if i was doing it right, but I couldn't get whitespace with
$\;$ nor $\,$
Would be great to support, e.g. \hspace{2cm} as well