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:

Evaluate the following:
(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}}\)

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

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.

Let \(x\) be the number of people out of \(100\) that LOVE Ximera.

Find the value of \(x\).

\[ x = \answer {100} \]

Maybe you want a problem with one or more parts,

Ximera is so awesome because it feels like:
Doing taxes Writing a book by hand A walk in the park with free ice cream Solving a puzzle blindfolded
Why is Ximera the best thing since the chalkboard?
It turns LaTeX into online materials It boosts student engagement It makes coffee and hugs you Its open-source and free

Finally we can include pictures using includegraphics. Here’s an example of a question with a picture.

Here is a picture of the Ximera Octolion:

PIC

What’s their name?

\[ \text {Name} = \answer [format=string]{Xarlie} \]

Their name begins with an “X.”

It ends with an “arlie.”

It’s almost Karlie!

We include JPGs and PDFs in exactly the same way.