Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/incremental/headings_refs_outline.typ

1.2 KiB, 1 run

created by r1870400018:67953, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1// Headings that are referenced and outlined: the outline lists every heading with its page, the text refers forward
2// and back, and a page read through a counter at a label.
3#set page(width: 220pt, height: 130pt, margin: 16pt, numbering: "1")
4#set text(size: 9pt)
5#set heading(numbering: "1.1")
6#outline(depth: 2)
7
8= Introduction <intro>
9
10This part introduces the plan and points ahead to @method and to @results, which come later in the document.
11
12= Method <method>
13
14The method is described in steps. It is set out here at some length, since the later parts depend on it and refer back to @intro for the reasons.
15
16== Details <details>
17
18Details follow, with the page of the introduction read as #context counter(page).at(<intro>).first() and the page of the results as #context counter(page).at(<results>).first().
19
20== More details <more>
21
22More details, and a few lines of ordinary text to take the section on towards a new page so that the headings after it move.
23
24= Results <results>
25
26The results come last. They are described in @details and in @more, and they close the document with some further text for the final page.
27
28== Summary <summary>
29
30A short summary of everything above, referring to @method once more, and ending the document.