- (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}}\)
A simple Ximera activity.
Ps 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:
To see why there are two versions of the \(|5-\sqrt {2}|\) question, view the source code for this
question by appending .tex to the end of the URL.
2 A paradox
Here’s something fun
Where is the mistake in the work above?
3 Basic exercises
After that, you might want to have some exercises. You will not find any inspiration in the above definition of the absolute value.
Find the value of \(x\).
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?
We include JPGs and PDFs in exactly the same way.