JuliaCon / JuliaConSubmission.jl

An example package for submissions to JuliaCon
MIT License
20 stars 22 forks source link

Linebreak in title and authors #10

Open raphaelsaavedra opened 5 years ago

raphaelsaavedra commented 5 years ago

Is it possible to add a linebreak in the title or authors? My title currently looks like this:

image

So the first line is very long and the second very short, not to mention the start of the title is slightly overlapping with the JuliaCon logo. If it was pure .tex, I could just add \\ after "for" to get the following:

image

Which looks much better. I tried to do this in the .yml and it just doesn't work. One of my colleagues is also having a related issue where the name of one of the authors is split between two lines.

So, is there any way to add a linebreak in the .yml?

andrewrosemberg commented 5 years ago

I'm also having the same problem! The last name of one of my coauthors is separated from the rest of his name.

matbesancon commented 5 years ago

hi both, I tried and adding // after the author name before which you want to break seems to work (at least locally):

authors:
  - name: 1st author
    orcid: 0000-0003-1361-440X
    affiliation: 1
  - name: 2nd author
    affiliation: 1, 2
  - name: \\3rd author
    affiliation: 2

It does look a bit awkward but manageable

raphaelsaavedra commented 5 years ago

Interestingly, it does work for the author names, but for the title adding \\ does not add a line break

andrewrosemberg commented 5 years ago

hi both, I tried and adding // after the author name before which you want to break seems to work (at least locally):

authors:
  - name: 1st author
    orcid: 0000-0003-1361-440X
    affiliation: 1
  - name: 2nd author
    affiliation: 1, 2
  - name: \\3rd author
    affiliation: 2

It does look a bit awkward but manageable

Thanks @matbesancon , it solves my problem!