2 Background

2.1 Project Location

Here is how we insert a figure and we can reference it like this - Figure 2.1. The caption is in the chunk header as fig.cap.

knitr::include_graphics("fig/nge-icon_name.png")
Overview map of Study Areas

Figure 2.1: Overview map of Study Areas


Here is how we do multiple figures in one chunk - side by each (like toasts). We reference it like this - Figure 2.2.

knitr::include_graphics("data/TimePhoto_20220814_112459.jpg")
knitr::include_graphics("fig/pixel.png")
knitr::include_graphics("data/TimePhoto_20220814_112923.jpg")
Multiple figures or photos side by each.Multiple figures or photos side by each.Multiple figures or photos side by each.

Figure 2.2: Multiple figures or photos side by each.


Here is how we conditionally include chunk output based on the params$gitbook_on parameter. If this is the gitbook version, the image will NOT be included. If this is the pdf version, this double image will not be included. We do this to make the pdf version read nicely and not be a million pages long due to individual photos taking up a half a page each.

knitr::include_graphics("data/TimePhoto_20220814_112459.jpg")
knitr::include_graphics("fig/pixel.png")
knitr::include_graphics("data/TimePhoto_20220814_112923.jpg")


Let’s add a reference here so that we can test if our system of pulling from Zotero as per https://github.com/NewGraphEnvironment/mybookdown-template/issues/49 is going to work Bramblett et al. (2002)