inst/examples/child/knitr-parent.Rnw
raw| 1 | \section{Child can specify its parents} |
| 2 | |
| 3 | <<setup, include=FALSE>>= |
| 4 | set_parent('knitr-main.Rnw') |
| 5 | @ |
| 6 | |
| 7 | My parent is \textsf{knitr-main.Rnw}. |
| 8 | |
| 9 | <<test-e>>= |
| 10 | 1+1 |
| 11 | @ |
| 12 | |
| 13 | I'm not a complete LaTeX document, but you can compile me nonetheless. I'll |
| 14 | borrow the preamble from my parent. |
| 15 |