rticles icon indicating copy to clipboard operation
rticles copied to clipboard

headers for acknowledgements, author contributions copernicus template

Open WillemVervoort opened this issue 10 months ago • 1 comments

Thanks for the fantastic template! There is however one thing that I struggle with and I acknowledge my ignorance with yaml headers. The yaml header for the copernicus rticle includes sections for availability, author contributions, acknowledgements etc. However, when the pdf is rendered none of these section have headers, they just have a "." as a start. This is also part of the original template. Is there someway to manipulate this that the headers are put in (like for "Abstract")? I can do it manually by pulling out the sections and inserting them with markdown headers at the bottom, but that defeats the purpose of the template, right? Thanks for any clues

Untitled.pdf

WillemVervoort avatar Feb 27 '25 21:02 WillemVervoort

This is also part of the original template.

So in the original template this is like this too

Image

But you would like to have something like the Abstract line above ?

I can do it manually by pulling out the sections and inserting them with markdown headers at the bottom, but that defeats the purpose of the template, right?

You could tweak the template too. THough

For availability this is a command defined by the .cls https://github.com/rstudio/rticles/blob/e1a6abf04984479af8f6a74bcb2e02e90ffe8ec7/inst/rmarkdown/templates/copernicus/resources/template.tex#L281-L295

Author contribution too https://github.com/rstudio/rticles/blob/e1a6abf04984479af8f6a74bcb2e02e90ffe8ec7/inst/rmarkdown/templates/copernicus/resources/template.tex#L312-L314

Acknowledgement is just an environment https://github.com/rstudio/rticles/blob/e1a6abf04984479af8f6a74bcb2e02e90ffe8ec7/inst/rmarkdown/templates/copernicus/resources/template.tex#L325-L329

So you could also tweak those command and environment to your liking.

I don"t think rticles has anything to do. It just follows original template

cderv avatar Feb 28 '25 10:02 cderv