How do you add job title in pdf output? #12971
Replies: 4 comments 4 replies
-
You need to modify one of the template/partials (several threads discussing it that should not be that hard to find). |
Beta Was this translation helpful? Give feedback.
-
Ok I've added this to \author{$for(authors)$$it.name.literal$$if(it.affiliations)$ \\ \small{$for(it.affiliations)$$it.name$$sep$, $endfor$}$endif$$sep$ \and $endfor$} Not sure what I'm missing? |
Beta Was this translation helpful? Give feedback.
-
Quarto is doing some specific processing and normalization with Authors and Affiliation You need to use the correct metadata to iterate more easily on it in your template. For your template, this will be See how I modified your document ---
title: My title
date: today
author:
- name: author 1
affiliation:
- name: Affiliation 1
- name: author 2
affiliation:
- name: Affiliation 2
format:
pdf:
template-partials:
- title.tex
---
Testing
|
Beta Was this translation helpful? Give feedback.
-
By the way, I got the template partial from the repository, which is linked from the documents. Perhaps they need to be updated? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I want to add a job title to the author information for pdf output. For revealjs institute and affiliation both work fine but they don't seem to work for pdf. Anybody have any suggestions?
UPDATE:
Here is a sample qmd file:
The template partial I'm using:
Current output:
Output of
quarto check
:Quarto 1.7.32 [✓] Checking environment information... Quarto cache location: /Users/k-soomro/Library/Caches/quarto [✓] Checking versions of quarto binary dependencies... Pandoc version 3.6.3: OK Dart Sass version 1.85.1: OK Deno version 1.46.3: OK Typst version 0.13.0: OK [✓] Checking versions of quarto dependencies......OK [✓] Checking Quarto installation......OK Version: 1.7.32 Path: /Applications/quarto/bin [✓] Checking tools....................OK TinyTeX: (not installed) Chromium: (not installed) [✓] Checking LaTeX....................OK Using: Installation From Path Path: /etc/profiles/per-user/k-soomro/bin Version: undefined [✓] Checking Chrome Headless....................OK Chrome: (not detected) [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.5 Path: /usr/local/bin/python3 Jupyter: (None) Jupyter is not available in this Python installation. Install with python3 -m pip install jupyter [✓] Checking R installation...........(None) Unable to locate an installed version of R. Install R from https://cloud.r-project.org/
Beta Was this translation helpful? Give feedback.
All reactions