# Numbers that match the original

Sections, theorems, equations and citations keep the numbers LaTeX printed, in the PDF and on the web page. A real comparison against LaTeX's own numbers, made when this page was built.

Address: https://intex.academy/numbers

A reference to Theorem 2.1 is only useful if Theorem 2.1 is where it points. The PDF and the web page keep the numbers LaTeX itself printed: sections, theorems, equations and citations.

| What | Label in the source | LaTeX printed | The PDF says | The web page says | Match |
|---|---|---|---|---|---|
| Section | `sec:square` | 1 | 1 | 1 | Same |
| Definition | `def:disc` | 1.1 | Definition 1.1 | Definition 1.1 | Same |
| Lemma | `lem:square` | 1.2 | Lemma 1.2 | Lemma 1.2 | Same |
| Equation | `eq:square` | 1 | (1) | (1) | Same |
| Section | `sec:roots` | 2 | 2 | 2 | Same |
| Theorem | `thm:roots` | 2.1 | Theorem 2.1 | Theorem 2.1 | Same |
| Equation | `eq:roots` | 2 | (2) | (2) | Same |
| Citation | `katz` | 1 | [1] | [1] | Same |
| Citation | `rashed` | 2 | [2] | [2] | Same |

Each number LaTeX printed for the document, beside the PDF and the web page made from the same source

The lecture notes from [One source, two documents](https://intex.academy/one-source). For each numbered thing: its label in the LaTeX, the number LaTeX printed for it, and what the PDF and the web page say. Read from each when this page was built.

### Checked against LaTeX, not assumed

The numbers in the second column are not ours. To get them, the build ran the same source through LaTeX itself and read what LaTeX wrote down for each label. Then our software built the PDF and the web page and compared: 18 numbers in all, the 9 in this table among them, and every one the same.

This matters most where it is easiest to miss. A theorem numbered within its section, a definition that shares its counter with lemmas, a bibliography in the order the author wrote it rather than by first citation: each is a place where a conversion can quietly renumber, and a student's notes stop matching the lecture.

### Links that say where they go

On the web page every reference is a link, and each link's name says what it points to. A screen reader user who lists the links on these notes hears *Equation 1*, *Definition 1.1*, *Section 1*, *Lemma 1.2*, *Theorem 2.1*, *Reference 1* and *Reference 2*, rather than a row of bare numbers.

The PDF carries the same targets, so a reference in the PDF jumps to the theorem or equation it names.

Why it matters for trust, in a short note: [a theorem number is a promise](https://intex.academy/notes/theorem-numbers).
