MasterIt Tutorial
Use this notebook to quickly write your first randomized exercise.
You can refer to the original example as needed while editing (in case you delete the example).
First, write a generator
Edit the below Code cell to create a function to generate the random data used in your exercise.
Use [Ctrl]+[Enter] to see sample output used for your exercise.
Now, write a template
Edit the following PreTeXt exercise template to write your exercise's statement and answer.
Randomized data from the generator can be accessed using <xsl:value-of select="name"/>
.
Use [Ctrl]+[Enter] to display your randomly generated exercise in a variety of formats, including HTML and LaTeX.
Find the y-intercepts for each of the following equations.
Answer:
Start building your library!
Go to the README to learn how to create a library of exercises that can be exported for use in platforms such as Canvas LMS.