How to make a figure caption in Rmarkdown?

前端 未结 3 854
余生分开走
余生分开走 2021-02-02 17:28

I am thinking about writing my thesis with rmarkdown and latex. I\'m getting the hang of how it all works, however, when I try to add a figure (not an R plot) to the text and re

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-02 17:45

    Please see the documentation of R Markdown for PDF output, and in particular, look for fig_caption. Figure captions are turned off by default in R Markdown, and you have to turn them on (fig_caption: true). You can also find this setting from the gear button on the toolbar of RStudio IDE.

提交回复
热议问题