Slides#

I make interactive Jupyter-based slides using RISE for use during class. You can view them here, or open them to interact.

Environment#

This explains how I configure my environment in case you wish to install and use the slides locally, or adapt these tools for your own use.

Install Dependencies#

TL;DR:

pip3 install -r requirements.txt
jupyter contrib nbextension install --user

And for these (using Julia in Jupyter)

julia -e 'import Pkg; Pkg.add("IJulia")'

The main packages are

  • RISE: General editing and presentation of slides

    • Alt-R: Snap in and out of presentation mode

    • Shift-I: toggle slides

    • Shift-G: toggle fragment (incrementally revealed cells)

  • splitcell: create two columns

    jupyter nbextension enable splitcell/splitcell

    • Shift-S: toggle splitting this cell

Load the presentation#

Open in your browser

jupyter-notebook the-slides.ipynb

Toggle slide-show mode using Alt-R.

Best practices#

  • When saving, use Kernel -> Restart & Clear Output to keep the stored data and diffs in the notebook small.

  • PDF files are not web-friendly. PDF images can be converted to SVG using pdf2svg, and the result will still look sharp (unlike PNG).