These functions generate special objects representing directions in Typst.
They can be used as arguments in functions like stack().
Format
An object of class typst_direction (inherits from typst_expression) of length 1.
An object of class typst_direction (inherits from typst_expression) of length 1.
An object of class typst_direction (inherits from typst_expression) of length 1.
An object of class typst_direction (inherits from typst_expression) of length 1.
Examples
ltr
#> [1] "ltr"
#> attr(,"class")
#> [1] "typst_direction" "typst_expression"
rtl
#> [1] "rtl"
#> attr(,"class")
#> [1] "typst_direction" "typst_expression"
ttb
#> [1] "ttb"
#> attr(,"class")
#> [1] "typst_direction" "typst_expression"
btt
#> [1] "btt"
#> attr(,"class")
#> [1] "typst_direction" "typst_expression"