A simple Ximera activity.

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:

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}}\)

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

3 Basic exercises

After that, you might want to have some exercises:

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.

2024-11-10 21:40:30