Numbering and cross-references

Watch the videoNumber figures and tables 00:15

Give a figure a label and it gets a numbered caption in reading mode: ![The water cycle](cycle.png){#fig:cycle} becomes the image followed by Figure 1 — The water cycle. A table takes its label on a line starting with a colon, right below it: : Collected samples {#tbl:samples}. And a display equation gets its number in the right margin when the closing $$ carries {#eq:mass}. This feature comes turned off: switch it on in Settings → Features → Academic → Numbering and cross-references. LightNote is a simple editor that also handles a thesis, and someone who does not write academic work should not pay for it with menus and options they never use.-numeracao

Then just point at it: @fig:cycle becomes Figure 1, [@fig:cycle] becomes (Figure 1) and -@fig:cycle becomes the number alone. Same grammar as citations, on purpose. Inserting a figure in the middle renumbers everything by itself — the count belongs to the document, in reading order.

Numbering is opt-in, through the label: an image without {#fig:…} stays exactly as it is today. And a label that does not exist stays as you wrote it, like a citation: that is the clue that a reference is broken.

Numbered sections (ABNT NBR 6024): declare section-numbers: true in the note's properties and the headings get their indicative — 1, 1.1, 1.1.1 — left aligned, separated by one space and with no trailing dot. A heading with {#sec:method} can be pointed at by @sec:method; without numbering, the reference becomes the section's title.

Alone on a line, [list of figures] and [list of tables] build the lists the standard asks for, the way [TOC] builds the outline. All of this belongs to reading mode (and to the exported PDF/HTML): in the editor the file keeps what you wrote, which is what makes renumbering possible without touching the note.