Just 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.
Specify the number of columns for the main body of the document changing the parameter multicol
in the YAML header. For example, if you want 2 columns, use multicol: 2
. Default is multicol: false
, which yields a single column.
Foonotes are neat^[Yeah they are.].
hello_world <- function() { print("Hello World!") } hello_world()
\lipsum[1-10]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.