{"id":13666084,"url":"https://github.com/eddelbuettel/binb","last_synced_at":"2025-05-15T16:06:58.984Z","repository":{"id":43189679,"uuid":"148906959","full_name":"eddelbuettel/binb","owner":"eddelbuettel","description":"Binb is not Beamer","archived":false,"fork":false,"pushed_at":"2024-12-17T22:42:35.000Z","size":4138,"stargazers_count":192,"open_issues_count":6,"forks_count":27,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-11T11:38:24.708Z","etag":null,"topics":["beamer","beamer-presentation","beamer-theme","markdown","pdf","r","rmarkdown","rmarkdown-beamer"],"latest_commit_sha":null,"homepage":null,"language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddelbuettel.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-15T14:02:02.000Z","updated_at":"2025-04-16T02:34:03.000Z","dependencies_parsed_at":"2025-01-04T08:09:13.843Z","dependency_job_id":"e84a7de9-ecb7-4203-bd4b-2a04878ac62c","html_url":"https://github.com/eddelbuettel/binb","commit_stats":{"total_commits":82,"total_committers":8,"mean_commits":10.25,"dds":0.4024390243902439,"last_synced_commit":"66497db1a4d680d279c016089ed18be1c06691e6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fbinb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fbinb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fbinb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fbinb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddelbuettel","download_url":"https://codeload.github.com/eddelbuettel/binb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254374475,"owners_count":22060611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beamer","beamer-presentation","beamer-theme","markdown","pdf","r","rmarkdown","rmarkdown-beamer"],"created_at":"2024-08-02T06:00:57.620Z","updated_at":"2025-05-15T16:06:57.045Z","avatar_url":"https://github.com/eddelbuettel.png","language":"TeX","funding_links":[],"categories":["TeX"],"sub_categories":[],"readme":"## binb: Binb is not Beamer\n\n[![CI](https://github.com/eddelbuettel/binb/workflows/ci/badge.svg)](https://github.com/eddelbuettel/binb/actions?query=workflow%3Aci)\n[![Package-License](https://img.shields.io/badge/license-GPL--2-brightgreen.svg?style=flat)](https://www.gnu.org/licenses/gpl-2.0.html) \n[![CRAN](https://www.r-pkg.org/badges/version/binb)](https://cran.r-project.org/package=binb) \n[![Dependencies](https://tinyverse.netlify.app/badge/binb)](https://cran.r-project.org/package=binb) \n[![Downloads](https://cranlogs.r-pkg.org/badges/binb?color=brightgreen)](https://www.r-pkg.org:443/pkg/binb)\n[![Last Commit](https://img.shields.io/github/last-commit/eddelbuettel/binb)](https://github.com/eddelbuettel/binb)\n\n### Motivation\n\nThe [Beamer](https://github.com/josephwright/beamer) package is very popular for making pdf\npresentations from LaTeX, and also supported from Markdown and\n[RMarkdown](https://github.com/rstudio/rmarkdown). This package (currently)\nprovides functionality to use the following custom (LaTeX) themes for\n[Beamer](https://github.com/josephwright/beamer) directly via RMarkdown:\n\n- [Metropolis](https://github.com/matze/mtheme) (formerly `mtheme`) by Matthias Vogelgesang\n  ([longer demo](https://eddelbuettel.github.io/binb/metropolis_demo.pdf))\n- [IQSS](https://github.com/IQSS/iqss-beamer-theme) by Ista Zahn\n  ([longer demo](https://eddelbuettel.github.io/binb/iqss_demo.pdf))\n- [Presento](https://github.com/RatulSaha/presento) by Ratul Saha\n  ([longer demo](https://eddelbuettel.github.io/binb/presento_demo.pdf))\n- [Monash](https://github.com/robjhyndman/MonashEBSTemplates) by Rob J Hyndman\n  (longer demos [one](https://eddelbuettel.github.io/binb/monashDemo.pdf) and\n  [two](https://eddelbuettel.github.io/binb/monashOptions.pdf))\n\nThe original LaTeX styles been converted to be directly useable from\n[RMarkdown](https://github.com/rstudio/rmarkdown)\n\n### Examples\n\n#### Metropolis\n\nConsider the following minimal example, adapted from the original minimal example at the bottom of\nthe [Metropolis](https://github.com/matze/mtheme) page:\n\n````{md}\n---\ntitle: A minimal example\nauthor: Matthias Vogelgesang\ndate: \\today\ninstitute: Centre for Modern Beamer Themes\noutput: binb::metropolis\n---\n\n# First Section\n\n## First Frame\n\nHello, world!\n````\n\nIt creates a [three-page pdf file](https://eddelbuettel.github.io/binb/metropolis_minimal.pdf) which\nwe converted into this animated gif\n\n![](https://eddelbuettel.github.io/binb/metropolis_minimal.gif)\n\n\n#### IQSS\n\nSimilarly, for IQSS we use the following input adapting the example above but showing sections and\nsubsections for the nice headings it generates:\n\n````{md}\n---\ntitle: A minimal example\nauthor: Ista Zahn\ndate: \\today\ninstitute: IQSS\noutput: binb::iqss\n---\n\n# First Section\n\n## First Sub-Section\n\n### First Frame\n\nHello, world!\n\n# Second Section\n\n## Second Subsection\n\n### Second Frame\n\nAnother planet!\n\n````\n\nThis creates this [pdf file](https://eddelbuettel.github.io/binb/iqss_minimal.pdf) which we\nconverted into this animated gif:\n\n![](https://eddelbuettel.github.io/binb/iqss_minimal.gif)\n\n\n#### Presento\n\nThe following small example adapted some of the slides from original minimal example from the\n[Presento](https://github.com/RatulSaha/presento) repo:\n\n```{md}\n---\nauthor: Ratul Saha\naddress: www.ratulsaha.com\ntitle: PRESENTO\nsubtitle: clean, simple and extensible\ndate: \\today\noutput: binb::presento\n---\n\n## Presento\n\n- \\begin{center}\\largetext{The design is \\underline{clean}}\\end{center}    \\bigskip\n- \\begin{center}\\largetext{The rules are \\underline{simple}}\\end{center}   \\bigskip\n- \\item \\begin{center}\\largetext{The code is \\underline{extensible}}\\end{center}\n\n\n## Open Source Fonts\n\n-  \\montserratfont This is \\textsc{Montserrat}\t\\bigskip\n-  \\notosansfont This is \\textsc{Noto Sans}\t\t\\bigskip\n-  \\latolightfont This is Lato (light)          \\bigskip\n-  \\inconsolatafont This is inconsolata         \\bigskip\n-  \\textsc{This is Alegreya Sans small caps}    \\bigskip\n\n\n## Color Palette\n\n\\begin{center}\n  \\crule[colordgray] \\crule[colorhgray] \\crule[colorblue] \\crule[colorgreen] \\crule[colororange]\n\\end{center}\n\n____\n\n\\begin{center}\n \\hugetext{BIG BOLD TEXT}\n \\medskip\n \\small but background color does not work\n\\end{center}\n\n____\n\n\\tikz[overlay,remember picture] \\node[opacity=0.8, at=(current page.center)]{%\n  \\includegraphics[width=\\paperwidth]{images/skeleton}};\n\\begin{textblock}{7}(7,2.5)\n  {\\color{colorblue}\\hugetext{\\textbf{RUN!}}}\n\\end{textblock}\n\n```\n\nFrom this, one can creats this [pdf file](https://eddelbuettel.github.io/binb/presento_minimal.pdf)\nwhich can be converted into this animated gif:\n\n![](https://eddelbuettel.github.io/binb/presento_minimal.gif)\n\n### Monash\n\nBelow is an example of the [Monash Business School](https://www.monash.edu/business) theme\nby [Rob Hyndman](https://robjhyndman.com/). There also two longer Monash demos included in the\npackage: [longer demo](https://eddelbuettel.github.io/binb/monashDemo.pdf) and [options\ndemo](https://eddelbuettel.github.io/binb/monashOptions.pdf).\n\n(The source is a little longer [and included in the\nrepo](https://github.com/eddelbuettel/binb/blob/master/inst/rmarkdown/templates/monash/skeleton/skeleton.Rmd)\nand package so not shown here.)\n\n![](https://eddelbuettel.github.io/binb/monash_minimal.gif)\n\n### Status\n\nThe package is fairly new and susceptible to change, but on\n[CRAN](https://cran.r-project.org/).\n\n### Usage\n\nThe package is on [CRAN](https://cran.r-project.org/) and can be installed\nvia a standard\n\n```r\ninstall.packages(\"binb\")\n```\n\nand can then be used as a Markdown template via RStudio, or via code such as\n\n```r\nlibrary(rmarkdown)\ndraft(\"myslides.Rmd\", template=\"metropolis\", package=\"binb\", edit=FALSE)\nsetwd(\"myslides\")  ## template creates a new subdir\nrender(\"myslides.Rmd\")\n```\n\nto create a first draft of a new `myslides.Rmd`.\n\nOnce installed, the above code examples should work as expected.\n\n### Requirements\n\nBeyond the R package dependencies, a working `pandoc` binary is needed. RStudio installs\nits own copy, otherwise do what is needed on your OS (_i.e._, something like `sudo apt-get\ninstall pandoc pandoc-citeproc`).\n\nThe [Metropolis](https://github.com/matze/mtheme) LaTeX package is used, but we assume\nthat is is installed via TeXLive, MikTeX or another LaTeX bundle. The LaTeX code for the\n[IQSS Beamer Theme](https://github.com/IQSS/iqss-beamer-theme) and the [Presento\nTheme](https://github.com/RatulSaha/presento) are included (and adapted for\n[RMarkdown](https://github.com/rstudio/rmarkdown) use).\n\nThese themes use additional (free) fonts you may need to install:\n\n- [Metropolis](https://github.com/matze/mtheme) wants [Fira Sans](https://github.com/mozilla/Fira)\n  but can proceed with alternate fonts;\n- [IQSS Beamer Theme](https://github.com/IQSS/iqss-beamer-theme) wants\n  [Libertinus](https://github.com/alerque/libertinus), see the\n  [IQSS Beamer Theme](https://github.com/IQSS/iqss-beamer-theme)  page for details.\n- [Presento Theme](https://github.com/RatulSaha/presento) wants\n  [Montserrat](https://github.com/JulietaUla/Montserrat),\n  [Lato Light](https://www.latofonts.com/)\n  (also [here](https://github.com/google/fonts/tree/master/ofl/lato)),\n  [Noto Sans](https://fonts.google.com/noto),\n  [Algreya Sans](https://github.com/huertatipografica/Alegreya-Sans) as the small caps font and\n  [Inconsolata](https://github.com/google/fonts/tree/master/ofl/inconsolata) as a monospaced font.\n- [Monash](https://github.com/robjhyndman/MonashEBSTemplates) wants [Carlito](https://fontlibrary.org/en/font/carlito) which some systems (such as Ubuntu) \n  provide.\n\nIf you use [Debian](https://www.debian.org) or [Ubuntu](https://ubuntu.com/), you can\nuse the informal font packages I created for [Fira and Fira\nSans](https://github.com/eddelbuettel/pkg-fonts-fira),\n[Libertinus](https://github.com/eddelbuettel/pkg-fonts-libertinus),\n[Montserrat](https://github.com/eddelbuettel/pkg-fonts-montserrat), [Alegreya\nSans](https://github.com/eddelbuettel/pkg-fonts-alegreya-sans), respectively.\n\nMost modern desktop systems make it easy to install additional fonts as a user. However,\ninstructions vary so please see for your particular system.\n\n### See Also\n\n- [linl](https://github.com/eddelbuettel/linl): Linl is not Letter: LaTeX letters from RMarkdown\n- [pinp](https://github.com/eddelbuettel/pinp): Pinp is not PNAS: Snazzy one-or two column short papers or vignettes \n- [tint](https://github.com/eddelbuettel/tint): tint is not tufte: Beautiful pdf or html handout or writeups\n\nand the [minm](https://github.com/eddelbuettel/minm) package installing all of them.\n\n### Authors\n\nDirk Eddelbuettel, Ista Zahn and Rob Hyndman\n\n### License\n\nGPL (\u003e= 2) for this package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fbinb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddelbuettel%2Fbinb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fbinb/lists"}