Skip to content

Commit

Permalink
Update 05-pandoc-templates.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Nov 15, 2022
1 parent b802b6c commit 510e6b8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion documentation/05-pandoc-templates.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,17 @@ The basic syntax is `$for(mylist)$ ... $sep$ ... $endfor$` where the value after
```
$for(mylist)${\large{$mylist$}}$sep$ AND $endfor$%
```
Would put `one AND two AND three` in your tex file.
Would put `{\large{one}} AND {\large{two}} AND {\large{three}}` in your tex file.

Two common ways to have lists in your yaml:
```
mylist1: ["one", "two", "three"]
mylist2:
- "one"
- "two"
- "three"
```


**Authors and affiliations** The [Quarto author filter](https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/filters/common/authors.lua) sets up lists of the unique authors and affiliations that you can use. See the `title.tex` and `before-body.tex` examples in https://github.com/quarto-journals.

Expand Down

0 comments on commit 510e6b8

Please sign in to comment.