summaryrefslogtreecommitdiff
path: root/tests/typ/layout
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-10 23:23:50 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-10 23:36:36 +0200
commit34fa8df044f1491069c9ae69f1c1e73d635c8955 (patch)
tree30b9144690f55f0343a1fdbfcac6c9238c617077 /tests/typ/layout
parent29eb13ca6214461a4b0deb63d589cd39ad6d41c2 (diff)
Move language-related properties from `par` to `text`
Closes #67
Diffstat (limited to 'tests/typ/layout')
-rw-r--r--tests/typ/layout/align.typ4
-rw-r--r--tests/typ/layout/columns.typ3
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/typ/layout/align.typ b/tests/typ/layout/align.typ
index f0603b46..753683de 100644
--- a/tests/typ/layout/align.typ
+++ b/tests/typ/layout/align.typ
@@ -25,11 +25,11 @@
// Test start and end alignment.
#rotate(-30deg, origin: end + horizon)[Hello]
-#set par(lang: "de")
+#set text(lang: "de")
#align(start)[Start]
#align(end)[Ende]
-#set par(lang: "ar")
+#set text(lang: "ar")
#align(start)[يبدأ]
#align(end)[نهاية]
diff --git a/tests/typ/layout/columns.typ b/tests/typ/layout/columns.typ
index 0a585868..ce291fb2 100644
--- a/tests/typ/layout/columns.typ
+++ b/tests/typ/layout/columns.typ
@@ -3,9 +3,8 @@
---
// Test normal operation and RTL directions.
#set page(height: 3.25cm, width: 7.05cm, columns: 2)
+#set text(lang: "ar", "Noto Sans Arabic", "IBM Plex Serif")
#set columns(gutter: 30pt)
-#set text("Noto Sans Arabic", "IBM Plex Serif")
-#set par(lang: "ar")
#rect(fill: conifer, height: 8pt, width: 6pt) وتحفيز
العديد من التفاعلات الكيميائية. (DNA) من أهم الأحماض النووية التي تُشكِّل