是否有办法通过RMarkdown调整外部导入的图像(png)的大小,当输出在powerpoint_presentatio



在RMarkdown的块中使用以下代码(输出:powerpoint_presentation),输出:Width(或fig.width)不能改变powerpoint输出中图像的大小。


knitr::include_graphics("folder_location/image.png")

有没有办法调整外部图像?

感谢

根据文档,这应该可以工作:

---
title: "pptx of images"
author: ""
date: ""
output: powerpoint_presentation
---
![caption](image.png){width=80%}

…但事实并非如此。此图像无法调整大小(Mac)。

最新更新