yihui/knitr — Issue #137: Avoid introducing $ when processing \Sexpr{}
Author: rpruim
Created: 2012-02-15 16:10:36+00:00
State: open

```tex
$ \Sexpr{0.001 * 0.01} $
```
expands badly to

```tex
$ $10^{-5}$ $
```

Would it be possible to use \ensuremath{} or something similar to wrap this sort of thing so that it can be embedded in inline mathematics?