From 393d74f9bb0d4c71a69108d5be261103c39f47f3 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 25 Nov 2021 20:51:16 +0100 Subject: Layout improvements --- tests/typ/code/let.typ | 2 +- tests/typ/code/target.typ | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/typ/code') diff --git a/tests/typ/code/let.typ b/tests/typ/code/let.typ index cd7531b7..7fd6e0da 100644 --- a/tests/typ/code/let.typ +++ b/tests/typ/code/let.typ @@ -11,7 +11,7 @@ // Syntax sugar for function definitions. #let fill = conifer -#let rect(body) = rect(width: 2cm, fill: fill, pad(5pt, body)) +#let rect(body) = rect(width: 2cm, fill: fill, padding: 5pt, body) #rect[Hi!] --- diff --git a/tests/typ/code/target.typ b/tests/typ/code/target.typ index 12a5ff8b..73516817 100644 --- a/tests/typ/code/target.typ +++ b/tests/typ/code/target.typ @@ -7,6 +7,6 @@ #let d = 3 #let value = [hi] #let item(a, b) = a + b -#let fn(body) = rect(fill: conifer, pad(5pt, body)) +#let fn = rect with (fill: conifer, padding: 5pt) Some _includable_ text. -- cgit v1.2.3