yihui/knitr — pull request #631 by krlmlr (2013-10-23 21:48:36+00:00)
Title: format_sci should be responsible for adding \ensuremath, not .inline.hook.tex

same logic is used by #629