{"id":13424118,"url":"https://github.com/pat-s/xaringan-metropolis","last_synced_at":"2025-03-19T23:31:05.740Z","repository":{"id":103067772,"uuid":"108456492","full_name":"pat-s/xaringan-metropolis","owner":"pat-s","description":"Metropolis theme of R package xaringan","archived":false,"fork":false,"pushed_at":"2019-10-21T13:44:17.000Z","size":818,"stargazers_count":81,"open_issues_count":1,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T12:21:26.461Z","etag":null,"topics":["css","metropolis","r","remark","rmarkdown","theme","xaringan"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/pat-s.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2017-10-26T19:29:32.000Z","updated_at":"2025-03-04T14:15:55.000Z","dependencies_parsed_at":"2023-04-24T18:43:16.489Z","dependency_job_id":null,"html_url":"https://github.com/pat-s/xaringan-metropolis","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat-s%2Fxaringan-metropolis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat-s%2Fxaringan-metropolis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat-s%2Fxaringan-metropolis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat-s%2Fxaringan-metropolis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pat-s","download_url":"https://codeload.github.com/pat-s/xaringan-metropolis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244524819,"owners_count":20466506,"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":["css","metropolis","r","remark","rmarkdown","theme","xaringan"],"created_at":"2024-07-31T00:00:48.875Z","updated_at":"2025-03-19T23:31:05.289Z","avatar_url":"https://github.com/pat-s.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"# xaringan\n\nThis is a theme for the R package [`xaringan`](https://github.com/yihui/xaringan) which itself relies on [`remark.js`](https://remarkjs.com/#1) to create a markdown based presentation. \nYou can see an example of the default look of `xaringan` [here](http://slides.yihui.name/xaringan/).\n\n## metropolis theme\n\nThe theme of this repository is trying to be a copy of the [`metropolis`](https://github.com/matze/mtheme) theme for the Beamer class in LaTeX. \nHowever, margins may not be correct and font sizes may not reflect the original theme. \nCurrently, the theme only supports 4:3 ratio.\nYou can find the demo slides of the theme [here](https://pjs-web.de/files/xaringan-metropolis.html#1).\n\nTitle slide                |  Content slide\n:-------------------------:|:-------------------------:\n![](figs/example1.png)  |  ![](figs/example2.png)\n\n## Installation\n\nIf you want to use this theme, you need to install `R` and the package `xaringan`\n\n```r\nremotes::install_github('yihui/xaringan')\n```\n\nIf you use RStudio, it is easy to get started from the menu `File -\u003e New File -\u003e R Markdown -\u003e From Template -\u003e Ninja Presentation`, and you will see an R Markdown example. Press the `Knit` button to compile it, or use the RStudio Addin `Infinite Moon Reader` to live preview the slides (every time you update and save the Rmd document, the slides will be automatically reloaded; make sure the Rmd document is on focus when you click the addin). Please see the [issue #2](https://github.com/yihui/xaringan/issues/2) if you do not see the template or addin in RStudio.\n\nSpecify `metropolis` and `metropolis-fonts` in the `css` argument of `moon_reader()`\n\n```yaml\noutput: \n  xaringan::moon_reader:\n    css: [default, metropolis, metropolis-fonts]\n```\n\n## Additional tweaks\n\n`remark.js` allows to have custom macros defined at startup that simplify your life with `xaringan`.\nSee this [xaringan demo slide](https://slides.yihui.name/xaringan/#30) for more information. \n\n## Further information\n\nFeel free to fork and modify this theme.\nPull requests are also welcome.\nAlso have a look at the `xaringan` [wiki](https://github.com/yihui/xaringan/wiki) and `remark` [wiki](https://github.com/gnab/remark/wiki) to know all features of this presentation tool.\n\nThe main R Markdown output format in this package is `moon_reader()`. See the R help page `?xaringan::moon_reader` for all possible configurations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat-s%2Fxaringan-metropolis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpat-s%2Fxaringan-metropolis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat-s%2Fxaringan-metropolis/lists"}