Using the suggestions here I have set up multiple tables in multiple columns in an HTML document from Rmarkdown. e.g.:
<div class="column-left">
```{r echo=FALSE}
tbl1
tbl2
tbl3
```
</div>
<div class="column-center">
```{r echo=FALSE}
tbl4
tbl5
```
</div>
<div class="column-right">
```{r echo=FALSE}
tbl6
```
</div>
Tables are all created with kable and kableextra functions. Full disclosure, I actually have a text box in the right column, not a table as in example. I have several reasons for creating the original document in HTML, BUT I want users to be able to "copy" these tables into an MS Word document. I envisioned this happening as a copy and paste as image process, but this unfortunately is not an option, and copying the HTML tables into Word by the options that are available simply pastes the table text. I attempted to use kableextra as_image() to make each table an image, but the quality is not acceptable. Ideally I would like to group all the tables into one object in the HTML document, preferably a high quality image, then copy and paste into Word. Right now the only way I can achieve this is by using screen capture tools, which is obviously not ideal. Is there a way to achieve this grouping of tables with r code or CSS? Would I be better off just making this a native Word document in Rmarkdown? I'm not sure I can reproduce all the styling that I used HTML for (reduce padding and table margins) in Word. One specific question that may address this: Is there an equivalent method to cowplot::plot_grid for plots that could be used to produce a grid of tables?