Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_austenite/tests/fixtures/eval/bodies/box_inset.typ

628 bytes, 1 run

created by r1870400018:63648, 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 4
2// An inline box takes its inset and its height into the line, and its baseline follows its content's, a
3// `baseline` shift or an alignment.
4#set page(width: 300pt, height: 300pt, margin: 25pt)
5Before #box(stroke: 0.5pt, inset: 3pt)[Mu: Nu] after text on the same line.
6
7Raised #box(baseline: 30%, inset: 2pt, fill: luma(220))[up] and lowered #box(baseline: -20%)[down] text.
8
9Tall #box(height: 24pt, stroke: 0.5pt)[top] and #box(height: 24pt, baseline: bottom, stroke: 0.5pt)[bottom] end.
10
11A block in a box: #box(width: 80pt, inset: 4pt, stroke: 0.5pt)[
12 first paragraph
13
14 second paragraph here
15] after.