Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/book/ctx_fields.typ

1.8 KiB, 1 run

created by r1870400018:63670, 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// oracle: levels 1 4
2#set page(width: 200pt, height: 160pt, margin: 15pt)
3#set text(size: 9pt, lang: "fr", region: "CA", weight: "bold")
4#set par(leading: 0.8em, spacing: 1.2em, justify: true, first-line-indent: 1em)
5#set heading(numbering: "1.1")
6#context [#metadata((
7 size: text.size, lang: text.lang, region: text.region, weight: text.weight, style: text.style,
8 hyphenate: text.hyphenate, tracking: text.tracking, fill: text.fill,
9 leading: par.leading, spacing: par.spacing, justify: par.justify, indent: par.first-line-indent,
10 width: page.width, height: page.height, margin: page.margin, numbering: page.numbering,
11 numbering-heading: heading.numbering, offset: heading.offset, outlined: heading.outlined,
12 marker: list.marker, figure-numbering: figure.numbering, above: block.above, below: block.below,
13)) <probe>]
14#context [#set text(size: 14pt); #set par(leading: 2em); #metadata((size: text.size, leading: par.leading, em: text.size * 2)) <probe>]
15#context [#set page(width: 100pt, margin: (x: 5pt, y: 7pt)); #metadata((width: page.width, margin: page.margin)) <probe>]
16#show heading: it => context [#metadata((level: it.level, size: text.size, weight: text.weight)) <probe> #it.body]
17= A heading
18#context [#metadata(text.font) <probe>]
19#set text(font: ("Libertinus Serif", "DejaVu Sans Mono"))
20#context [#metadata(text.font) <probe>]
21#context { let s = text.size; let l = par.leading; [#metadata((s.pt(), l.em)) <probe> #(s * 3)] }
22#context [#set text(weight: 500); #metadata((a: text.weight)) <probe>]
23#context [#set text(weight: 650); #metadata((a: text.weight)) <probe>]
24#context [#set text(weight: 700); #metadata((a: text.weight)) <probe>]
25#context [#set text(font: "DejaVu Sans Mono"); #metadata(text.font) <probe>]
26#context [#set text(font: ("Libertinus Serif",)); #metadata(text.font) <probe>]