summaryrefslogtreecommitdiff
path: root/tests/typ/style
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-02-07 20:00:21 +0100
committerLaurenz <laurmaedje@gmail.com>2022-02-07 20:00:21 +0100
commit68503b9a07b00bce3f4d377bcfe945452de815ea (patch)
tree3719ef491b993c59b619ca215963000f4847e78f /tests/typ/style
parent9730e785a885a4ab5fcc52ce705298654f82f9c2 (diff)
Redesigned template layout
Diffstat (limited to 'tests/typ/style')
-rw-r--r--tests/typ/style/construct.typ2
-rw-r--r--tests/typ/style/set-site.typ3
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/typ/style/construct.typ b/tests/typ/style/construct.typ
index ab53d40f..65dcaf85 100644
--- a/tests/typ/style/construct.typ
+++ b/tests/typ/style/construct.typ
@@ -2,7 +2,7 @@
---
// Ensure that constructor styles aren't passed down the tree.
-#set par(spacing: 2pt)
+#set par(leading: 2pt)
#list(
body-indent: 20pt,
[First],
diff --git a/tests/typ/style/set-site.typ b/tests/typ/style/set-site.typ
index b5464aeb..20d35f04 100644
--- a/tests/typ/style/set-site.typ
+++ b/tests/typ/style/set-site.typ
@@ -8,7 +8,6 @@ Hello *{x}*
---
// Test that lists are affected by correct indents.
-#set par(spacing: 4pt)
#let fruit = [
- Apple
- Orange
@@ -23,7 +22,7 @@ Hello *{x}*
---
// Test that that par spacing and text style are respected from
// the outside, but the more specific fill is respected.
-#set par(spacing: 4pt)
+#set par(spacing: 0pt)
#set text(style: "italic", fill: eastern)
#let x = [And the forest #parbreak() lay silent!]
#text(fill: forest, x)