Laurent Franckx
Laurent Franckx

Reputation: 161

Numbering and referring sections in bookdown

I use bookdown for writing a report in Word, and I cannot find a way to number the sections of my report (or to refer to them). Here is a minimal example:

---
output:
  bookdown::word_document2
---

## Section 1

## Section 2

enter image description here

As far as I can see, the solutions refer to HTML documents only as explained here.

Upvotes: 1

Views: 786

Answers (1)

tarleb
tarleb

Reputation: 22699

You can change the style in Word and then use the resulting document as your reference_docx.

Upvotes: 1

Related Questions