Section 4.35 Slides
Slideshows may be authored in PreTeXt by using the following tags.
slideshow
replaces the usualarticle
orbook
tag to let PreTeXt know you are authoring a set of slides. As usual, you may then define yourtitle
,subtitle
, andfrontmatter
.Similar to articles, your content should be organized into several
section
s.And within each section, a
slide
represents a full screen of information. Within a slide, you may author PreTeXt content as usual, such as paragraphs (p
), lists (ul
), and so on.Several elements support setting the
@pause
attribute to the valueyes
to allow stepping through parts of a slide (e.g. it inserts a Beamer\pause
).
A minimal working example may be found in the Examples folder of the PreTeXt repo on GitHub 1 2 . See publishing details for various outputs in Chapter 32.
https://github.com/PreTeXtBook/pretext/blob/dev/examples/sample-slideshow/sample-slideshow.xml
examples/sample-slideshow/sample-slideshow.xml