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

Format for AAAS Science Journal #373

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Post running roxygen
  • Loading branch information
Sasank committed Feb 2, 2021
commit 54d4f99f5c175517007ef0d06d5ec5eabc3b47b1
12 changes: 9 additions & 3 deletions R/article.R
Original file line number Diff line number Diff line change
@@ -317,9 +317,15 @@ sage_article <- function(..., highlight = NULL, citation_package = "natbib") {
#'
#' @section Details: You can find more details about each output format below.
#' @name science_article
sasank89 marked this conversation as resolved.
Show resolved Hide resolved
#' @rdname article
science_article <- function(){}

#' @export
#' @rdname science
science_article <- function(
..., keep_tex = TRUE, md_extensions = c("-autolink_bare_uris")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just curious why this extension needs to be unset ?

) {
pdf_document_format(
"science", md_extensions = md_extensions, ...
Copy link
Collaborator

Choose a reason for hiding this comment

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

keep_tex is defined above but is missing

Suggested change
"science", md_extensions = md_extensions, ...
"science", keep_tex = keep_tex, md_extensions = md_extensions, ...

)
}
#' @section \code{sim_article}: Format for creating submissions to Statistics in
#' Medicine. Based on the official Statistics in Medicine
#' \href{http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)1097-0258/homepage/la_tex_class_file.htm}{class}.
9 changes: 9 additions & 0 deletions man/article.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.