library(knitr) opts_chunk$set(comment = "#>")
boysel
Article TemplateJust use regular LaTeX expressions enclosed in either \(...\)
for inline equations such as (\bar{x} = \frac{1}{n}\sum_{i = 1}^{n}x_{i}) or \[...\]
to display an equation in its own line:
[\bar{x} = \frac{1}{n}\sum_{i = 1}^{n}x_{i}]
Citations are generated using BibTex and can be linked using the following syntax.
| Citation | Code | Output |
|:-------------|:----------------------|:--------------------|
|Parenthetical |[@heckman1979sample]
|[@heckman1979sample] |
|Inline |@heckman1979sample
|@heckman1979sample |
Table: Citations.
Foonotes are neat^[Yeah they are.].
hello_world <- function() { print("Hello World!") } hello_world()
Add arbitrary content to the headers of each output document. For example, to include extra LaTeX packages:
header-includes:
- \usepackage{lipsum}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.