Dynamic LaTeX references in R comment with knitr

后端 未结 1 1685
独厮守ぢ
独厮守ぢ 2021-01-05 20:34

I had ask a similar question to this with respect to Sweave ( Dynamic references to figures in a R comment within Sweave document ) and would like to see if any

相关标签:
1条回答
  • 2021-01-05 21:04

    I have added an example 072-latex-reference.Rnw in the knitr-examples repository. The basic idea is to restore the escaped \ref{} (which should have been \textbackslash{}ref\{\} in the default output).

    0 讨论(0)
提交回复
热议问题