We give a workflow and template for exercises.

Template for exercises

Exercises are fairly easy to write. All exercises should be in a directory named ‘‘exercises’’ that is contained within the directory for the section to which the exercises pertain. For an example, see here

The exercises should have outcomes that align with the outcomes from the section and title page. Authors of exercises should check that these outcomes align.

\documentclass{ximera}
 
 
\author{Jane Doe}  
 
\outcome{Some outcome from the chapter.}  
 
\input{../../preamble.tex}  
 
\begin{document}  
\begin{exercise}  
What is $2+2$?  
\[  
2+2 = \answer{4}  
\]  
\end{exercise}  
\end{document}

Keeping track of exercises

It is important to keep track of all exercises. We do this with various exercise lists.

In the exercises directory, one should make a file exerciseList.tex that lists the exercises. As an example, see this.

Additionally, one should add there exercises to a larger exercise list, found in the exercises directory, at the top-level of the calculus repository. See this.