![](/img/trans.png)
[英]How to create a figure note below the figure caption in r markdown and bookdown
[英]Remove/hide figure caption below knitted markdown->pandoc plot
我不知道如何刪除Figure 1:
如生成的pdf文檔所示:(使用rmarkdown; knitr; pandoc)。 我有一個.Rmd file > .md > .pdf
我在R控制台中生成pdf:
system(paste("pandoc -V geometry:margin=0.7in -o", path, "/file_name", ".pdf ", "file_Rmd", ".md" ,sep=""))
簡單的例子:
```{r}
plot(1:20)
```
輸出:
在您的pandoc
調用中添加-fmarkdown-implicit_figures
以禁用隱式圖形擴展,這將禁用“圖#:xyz”標記。
system(paste("pandoc -V geometry:margin=0.7in -fmarkdown-implicit_figures -o", path, "/file_name", ".pdf ", "file_Rmd", ".md" ,sep=""))
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.