On 01/08/2013 04:17 AM, Francesco Sarracino wrote:
Dear R helpers,

I am using knitr to run analysis with R and edit my document with Latex. I
am wondering whether there is a way to include 2 or more pictures per chunk
and being able to refer them in the text independently and eventually
whether it is possible to give them different captions.

Hi:

You may use, main = " ", within each plot; or take a look at the LaTeX package, subcaption:

http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Subfloats
--
Ulises M. Alvarez
http://sophie.unam.mx/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to