I am unable to make the title page using RMarkdown the way I usually do using LaTeX.
Here is my current code in markdown:
---
title: 'Research on the use of mirrors on rooftops to focus on Starlink satellites to burn them down because they interfere with amateur astronomy'
author:
- Heinz Doof, University of Okomba, Lucario 52500, Wakanda.
- Phenias Krill, Barry University, Millet Department, Dublin DD 0562, Ireland.
- Ferb Mayo, University of Okomba, Lucario 52500, Wakanda.
- Pablo Macro, Barry University, Millet Department, Dublin DD 0562, Ireland.
date: "19 June 2023"
output:
pdf_document:
number_sections: yes
word_document: default
html_document:
df_print: paged
---
And this is the corresponding output:
I want to add the ORCiD links and group the affiliations using numberings. Something like this:


For pdf output, to format author names with orcid link and affiliations, you may try the
authblkandorcidlinklatex package.Now to include the affiliations for each author, I have used the yaml keys
name,affil-id,id,affiliations. These will act as interpolated variables as pandoc template. So copy the contents of pandoc template for latex into a filedefault.texand then replace the line in thedefault.texfile\author{$for(author)$$author$$sep$ \and $endfor$}with the following,and then use this template in the rmarkdown file using
templateyaml key.knitting the above rmarkdown file generates the following,