Skip to main content

Section 2 A Gallery of Examples

It's hard to restrict myself to just a few examples, but I'll try to give a representative sampling. Most are from the gallery on the main page, but the documentation also has some great stuff.

Subsection 2.1 Some great examples

There are many different types of projects out there. Here are several examples showing different things I think worthwhile.

List 2.1. Examples of real-life projects
  • For a good practical example of interleaving videos, math, figures, WeBWorK exercises, and so much more, see APEX Calculus in its PTX version. (Try it in mobile mode!)

  • David Austin shows making custom javascript for an interesting javascript activity.

  • On the other hand, you may wish to simply write a paper that can be archived in a form other than pdf. The American Institute of Mathematics supports PTX largely for this potential; here is an example from a closely related project.

  • Yes, and music theory. (Mic drop.)

Subsection 2.2 Some great examples – with Sage

But this is a Sage Days! Let's see some of the variety of what people have done using Sage.

List 2.2. Examples of real-life projects using Sage
  • Tom Judson's respected Abstract Algebra text has what you might call a ‘traditional’ approach to using computation. It's crucial for a groups-first text that Sage uses the whole open source ecosystem, of course! And students can well learn commands, and how to use them.

  • On the other hand, one can also have a different approach that asks a bit less of students, but may engage them in different ways. I believe very much in the power of the @interact functionality in Sage for exploration for students. One of my favorites is a following power table plot, which I first saw in Bressoud and Wagon's computational number theory text.

  • Doerr and Levasseur's Applied Discrete Structures is a known (dare one say venerable?) text that demonstrates the possibility of doing some fairly sophisticated conversion from existing source. However, I include it here because it shows off the facility of generating graphics for your text from within Sage (which can be automated).

Subsection 2.3 What else could you do?

The documentation for PTX is evolving. The PreTeXt Guide is a compendium of information for those ready for a well-organized reference.

However, if you are trying to figure out exactly how to do that special something, with a good in-context example, the place to go still is: