Skip to main content
Contents
Embed
Dark Mode Prev Up Next
\(
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section See What PreTeXt Can Do
These slides contain a short orientation into PreTeXt. Feel free to review them before you start the tutorial, but they are not required.
Before you build anything, it helps to see the range. The core idea of PreTeXt is that you describe
what a piece of content is , whether it be a definition, an example, an exercise, an interactive and the system handles presentation for web, print, and accessibility.
You do not need to recreate these examples today. They are here to give you a sense of what becomes possible once the syntax starts to feel familiar.
Subsection Interactive Feature Gallery
Subsubsection GeoGebra
A GeoGebra applet can be embedded directly in a PreTeXt page.
Subsubsection True/False
Auto-graded true/false questions are one of the fastest ways to add lightweight interactivity.
Checkpoint 1 . True/False.
Every vector space has finite dimension.
True.
The vector space of all polynomials with finite degree has an infinite basis, so not every vector space is finite-dimensional.
False.
The vector space of all polynomials with finite degree has an infinite basis, so not every vector space is finite-dimensional.
Subsubsection Multiple Choice
Multiple-choice questions can include feedback for every option.
Checkpoint 2 . Multiple Choice.
What color is a stop sign?
Green
Green means βgoβ, not βstopβ.
Red
Red is the standard stop-sign color.
White
White would be hard to see in many settings.
Subsection See These Features in Real Books
The examples above are useful on their own, but it is even better to see them in context. These pages come from existing PreTeXt books and lessons.
Sample Pages.
β·
Audio with embedded narration.
β·
Multi-part Questions with scaffolded parts.
β·
TikZ Graphics rendered as accessible SVG.