Path: blob/main/src/resources/schema/document-numbering.yml
12921 views
- name: number-sections1schema: boolean2default: false3description:4short: "Number section headings"5long: |6Number section headings rendered output. By default, sections are not numbered.7Sections with class `.unnumbered` will never be numbered, even if `number-sections`8is specified.910- name: number-depth11schema: number12tags:13formats: [$html-all, $pdf-all, docx]14description:15short: The depth to which sections should be numbered.16long: |17By default, all headings in your document create a18numbered section. You customize numbering depth using19the `number-depth` option.2021For example, to only number sections immediately below22the chapter level, use this:2324```yaml25number-depth: 126```2728- name: secnumdepth29schema: number30hidden: true31tags:32formats: [$pdf-all]33description: The numbering depth for sections. (Use `number-depth` instead).3435- name: number-offset36tags:37formats: [$html-all]38schema:39maybeArrayOf: number40default: [0, 0, 0, 0, 0, 0]41description:42short: Offset for section headings in output (offsets are 0 by default)43long: |44Offset for section headings in output (offsets are 0 by default)45The first number is added to the section number for46top-level headings, the second for second-level headings, and so on.47So, for example, if you want the first top-level heading in your48document to be numbered "6", specify `number-offset: 5`. If your49document starts with a level-2 heading which you want to be numbered50"1.5", specify `number-offset: [1,4]`. Implies `number-sections`5152- name: section-numbering53tags:54formats: [typst]55schema: string56description: "Schema to use for numbering sections, e.g. `1.A.1`"5758- name: shift-heading-level-by59schema: number60description:61short: |62Shift heading levels by a positive or negative integer. For example, with63`shift-heading-level-by: -1`, level 2 headings become level 1 headings.64long: |65Shift heading levels by a positive or negative integer.66For example, with `shift-heading-level-by: -1`, level 267headings become level 1 headings, and level 3 headings68become level 2 headings. Headings cannot have a level69less than 1, so a heading that would be shifted below level 170becomes a regular paragraph. Exception: with a shift of -N,71a level-N heading at the beginning of the document72replaces the metadata title.7374- name: page-numbering75schema:76anyOf:77- boolean78- string79tags:80formats: [typst]81description:82short: |83Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.84long: |85Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.8687See [Typst Numbering](https://typst.app/docs/reference/model/numbering/)88for additional information.8990- name: pagenumbering91schema:92maybeArrayOf: string93tags:94formats: [context]95description:96short: Sets the page numbering style and location for the document.97long: |98Sets the page numbering style and location for the document using the99`\setuppagenumbering` command.100101See [ConTeXt Page Numbering](https://wiki.contextgarden.net/Command/setuppagenumbering)102for additional information.103104- name: top-level-division105tags:106formats: [$pdf-all, context, $docbook-all, tei]107schema:108enum: [default, section, chapter, part]109description:110short: |111Treat top-level headings as the given division type (`default`, `section`, `chapter`, or `part`). The hierarchy112order is part, chapter, then section; all headings are shifted such113that the top-level heading becomes the specified type.114long: |115Treat top-level headings as the given division type (`default`, `section`, `chapter`, or `part`). The hierarchy116order is part, chapter, then section; all headings are shifted such117that the top-level heading becomes the specified type.118119The default behavior is to determine the120best division type via heuristics: unless other conditions121apply, `section` is chosen. When the `documentclass`122variable is set to `report`, `book`, or `memoir` (unless the123`article` option is specified), `chapter` is implied as the124setting for this option. If `beamer` is the output format,125specifying either `chapter` or `part` will cause top-level126headings to become `\part{..}`, while second-level headings127remain as their default type.128129130