Re: [R] knitr: side-by-side figures in R markdown

2013-06-20 Thread Michael Friendly
On 6/19/2013 5:31 PM, Yihui Xie wrote: You need to remove out.extra='style="display:block; margin: auto"'. In CSS, display:block; means this element stands in its own line, and no other elements can sit by its side. This is applied to individual images, so the two images will not be arranged side

Re: [R] knitr: side-by-side figures in R markdown

2013-06-19 Thread Yihui Xie
You need to remove out.extra='style="display:block; margin: auto"'. In CSS, display:block; means this element stands in its own line, and no other elements can sit by its side. This is applied to individual images, so the two images will not be arranged side by side. But you will lose the center a