davidgohel / flextable

table farming
https://ardata-fr.github.io/flextable-book/
554 stars 79 forks source link

Flextables objects do not land in the second column in column containers in powerpoint #580

Closed sjkiss closed 11 months ago

sjkiss commented 11 months ago

Hi: I'm using RMarkdown to create a powerpoint presentation.

When I create a flextable object for inclusion in the second column of a two-column slide, the flextable only ever appears in the first column.

This code reproduces the problem.

Thank you.

---
title: "Test"
author: "author"
date: "2023-10-18"
output: powerpoint_presentation
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, warning=F, message=F)

R Markdown

:::::::::::::: {.columns} ::: {.column width="50%"}

::: ::::::::::::::

davidgohel commented 11 months ago

hello

See https://davidgohel.github.io/flextable/reference/knit_print.flextable.html#chunk-options and the subchapter "PowerPoint only".

Capture d’écran 2023-10-18 à 16 08 30
sjkiss commented 11 months ago

That is tremendous. Thank you.

github-actions[bot] commented 5 months ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.