rstudio / rticles

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

Add TRB Article Template #427

Closed gregmacfarlane closed 2 years ago

gregmacfarlane commented 2 years ago

This article template is in response to #426

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!

asiripanich commented 2 years ago

Thank you @gregmacfarlane, this is a great addition to rticles for transport people! :)

asiripanich commented 2 years ago

Just a small suggestion, how about we use knitr::kable() instead of kableExtra::kbl() and base::plot() instead of ggplot()? This won't require the user to install additional packages for the article to compile.

asiripanich commented 2 years ago

One other thing that I have spotted, shouldn't [\@reference] omit authors?

Bibliography styles
===================

TRB still wants numbered, unsorted citations. Here are two sample references: [@Feynman1963118; @Dirac1953888].
You can also cite authors, like @Feynman1963118.

image

gregmacfarlane commented 2 years ago

Yes, I think removing the dependencies for ggplot and kableExtra is a good idea. Yes, [@author] should probably omit the authors. I'll have a look at this later.

cderv commented 2 years ago

Hi @gregmacfarlane !

As I am going through opened PR while preparing next rticles, I would like to know the status of this PR. Do you plan to keep working on it following the review ? No hurry, just want to check the status of this PR.

Thank you.

gregmacfarlane commented 2 years ago

I am working on it today, might be able to knock some things out.

gregmacfarlane commented 2 years ago

Okay, @cderv ; I think this is now ready to roll. Have another look, and I'm happy to continue the discussion.