<br>

# Settings

Here are the settings I used to generate my report.

## YAML 

```{r echo = TRUE, eval = FALSE}
---
title: "My Report for Assignment 6"
author: "Mark Scheuerell"
date: "`r format(Sys.time(), '%B %d, %Y')`"
output: pdf_document
documentclass: report
geometry:
- top=1.25in
- bottom=1.25in
- left=1in
- right=1in
linestretch: 1.5
fontsize: 11pt
toc: TRUE
toc-depth: 2
header-includes:
- \usepackage{fancyhdr}
bibliography: "references.bib"
csl: "ecology.csl"
---
```


## LaTeX

This text goes in the body of the report.

```
\pagestyle{fancy}
\fancyhead[LO,LE]{Scheuerell}
\fancyhead[RO,RE]{Assignment 6}
```

## Code block

I placed this block near the top before any calls to `citep()` or `citet()`.

```{r show_setup, echo = TRUE, eval = FALSE}
knitr::opts_chunk$set(echo = TRUE)

## load knitcitations
library(knitcitations)

## clean up any existing library
cleanbib()

## set print options
options("citation_format" = "pandoc")
```

I then used this block at the end to create the **References** section.

```{r write_refs, echo = TRUE, eval = FALSE}
write.bibtex(file = "references.bib")
```

