--- title: "Lab No. X" author: "Your Name Here" date: "`r format(Sys.time(), '%d %B, %Y')`" output: pdf_document --- ```{r setup, include=TRUE} knitr::opts_chunk$set(echo = TRUE, fig.align = 'center') ``` ## 1. Text of the question copied here Write your answer here, before your code, or after your code. Just make sure your headers are correct. ```{r q1} print('Here is my code') ``` The rest of your answer to the first question. \newpage ## 2. Text of Question 2 Copied Here ### a. Subquestion text here ```{r q2} print('Here is more code for the second question') ```