使用RMarkdown的标题中的图形名称 [英] Figure name in caption using RMarkdown
问题描述
我正在使用RMarkdown编写我的第一个.rmd报告,然后将其编织为pdf文件.当我用本国语言写书时,我也想用我的语言写上数字标题.问题在于默认的字幕格式是图1:我的字幕".我想更改这个生成的图1"部分,但我找不到方法.任何帮助将不胜感激.
I am writing my first .rmd report using RMarkdown and then I knit it to pdf file. As I write it in my national language, I would like to have figures captions in my language too. The problem is that the default caption format is "Figure 1: My caption". I would like to change this generative "Figure 1:" part but I couldn't find how. Any help will be appreciated.
推荐答案
尝试在 语言代码将由 The language code will be processed by the 这篇关于使用RMarkdown的标题中的图形名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! rmarkdown
文档(
babel
LaTeX包进行处理(至少在 pdflatex
情况下).babel
LaTeX package (at least in the case of pdflatex
).