Title title image using RMarkdown

I write my first .rmd report using RMarkdown and then paste it into a pdf file. Since I write this in my national language, I would like to have signatures in my language. The problem is that the default header format is “Figure 1: My signature”. I would like to modify this generative part "Figure 1:", but I could not find it. Any help would be appreciated.

+4
source share
3 answers

Try to specify the language in the YAML header of the document rmarkdown( link to the documentation ):

---
title: "Crop Analysis Q3 2013"
output: pdf_document
fontsize: 11pt
geometry: margin=1in
lang: german
---

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

+4

, LaTeX:

---
title: "My raport"
output: 
  pdf_document:
    fig_caption: yes
header-includes:
   - \usepackage{caption}
---

\def\figurename{MyFigureName}

: ?

+1

:

---
output: 
  pdf_document:
    fig_caption: true
---

```{r figWithCaption, echo=F, fig.cap="My Figure Caption"}
plot(cars) # your figure
```
0

All Articles