Rev. | a94b80d13eb2c191e3ddc0b9eab70cac3dbd3385 |
---|---|
Size | 541 bytes |
Time | 2023-02-20 23:05:24 |
Author | Lorenzo Isella |
Log Message | A simple example illustrating how to add references in a word document. |
---
title: "VHS Report"
author: "Laurent Franckx"
date: "14 September 2018"
output:
bookdown::word_document2:
fig_caption: yes
#pdf_document: default
---
As illustrated in Figure \@ref(fig:TotalCarStock), etc, etc. However, `out.width = '100%'` in an R chunk cannnot be specified when we want to produce a `.docx` output, because `out.width = '100%'` is used for creating `.pdf` outcome.
```{r TotalCarStock, echo=FALSE, fig.cap="Forecasted versus actual car stock"}
knitr::include_graphics("https://i.stack.imgur.com/JlNbf.png")
```