Ask Your Question

Using sage for slideshows/presentations

asked 2011-02-20 17:49:11 -0500

I was wondering what the current best way is to make a presentation using the sage notebook. Do you just make a normal notebook with white-space separated "slides" and then just scroll through it?

In this thread at sage-notebook, William mentioned that he had implemented a slideshow mode, but it wasn't good enough to include to the main sage branch.

I've heard it said that the linear nature of the notebook makes it difficult to make a slideshow presentation. Mathematica suffers from the same problem, but gets around it by having a SlideShowNavigationBar cell to group a slide together. Also instiki can support slides on top of its normal linear wiki/web page structure. Is there any current work on adding slideshow support to the sage notebook?

edit retag flag offensive close merge delete


This thread is a bit old. These days the jupyter notebook has some reveal.js integration available when we use sage --notebook=jupyter. However it is not trivial to use. Should I ask for a sage tutorial for this feature here, or in a new question?

pang gravatar imagepang ( 2016-10-26 12:15:41 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2011-02-21 04:22:27 -0500

kcrisman gravatar image

updated 2011-02-21 04:22:40 -0500

I don't think there is any current work. Here is something you might try if you use LaTeX.

  • Download your worksheet as a .sws file.
  • Get sws2tex.
  • Use that to make your worksheet into a decent approximation as a LaTeX file.
  • Modify that worksheet by changing the document class to Beamer, and then insert slide beginnings and ends.

I agree that this is not ideal for industrial use, but depending on your needs it might be a good workaround.

edit flag offensive delete link more


Thanks kcrisman, that will do until something better comes along!

Simon gravatar imageSimon ( 2011-02-22 21:37:11 -0500 )edit

Great. If you find a way to streamline this, please let us know. I have to admit I haven't tried this - sws2tex works pretty well, but I haven't done any modifications to the resulting files, which use coloration quite a bit.

kcrisman gravatar imagekcrisman ( 2011-02-23 04:21:56 -0500 )edit

answered 2011-02-24 01:22:40 -0500

Volker Braun gravatar image

I usually use Beamer + sageTeX for slides. That is, write the slides in pdfLaTeX with the Beamer package and use sageTeX to embed code snippets that I want to show. Its not as fast as writing a notebook but allows much finer control over the output.

You can see examples of what other people were using for presentations at the Sage wiki.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-02-20 17:49:11 -0500

Seen: 791 times

Last updated: Feb 24 '11