stsewd / ieee-pandoc-template

IEEE paper template for pandoc
MIT License
121 stars 41 forks source link

How to add multiple authors. #11

Closed asreerama closed 1 year ago

asreerama commented 4 years ago

Adding another author in the yaml file does not format the 2 authors as expected. Please could you tell me how one can do that .

stsewd commented 4 years ago

Can you please put the content you are trying? This should work

author:
  - name: Name One
    affiliation: One
    location: One
    email: one@email.com
  - name: Name Two
    affiliation: Two
    location: Two
    email: two@email.com
csreid commented 4 years ago

I bet I'm having a similar issue.

If I clone a fresh version of this repo, change metadata.yaml to:

---
title: 'Paper Title'
author:
  - name: Santos Gallegos
    affiliation: Universidad de Cuenca
    location: Cuenca, Ecuador
    email: santos_g@email.com
  - name: Another Author
    affiliation: University of Phoenix
    location: Online
    email: another@author.com
keywords:
  - one
  - two
  - three
numbersections: yes
lang: en
babel-lang: english
abstract: |
  This is the abstract.

  It consists of two paragraphs.
...

(note the new second author) and run make, I get this:

'

The University affiliation is on the same line as the author's name, and the next author's name starts on the same line as the previous author's email

arun5309 commented 2 years ago

I added the 'conference' attribute to '\documentclass' in line 1 in the file 'template.latex'. This formatted multiple authors as expected. I am not sure why this works, I got the idea from here.