rstudio / rticles

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

add `ims_article()` #372

Closed auzaheta closed 3 years ago

auzaheta commented 3 years ago

To contribute a new article template to this package, please make sure you have done the following things (note that journalname_article below is only an example name):

Lastly, please try your best to do only one thing per pull request (e.g., if you want to add two output formats, do them in two separate pull requests), and refrain from making cosmetic changes in the code base: https://yihui.name/en/2018/02/bite-sized-pull-requests/

Thank you!

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

auzaheta commented 3 years ago

Thanks a lot for the suggestions to improve the template and the detailed review.

The template is generic for all the journals they have; being precise, all templates use the same style file. I checked the five journals directly related to IMS Journals and publications, and I added a comment in the skeleton indicating the acronym of the journals and additional variable that should be used for some of them. I didn't find a way of adding an example of this variable's type of content that allows an easy way of uncommenting it.

In summary, it works for these five journals. All of them have the same tex template. I tried to emphasize the annals of applied statistics in the news and the readme because I think it is the one most of us could use.

This template could be used for other journals beyond these five (also IMS). It would require developing the function with the argument with an indication of the journal and create independent skeletons (as you suggested). However, this is beyond what I know how to do and what I will need soon. Happy to learn how to do it in any case.

I tried to follow your recommendation to have more Rmarkdown syntax in the skeleton.