diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/layout/align.png | bin | 2388 -> 7832 bytes | |||
| -rw-r--r-- | tests/typ/layout/align.typ | 13 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/ref/layout/align.png b/tests/ref/layout/align.png Binary files differindex 77619b32..5dde0cef 100644 --- a/tests/ref/layout/align.png +++ b/tests/ref/layout/align.png diff --git a/tests/typ/layout/align.typ b/tests/typ/layout/align.typ index 09c4dee5..f0603b46 100644 --- a/tests/typ/layout/align.typ +++ b/tests/typ/layout/align.typ @@ -14,6 +14,7 @@ )) --- +// Test that multiple paragraphs in subflow also respect alignment. #align(center)[ Lorem Ipsum @@ -21,6 +22,18 @@ ] --- +// Test start and end alignment. +#rotate(-30deg, origin: end + horizon)[Hello] + +#set par(lang: "de") +#align(start)[Start] +#align(end)[Ende] + +#set par(lang: "ar") +#align(start)[يبدأ] +#align(end)[نهاية] + +--- // Ref: false #test(type(center), "alignment") #test(type(horizon), "alignment") |
