How theorem-like environments work

Ximera provides a number of theorem-like environments by default. These are all functionally identical, the only difference is the name associated with them. It is important to note that each of these theorem-like environments use their own independent counter/numbering. For example, observe the numberings of the following theorems and corollaries:

So the different environments will number themselves in order, but each tracks its own numbering independently.

Optional Arguments

There are (currently) no Ximera-specific optional arguments - but Ximera does support the default optional arguments. For example, you can put an optional argument to provide a “nickname” for the theorem. For example:

The above is generated with:

        \begin{axiom}[Axiom of Choice]
 
            I’m not going to actually write the Axiom of Choice here -  
            but only crazy people don’t assume it. Or maybe non-analysts.  
        \end{axiom}  
        

Examples

The easiest way to list the default theorem-like environments, is just to demonstrate them all - prepare for a massive example list!

Best Practices

Potential Pitfalls and Problems

Page Credit

Remember that environments are what generate page credit in Ximera. So if you include one of these environments, and don’t have anything which requires student input inside that environment (such as a multiple choice environment or an answer command), it will still count as credit for the page, and immediately grant student credit for that environment as it will immediately be marked as “completed” (since there is nothing for the student to do). This can be a good thing - to use as partial credit for at least opening the assignment for instance. See the segment on Credit Allocation for more on this issue in general.

Cross-Referencing

One of LaTeX’s strong points is automatically numbering and cross-referencing content via a label and ref command. This still works in the generated pdf (at time of writing), but it does not work in any meaningful way online. In general, one is best served by using a hard-coded reference and possibly a link command to reference another part of the document, to make sure that it works online as well as online. See the advanced section on linking content for more on this.