使用RMarkdown的标题中的图形名称 [英] Figure name in caption using RMarkdown

查看:89
本文介绍了使用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.

推荐答案

尝试在 rmarkdown 文档(

语言代码将由 babel LaTeX包进行处理(至少在 pdflatex 情况下).

The language code will be processed by the babel LaTeX package (at least in the case of pdflatex).

这篇关于使用RMarkdown的标题中的图形名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆