Abstract
Tips for sidenotes.
Sidenotes
LaTeX.css, which HugoTeX is using, defines syntax for sidenotes. However, as it is a little verbose to write, we provide a Hugo shortcode for that:
A sentence deserving a sidenote.{{% sidenote %}}The note itself.{{% /sidenote %}}.
Will render into
A sentence deserving a sidenote. The note itself. .
Tables
Another shortcode allows to insert tables with captions:
{{< table title="A sample table with a descriptive caption via [LaTeX.css](https://latex.vercel.app/)." >}}
| Header 1 | Header 2 | Header 3 |
|---------------|---------------|---------------|
| Description 1 | Description 2 | Description 3 |
| Description 1 | Description 2 | Description 3 |
| Description 1 | Description 2 | Description 3 |
|---------------|---------------|---------------|
| Footer 1 | Footer 2 | Footer 3 |
{{< /table >}}
Will render into
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Description 1 | Description 2 | Description 3 |
| Description 1 | Description 2 | Description 3 |
| Description 1 | Description 2 | Description 3 |
| ————— | ————— | ————— |
| Footer 1 | Footer 2 | Footer 3 |