search for: 4cdot

Displaying 1 result from an estimated 1 matches for "4cdot".

Did you mean: cdot
2009 Feb 06
3
Sweave and backslashes
...urn(x) } Everything works nicely, if I type > latexNum(4*10^-3) I get [1] "4\\cdot10^{-3}" And the following: > cat(latexNum(4*10^-3)) Produces: 4\cdot10^{-3} However the following in a .Rnw file: $\Sexpr{latexNum(4*10^-3)}$\\ Only produces this in the .tex output file: $4cdot 10^{-3}$\\ No amount of extra backslashing seems to help. Any idea why my escapes are not being respected? ----- Charlie Sharpsteen Undergraduate Environmental Resources Engineering Humboldt State University -- View this message in context: http://www.nabble.com/Sweave-and-backslashes-tp21864385...