I am writing a pdf document with RMarkdown using tynitex. The default prefix for figures and tables when fig_caption is set to "true" are "figure" and "table". Since I am writing the document in French, though, I would really like to change that to the corresponding French expressions.
I have been playing around with the "captioner" package, but for the time being, the package just adds another caption to the already existing caption, rather than replacing it: "Figure 1 - Graphique 1: Figurename".
I have a hard time believing that this can be so difficult. Thanks for any help.