- (a)
- \(|2-5| = \answer {3}\)
- (b)
- \(|5-2| = \answer {3}\)
- (c)
- \(|5-\sqrt {2}| = \answer {3.58578643763}\)
- (d)
- \(|5-\sqrt {2}| = \answer {5-\sqrt {2}}\)
Perhaps the most natural setting for Ximera content is that of a worksheet. This is some document that may contain discussion as well as questions that check understanding.
Ximera comes pre-equipped with many environments. If you are ever curious about the source code, you can visit this source at
or by appending .tex to the URl of this page online.
1 A basic use case
We use\begin{definition} for definitions and \begin{question} for questions.
Since Ximera provides immediate feedback, we suggest following definitions like this
one by a quick question. Here’s an example:
Now students can check their understanding:
You can see the source code for this file by appending .tex to the end of the
URL.
2 A paradox
Here’s something fun
Where is the mistake in the work above? \[ \text {Between line }\answer {3} \text { and line }\answer {4}. \]
3 Basic exercises
After that, you might want to have some exercises:
Find the value of \(x\). \[ x = \answer {100} \]
Maybe you want a problem with one or more parts,
Finally we can include pictures using includegraphics. Here’s an example of a
question with a picture.

What’s their name? \[ \text {Name} = \answer [format=string]{Xarlie} \]
We include JPGs and PDFs in exactly the same way.
2024-11-10 21:40:30