diff options
Diffstat (limited to 'tests/typ/insert/rect.typ')
| -rw-r--r-- | tests/typ/insert/rect.typ | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/typ/insert/rect.typ b/tests/typ/insert/rect.typ deleted file mode 100644 index 4824095a..00000000 --- a/tests/typ/insert/rect.typ +++ /dev/null @@ -1,27 +0,0 @@ -// Test shapes. - ---- -// Test the `rect` function. - -#page(width: 150pt) - -// Fit to text. -#rect(fill: conifer)[Textbox] - -// Empty with fixed width and height. -#rect(width: 3cm, height: 12pt, fill: rgb("CB4CED")) - -// Fixed width, text height. -#rect(width: 2cm, fill: rgb("9650D6"), pad(5pt)[Fixed and padded]) - -// Page width, fixed height. -#rect(height: 1cm, width: 100%, fill: rgb("734CED"))[Topleft] - -// Not visible, but creates a gap between the boxes above and below -// due to line spacing. -#rect(width: 1in, fill: rgb("ff0000")) - -// These are in a row! -#rect(width: 0.5in, height: 10pt, fill: rgb("D6CD67")) -#rect(width: 0.5in, height: 10pt, fill: rgb("EDD466")) -#rect(width: 0.5in, height: 10pt, fill: rgb("E3BE62")) |
