I make interactive Jupyter-based slides using RISE for use during class. You can view them here, or open them to interact.
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.
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
hide_code: Hide code and/or prompts from view
jupyter nbextension install –py hide_code
This is what you want for interactive figures where the code that created the figure is not relevant to the viewer.
Load the presentation¶
Open in your browser
Toggle slide-show mode using Alt-R.
When saving, use
Kernel -> Restart & Clear Outputto 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).
Install the latest nbmerge
pip install -U nbmerge