Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added template for PLoS journals (LaTeX). #12

Merged
merged 1 commit into from
Nov 2, 2014

Conversation

sjmgarnier
Copy link
Contributor

I made a template for PLoS journals (LaTeX). As far as I can tell they all use the same formatting for submissions. It's my first template for Rmarkdown and I built it based on the other templates present in this package. I hope I've done everything correctly :-)


\pagestyle{myheadings}
%% ** EDIT HERE **

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add header-includes (so users can easily include their own macros). That would look like this: https://github.com/rstudio/rmarkdown/blob/master/inst/rmarkdown/templates/tufte_handout/resources/tufte-handout.tex#L52-L54 and then require an "includes" argument be added to the plos_article function (and forwarded to pdf_document)

@jjallaire
Copy link
Member

Looks good, I'll merge it now but recommend that you submit another PR with the includes change mentioned above. Thanks so much for the contribution!

jjallaire added a commit that referenced this pull request Nov 2, 2014
Added template for PLoS journals (LaTeX).
@jjallaire jjallaire merged commit 248a05b into rstudio:master Nov 2, 2014
@sjmgarnier
Copy link
Contributor Author

Done. Thanks for the tip, I'm learning everyday :-)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants