15 Footnotes and citations
15.1 Footnotes
Footnotes are put inside the square brackets after a caret ^[]
. Like this one 1.
15.2 Citations
Reference items in your bibliography file(s) using @key
.
For example, we are using the bookdown package (Xie, 2024) (check out the last code chunk in index.Rmd to see how this citation key was added) in this sample book, which was built on top of R Markdown and knitr (Xie, 2015) (this citation was added manually in an external file book.bib).
Note that the .bib
files need to be listed in the index.Rmd with the YAML bibliography
key.
The RStudio Visual Markdown Editor can also make it easier to insert citations: https://rstudio.github.io/visual-markdown-editing/#/citations
References
Xie, Y., 2015. Dynamic documents with R and knitr, 2nd ed. Chapman; Hall/CRC, Boca Raton, Florida.
This is a footnote.↩︎