Skip to content

Commit 81bb681

Browse files
eliocampcderv
andauthored
Add LNCS template (#445) (#475)
Co-authored-by: Christophe Dervieux <[email protected]>
1 parent dc17331 commit 81bb681

File tree

13 files changed

+343
-8
lines changed

13 files changed

+343
-8
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: rticles
33
Title: Article Formats for R Markdown
4-
Version: 0.23.4
4+
Version: 0.23.5
55
Authors@R: c(
66
person("JJ", "Allaire", , "[email protected]", role = "aut"),
77
person("Yihui", "Xie", , "[email protected]", role = "aut",

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export(joss_article)
2929
export(journals)
3030
export(jss_article)
3131
export(lipics_article)
32+
export(lncs_article)
3233
export(mdpi_article)
3334
export(mnras_article)
3435
export(oup_article)

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# rticles (development version)
22

3+
## NEW FEATURES
4+
5+
- New `lncs_article()` template for submissions to Lecture Notes in Computer Science (thanks, @eliocamp, #445).
6+
37
## BUG FIXES
48

59
- In `elsevier_article()`, corresponding author is correctly marked with a `*` even if no other footnote are set on the author.

R/article.R

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,21 @@ lipics_article <- function(..., latex_engine = "xelatex", # xelatex used for 'th
330330
)
331331
}
332332

333+
334+
#' @section `lncs_article`: Format for creating submissions to
335+
#' LNCS - Lecture Notes in Computer Science - articles.
336+
#' Adapted from the official Instructions for Authors at
337+
#' <https://www.springer.com/gp/computer-science/lncs/conference-proceedings-guidelines>
338+
#' and the template from the archive `LaTeX2e+Proceedings+Templates+download.zip` downloaded
339+
#' with version tag 2.21.
340+
#' @export
341+
#' @rdname article
342+
lncs_article <- function(..., keep_tex = TRUE, citation_package = c("default", "natbib")) {
343+
citation_package <- match.arg(citation_package)
344+
pdf_document_format("lncs", keep_tex = keep_tex, citation_package = citation_package, ...)
345+
}
346+
347+
333348
#' @section `jedm_article`: Format for creating Journal of Educational
334349
#' Data Mining (JEDM) articles. Adapted from
335350
#' <https://jedm.educationaldatamining.org/index.php/JEDM/information/authors>.

README.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ output format and all the assets required by this format.
8787
Currently included templates and their contributors are the following:
8888

8989
| Journal | Contributors | Pull request | Output format |
90-
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|
90+
|----------------|----------------|-------------------------|----------------|
9191
| [ACM: Association for Computings Machinery](https://www.acm.org/publications/about-publications) | [\@ramnathv](https://github.com/ramnathv) | [#8](https://github.com/rstudio/rticles/pull/8) | `acm_article()` |
9292
| [ACS](https://pubs.acs.org) | [\@yufree](https://github.com/yufree) | [#15](https://github.com/rstudio/rticles/pull/15) | `acs_article()` |
9393
| [AEA: American Economic Association](https://www.aeaweb.org/journals/policies/templates) | [\@sboysel](https://github.com/sboysel) | [#86](https://github.com/rstudio/rticles/pull/86) | `aea_articles()` |
@@ -125,6 +125,7 @@ Currently included templates and their contributors are the following:
125125
| [RSS: Royal Statistical Society](https://rss.org.uk/) | [\@carlganz](https://github.com/carlganz) | [#110](https://github.com/rstudio/rticles/pull/110) | `rss_article()` |
126126
| [Sage](https://uk.sagepub.com/en-gb/eur/manuscript-submission-guidelines) | [\@oguzhanogreden](https://github.com/oguzhanogreden) | [#181](https://github.com/rstudio/rticles/pull/181) | `sage_article()` |
127127
| [Springer](https://www.springernature.com/gp/authors/campaigns/latex-author-support) | [\@strakaps](https://github.com/strakaps) | [#164](https://github.com/rstudio/rticles/pull/164) | `springer_article()` |
128+
| [Springer Lecture Notes in Computer Science (LCNS)](https://www.springer.com/gp/computer-science/lncs/conference-proceedings-guidelines) | [\@eliocamp](https://github.com/eliocamp/) | [#445](https://github.com/rstudio/rticles/issues/445) | `lncs_article()` |
128129
| [SIM: Statistics in Medicine](https://onlinelibrary.wiley.com/journal/10970258) | [\@ellessenne](https://github.com/ellessenne) | [#231](https://github.com/rstudio/rticles/pull/231) | `sim_article()` |
129130
| [Taylor & Francis](https://www.tandfonline.com/) | [\@dleutnant](https://github.com/dleutnant) | [#218](https://github.com/rstudio/rticles/pull/218) | `tf_article()` |
130131
| [The R Journal](https://journal.r-project.org/) | | | `rjournal_article()` |

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ Currently included templates and their contributors are the following:
108108
| [RSS: Royal Statistical Society](https://rss.org.uk/) | [@carlganz](https://github.com/carlganz) | [\#110](https://github.com/rstudio/rticles/pull/110) | `rss_article()` |
109109
| [Sage](https://uk.sagepub.com/en-gb/eur/manuscript-submission-guidelines) | [@oguzhanogreden](https://github.com/oguzhanogreden) | [\#181](https://github.com/rstudio/rticles/pull/181) | `sage_article()` |
110110
| [Springer](https://www.springernature.com/gp/authors/campaigns/latex-author-support) | [@strakaps](https://github.com/strakaps) | [\#164](https://github.com/rstudio/rticles/pull/164) | `springer_article()` |
111+
| [Springer Lecture Notes in Computer Science (LCNS)](https://www.springer.com/gp/computer-science/lncs/conference-proceedings-guidelines) | [@eliocamp](https://github.com/eliocamp/) | [\#445](https://github.com/rstudio/rticles/issues/445) | `lncs_article()` |
111112
| [SIM: Statistics in Medicine](https://onlinelibrary.wiley.com/journal/10970258) | [@ellessenne](https://github.com/ellessenne) | [\#231](https://github.com/rstudio/rticles/pull/231) | `sim_article()` |
112113
| [Taylor & Francis](https://www.tandfonline.com/) | [@dleutnant](https://github.com/dleutnant) | [\#218](https://github.com/rstudio/rticles/pull/218) | `tf_article()` |
113114
| [The R Journal](https://journal.r-project.org/) | | | `rjournal_article()` |
@@ -125,11 +126,11 @@ rticles::journals()
125126
#> [13] "ctex" "elsevier" "frontiers" "glossa"
126127
#> [17] "ieee" "ims" "informs" "iop"
127128
#> [21] "isba" "jasa" "jedm" "joss"
128-
#> [25] "jss" "lipics" "mdpi" "mnras"
129-
#> [29] "oup_v0" "oup_v1" "peerj" "pihph"
130-
#> [33] "plos" "pnas" "rjournal" "rsos"
131-
#> [37] "rss" "sage" "sim" "springer"
132-
#> [41] "tf" "trb" "wellcomeor"
129+
#> [25] "jss" "lipics" "lncs" "mdpi"
130+
#> [29] "mnras" "oup_v0" "oup_v1" "peerj"
131+
#> [33] "pihph" "plos" "pnas" "rjournal"
132+
#> [37] "rsos" "rss" "sage" "sim"
133+
#> [41] "springer" "tf" "trb" "wellcomeor"
133134
```
134135

135136
Those are the values to use within `rmarkdown::draft()`.

0 commit comments

Comments
 (0)