I am preparing a Quarto pdf document and would like to specify the authors on separate lines beneath the unit to which they belong. When I knit my .qmd as an html, I get the desired output:
---
title: "Untitled"
author:
- "**Analytics Unit**"
- "John Smith"
- "Jane Doe"
format: html
---
However, when I switch the format to pdf, the authors names are spread across a single line
---
title: "Untitled"
author:
- "**Analytics Unit**"
- "John Smith"
- "Jane Doe"
format: pdf
---
Any guidance or suggestions would be appreciated!
you can use latex package authblk
---
title: "Untitled"
author:
- "**Analytics Unit**"
- "John Smith"
- "Jane Doe"
format: pdf
include-in-header:
text: |
\usepackage{authblk}
---
## Quarto
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see <https://quarto.org>.
If author names seems a bit larger to you, use auth-lg
package option, that is modify your YAML as,
---
title: "Untitled"
author:
- "**Analytics Unit**"
- "John Smith"
- "Jane Doe"
format: pdf
include-in-header:
text: |
\usepackage[auth-lg]{authblk}
---
I would recommend to read the package documentation, Especially section 4 and 5.