diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-02-17 21:30:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-02-17 21:30:20 +0100 |
| commit | 2f4dc99cec1c6fa33257dea91ab3bcd99b1cbdf5 (patch) | |
| tree | eb983e54bac5ae226474bd8c5d6a29006b00ff12 /tests/library/typ/box.typ | |
| parent | db1659a987cd240b78e45666617248d3d0cc7d64 (diff) | |
Refresh tests 🌊
Diffstat (limited to 'tests/library/typ/box.typ')
| -rw-r--r-- | tests/library/typ/box.typ | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/library/typ/box.typ b/tests/library/typ/box.typ index 67abe350..57763f12 100644 --- a/tests/library/typ/box.typ +++ b/tests/library/typ/box.typ @@ -1,20 +1,20 @@ -#[page "a7", flip: true] +#page("a7", flip: true) // Box with fixed width, should have text height. -#[box width: 2cm, color: #9650D6][A] +#box(width: 2cm, color: #9650D6)[A] Sometimes there is no box. // Box with fixed height, should span line. -#[box height: 2cm, width: 100%, color: #734CED][B] +#box(height: 2cm, width: 100%, color: #734CED)[B] // Empty box with fixed width and height. -#[box width: 6cm, height: 12pt, color: #CB4CED] +#box(width: 6cm, height: 12pt, color: #CB4CED) // Not visiblem, but creates a gap between the boxes above and below. -#[box width: 2in, color: #ff0000] +#box(width: 2in, color: #ff0000) // These are in a row! -#[box width: 1in, height: 10pt, color: #D6CD67] -#[box width: 1in, height: 10pt, color: #EDD466] -#[box width: 1in, height: 10pt, color: #E3BE62] +#box(width: 1in, height: 10pt, color: #D6CD67) +#box(width: 1in, height: 10pt, color: #EDD466) +#box(width: 1in, height: 10pt, color: #E3BE62) |
