Definition3.1.1Lattice Points
The lattice points in \(d\) dimensions, \(d\) a positive integer, are the points in \(d\)-dimensional space with integer coordinates.
There are three features of Mathbook XML highlighted in this chapter.
Definitions - we make a basic definition that includes an xml id for easy referencing.
Exercises - including hints and solutions.
Cross-referencing - making use of an xml id to create a knowl that reminds the reader of a definition that is made in a different part of the document.
This is the general form of a definition, with the notation section optional:
The tag that opens the following definition is <definition xml:id="lattice-points">. In the exercise below we reference this definition with the tag <xref ref="lattice-points" autoname="title" />. With the value of title, the knowl text is the title of the referenced item, in this case "lattice points." The other possible autonamevalues are
yes - displays the type of item (Definition, Example, Theorem, ...) and then the number of that item.
no - just displays the item number
plural - Is a variation on "title" that pluralizes the title. I wasn't aware of this when I wrote the code for this example. If I had used this option, I could have used the more natural id value "lattice point" and the knowl would have added the 's' at the end.
The lattice points in \(d\) dimensions, \(d\) a positive integer, are the points in \(d\)-dimensional space with integer coordinates.
The following definition has two notation tags, each is listed in the notations section.
...many lines later or in a different chapter, the following exercise may appear.....
Let \(V\) be a vector space over \(\mathbb{R}\) with basis \(\left\{\vec{x}_1,\vec{x}_2, \ldots ,\vec{x}_n\right\}\). Then the dimension of \(V\) is \(n\). We use the notation \(\dim V = n\) to indicate that \(V\) is \(n\)-dimensional.