All Projects → eddelbuettel → Pinp

eddelbuettel / Pinp

Pinp Is Not PNAS -- Two-Column PDF Template

Projects that are alternatives of or similar to Pinp

Tint
Tint is not Tufte
Stars: ✭ 226 (+68.66%)
Mutual labels:  markdown, r-package, cran
Nanotime
Nanosecond Resolution Time Functionality for R
Stars: ✭ 39 (-70.9%)
Mutual labels:  r-package, cran
Configr
Implements the JSON, INI, YAML and TOML parser, for R setting and writing of configuration file.
Stars: ✭ 38 (-71.64%)
Mutual labels:  r-package, cran
Linl
Linl Is Not Letter -- Markdown-based LaTeX Letter Template
Stars: ✭ 84 (-37.31%)
Mutual labels:  markdown, cran
digest
R package to create compact hash digests of R objects
Stars: ✭ 94 (-29.85%)
Mutual labels:  cran, r-package
Dataexplorer
Automate Data Exploration and Treatment
Stars: ✭ 362 (+170.15%)
Mutual labels:  r-package, cran
Markovchain
Easy Handling Discrete Time Markov Chains
Stars: ✭ 80 (-40.3%)
Mutual labels:  r-package, cran
PackageDevelopment
Task View: PackageDevelopment
Stars: ✭ 38 (-71.64%)
Mutual labels:  cran, r-package
Wooldridge
The official R data package for "Introductory Econometrics: A Modern Approach". A vignette contains example models from each chapter.
Stars: ✭ 90 (-32.84%)
Mutual labels:  r-package, cran
Rinside
Seamless embedding of R in C++ programs
Stars: ✭ 112 (-16.42%)
Mutual labels:  r-package, cran
Mlr
Machine Learning in R
Stars: ✭ 1,542 (+1050.75%)
Mutual labels:  r-package, cran
rcppgsl
Rcpp integration for GNU GSL vectors and matrices
Stars: ✭ 28 (-79.1%)
Mutual labels:  cran, r-package
xfun
Miscellaneous R functions
Stars: ✭ 102 (-23.88%)
Mutual labels:  cran, r-package
Rcpp
Seamless R and C++ Integration
Stars: ✭ 572 (+326.87%)
Mutual labels:  r-package, cran
UCSCXenaShiny
📊 An R package for interactively exploring UCSC Xena https://xenabrowser.net/datapages/
Stars: ✭ 52 (-61.19%)
Mutual labels:  cran, r-package
Pkgsearch
Search R packages on CRAN
Stars: ✭ 73 (-45.52%)
Mutual labels:  r-package, cran
Drat
Drat R Archive Template
Stars: ✭ 127 (-5.22%)
Mutual labels:  r-package, cran
FLightR
R package to position animals with solar geolocation archival tags
Stars: ✭ 16 (-88.06%)
Mutual labels:  cran, r-package
pbapply
Adding progress bar to '*apply' functions in R
Stars: ✭ 115 (-14.18%)
Mutual labels:  cran, r-package
Trackmd
Tools for tracking changes in Markdown format within RStudio
Stars: ✭ 89 (-33.58%)
Mutual labels:  markdown, r-package

pinp: Pinp is not PNAS

Build Status CI Package-License CRAN Dependencies Downloads Last Commit

Motivation

The template provided by the PNAS Article template in the rticles package makes it very easy and convenient to create attractive looking two-column papers with an option to switch to a one-column paper.

There were however a few changes we wanted to make such as the use of standard natbib citations, more extended use of color, a different font as well as the removal of a number of PNAS-specific title page items as well as general code and use simplification via a single LaTeX class file. So this pinp package started.

Example

Pinp Vignette

As of release 0.0.2, the package now has a vignette:

Rcpp Vignette

A complete pdf example of the two-column default template is provided here by the new introductory Rcpp vignette, which is itself based on our PeerJ Prepint.

A screenshot of the first two pages:

and the next two pages, showing a two-column figure

followed by pages five and six

and the final two pages:

Other Rcpp vignettes have been converted as well.

Status

The package is working as expected, and available via CRAN.

Usage

Use the standard

install.packages("pinp")

to install it from CRAN, and then use as a Markdown template via RStudio, or use code such as

library(rmarkdown)
draft("mypaper.Rmd", template="pdf", package="pinp", edit=FALSE)
render("mypaper.Rmd")

to create a first draft of a new mypaper.Rmd.

Requirements

Beyond the R package dependencies, a working pandoc binary is needed. RStudio installs its own copy, otherwise do what is needed on your OS (i.e., something like sudo apt-get install pandoc pandoc-citeproc).

The pdf mode requires a fairly complete LaTeX installation, and has been used on Ubuntu and macOS. On Debian/Ubuntu, the following packages should provide a working set:

texlive-base
texlive-binaries
texlive-fonts-extra
texlive-fonts-recommended
texlive-generic-recommended
texlive-humanities
texlive-latex-base
texlive-latex-extra
texlive-latex-recommended
texlive-pictures
texlive-publishers
texlive-science

See also

  • binb: Binb is not Beamer: Stylish pdf Presentations from RMarkdown
  • linl: Linl is not Letter: LaTeX letters from RMarkdown
  • tint: tint is not tufte: Beautiful pdf or html handout or writeups

and the minm package installing all of them.

Authors

Dirk Eddelbuettel and James Balamuta, leaning on the earlier work by JJ et al in the rticles package.

The authors of the underlying PNAS LaTeX Style are not explicitedly listed, but PNAS refers to Overleaf.

License

GPL-3 for this package, as well as the short code taken with grateful acknowledgements from the rticles package.

The main PNAS LaTeX style file (and supporting files) are under the LPPL (LaTeX Project Public License) version 1.3 or later.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].