Examples

In the examples directory of the PreTeXt distribution there are several examples. We include output for five of them here. To see examples of actual books (and other projects), see the Gallery at the main page of this site.

Sample Book

The sample-book is an example of how a book-length document can be authored and organized. It may have a run of chapters, or be structured into parts. The parts can be “structural”, where numbering of chapters restarts in each part, or “structural”, where chapters are numbered consecutively throughout the book without regard for the parts.

The first version below has only chapters, and no parts. We have used it as an example of how to generate a Solution Manual as a PDF that could be distributed to instructors.

Chapters Only:

Structural Parts:

Decorative Parts:

Source:

Sample Article

The sample-article is both a developer's sandbox and the kitchen sink of the documentation. It is a sandbox because we frequently test new features here and sometimes also debug problems. So sometimes it contains some preliminary, or immature, examples. It is the kitchen sink because we try to add one of everything. This is both for testing, and so that you can look at output and then examine the source to see how to do something you like or need. But it is cutting-edge and contains new features before they make it into the Author's Guide. As a testing platform, we bring the least powerful version of LaTeX to bear for creating the PDF, so this is always built using the pdflatex engine (in contrast to the font example below).

WeBWorK Sample Chapter

The WeBWorK sample-chapter contains examples of various ways to incorporate WeBWorK automated homework problems into your text. This work was initiated with a grant from OpenOregon with a matching grant from University of Puget Sound.

Humanities in Action

The humanities folder contains Humanities in Action which showcases Jahrme Risner's summer project in 2016, funded by the Arts, Humanities, Social Sciences Summer Research for Undergraduates program at the University of Puget Sound.

Characters, Fonts, and Languages