diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-10-17 09:28:06 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-10-17 09:28:06 +0200 |
| commit | 9a1d57a11a510b8e6af024b4338ee58d791f3088 (patch) | |
| tree | 5f28224b68b69c3db1365f75613b85798da0b1f7 /tests | |
| parent | e87a34a4d0bf967427e2443f9f48026d09ccd5db (diff) | |
Implement context-modifying align 🧩
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/layouts/align.typ | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/layouts/align.typ b/tests/layouts/align.typ index 7a512f47..f13a2010 100644 --- a/tests/layouts/align.typ +++ b/tests/layouts/align.typ @@ -1,8 +1,25 @@ {size:150pt*208pt} +// Without newline in between [align: left][Left: {lorem:20}] [align: right][Right: {lorem:20}] +// With newline in between [align: center][Center: {lorem:80}] [align: left][Left: {lorem:20}] + +// Context-modifying align +[align: right] + +New Right: {lorem:30} + +[align: left][Inside Left: {lorem:10}] + +Right Again: {lorem:10} + +// Reset context-modifier +[align: left] + +// All in one line +{lorem:25} [align: right][{lorem:50}] {lorem:15} |
