2.5 KiB
title, author, date, lang, papersize, geometry, toc, toc-title, toc-depth, numbersections, header-includes, colorlinks, links-as-notes
| title | author | date | lang | papersize | geometry | toc | toc-title | toc-depth | numbersections | header-includes | colorlinks | links-as-notes | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TDT4195 Exercise X |
|
\today | en-US | a4 | margin=4cm | false | Table of Contents | 2 | true | true | true |
Heading
Subheading
Subsubheading
This is a paragraph. This is the same paragraph.
This is a new paragraph, with italic, bold, and inline code formatting.
It is possible to use special classes to format text: [this is a test]{.smallcaps}.
//this is a code block with rust syntax highlighting
println!("Hello, {}", 42);
This is a link. This is also a link. This1 is a footnote. This^[Footnotes can also be written inline] is also a footnote.
- This
- is
- a
- unordered
- list
-
This
-
is
-
a
-
ordered
-
list a. with a. sub a. list
with multiple paragraphs
This is still on the first page
\clearpage{=latex}
This is on the second page
i) Roman ordered list i) Roman ordered list i) Roman ordered list
- This
- is a definition
this is a block quote
This is a paragraph with inline \LaTeX\ style math: \frac{1}{2}.
Below is a math block:
\int_{a}^{b} f(x)dx
| This | is | a | table |
|---|---|---|---|
| 1 | 2 | 3 | 4 |
| 5 | 6 | 7 | 8 |
: This is a table caption
This is an inline image with a fixed height:
{height=5em}
Below is a figure (i.e. an image with a caption). It floats and may as a result move to a different page depending on the layout.
Enable and use the pandoc-crossref filter to reference figures, tables and equations.
-
In footnotes you can write anything tangentially related. ↩︎