-
-
Notifications
You must be signed in to change notification settings - Fork 215
Numbering
Giorgio Garofalo edited this page Oct 26, 2024
·
27 revisions
The .numbering {format} function sets the global numbering format of the document, attaching a counter to headings and table of contents entries (+ figures and tables coming soon).
format accepts a string where each character represents either a counter or a fixed symbol:
-
1for decimal (1, 2, 3, ...) -
afor lowercase latin alphabet (a, b, c, ...) -
Afor uppercase latin alphabet (A, B, C, ...) -
ifor lowercase roman numerals (i, ii, iii, ...) -
Ifor uppercase roman numerals (I, II, III, ...) - Any other character is a fixed symbol
For example, given the format 1.A.a, the following headings are assigned these labels:
# Title <!-- 1 -->
## Title <!-- 1.A -->
### Title <!-- 1.A.a -->
### Title <!-- 1.A.b -->
## Title <!-- 1.B -->
# Title <!-- 2 -->
## Title <!-- 2.A -->The default numbering format, if unspecified, is:
-
1.1forpageddocuments (can be disabled via.numbering {none}) - None for other documents
- Figures
- Image size
- TeX formulae
- Table caption
- Code caption
- Decorative headings
- Alerts (quote types)
- Quotation source
- Cross-references
- Page breaks
- Text symbols (text replacement)
- Emojis
- Document metadata
- Theme
- CSS
- Fonts
- Page format
- Page margin content
- Page counter
- Persistent headings
- Automatic page break
- Numbering
- Paragraph style
- Caption position
- Table of contents
- Bibliography
- Footnotes
- Stacks (row, column, grid)
- Container
- Align
- Float
- Figure
- Clip
- Box
- Collapsible
- Landscape
- Whitespace
- Variables
- Optionality
- Math
- Conditional statements
- Loops
- Let
- Destructuring
- String manipulation
- Table manipulation: sorting, computing, and more
- Table generation
- String
- Number
- Markdown content
- Boolean
- None
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic
- Paper: abstract, definitions, theorems, and more