rstudio / rticles

LaTeX Journal Article Templates for R Markdown
https://pkgs.rstudio.com/rticles/
1.46k stars 516 forks source link

Bioinformatics template: extra comma after last author's name #416

Closed stephenturner closed 3 years ago

stephenturner commented 3 years ago

rticles version 0.20: There's an extra comma after the last author's name in the Bioinformatics template. Looks like the author for loop is the culprit:

https://github.com/rstudio/rticles/blob/cd4d93a4ab1ebd8c9e3091a08fba2a165e5db18a/inst/rmarkdown/templates/bioinformatics/resources/template.tex#L61-L65

Specifically, here:

https://github.com/rstudio/rticles/blob/cd4d93a4ab1ebd8c9e3091a08fba2a165e5db18a/inst/rmarkdown/templates/bioinformatics/resources/template.tex#L63

I'm not sure how to modify to make an exception for the last author. I wasn't able to figure this out easily looking at other templates. Thank you!


By filing an issue to this repo, I promise that

I understand that my issue may be closed if I don't fulfill my promises.

stephenturner commented 3 years ago

Looks like putting a $sep$ before that comma in the template might fix it.

cderv commented 3 years ago

Oh thank you !

I had already found the fix in #413 but it was not merged yet. Thank for looking into this though !

github-actions[bot] commented 2 years ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.