Text with embedded R code and a citation to [1] as well as [2].
mean(rnorm(10))
## [1] -0.1741415
1. Bolker BM, Brooks ME, Clark CJ, Geange SW, Poulsen JR, Stevens HH, et al. Generalized linear mixed models: A practical guide for ecology and evolution. Trends in Ecology and Evolution. 2008;24: 127–135.
2. Goossens M, Mittlebach F, Samarin A. The latex companion. Reading, Massachusetts: Addison-Wesley; 1993.