Giter VIP home page Giter VIP logo

xaringan-metropolis's Introduction

xaringan

This is a theme for the R package xaringan which itself relies on remark.js to create a markdown based presentation. You can see an example of the default look of xaringan here.

metropolis theme

The theme of this repository is trying to be a copy of the metropolis theme for the Beamer class in LaTeX. However, margins may not be correct and font sizes may not reflect the original theme. Currently, the theme only supports 4:3 ratio. You can find the demo slides of the theme here.

Title slide Content slide

Installation

If you want to use this theme, you need to install R and the package xaringan

remotes::install_github('yihui/xaringan')

If you use RStudio, it is easy to get started from the menu File -> New File -> R Markdown -> From Template -> 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 if you do not see the template or addin in RStudio.

Specify metropolis and metropolis-fonts in the css argument of moon_reader()

output: 
  xaringan::moon_reader:
    css: [default, metropolis, metropolis-fonts]

Additional tweaks

remark.js allows to have custom macros defined at startup that simplify your life with xaringan. See this xaringan demo slide for more information.

Further information

Feel free to fork and modify this theme. Pull requests are also welcome. Also have a look at the xaringan wiki and remark wiki to know all features of this presentation tool.

The main R Markdown output format in this package is moon_reader(). See the R help page ?xaringan::moon_reader for all possible configurations.

xaringan-metropolis's People

Contributors

enchufa2 avatar pat-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xaringan-metropolis's Issues

broken links

These are broken:

xaringan::moon_reader:
  lib_dir: libs
  css: ["https://github.com/pat-s/xaringan-mtheme.css",
        "https://github.com/pat-s/xaringan-fonts_mtheme.css"]

.left-column and emphasis within list

I have been waiting to find the bandwidth to dive into xaringan to manage my lecture slide decks and am targeting to go live with this next semester. Your theme has the foundation that I am looking for, but as I am attempting to learn the ins and outs of the tool, including remark.js, I noticed that from the official overview, there is built-in emphasis when using .left-column[]. This can be seen in action when comparing slide 3 and then slide 4.

This feature appears to be available when using the default them from the xaringan package, but I am not sure what it would take to add it back into your theme's .css file.

Any help or guidance would be appreciated!

(It should also be noted I am the farthest thing from expert in CSS. I am just hacking away but nothing jumps out to me.)

logo on title slide and on header

Hello,

First of all thank you for this wonderful contribution to xaringan.

I was wondering if there is a way to add a logo to the title slide and to the header (left to the title of each slide).

I have been trying to define a new header and then add a logo but the result is horrible.

Many thanks!

plain slide

Hi!

I am using your theme with the xaringan package and I am a total css noob. So my question is: is there a possibility with your theme to add a "plain" slide (like in LaTeX) without any header bar (not title - just white background)? This would be quite useful for displaying interactive graphs on total screen.

Thank you so much!
Manuel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.