Text Direction

The direction of writing.

Syntax

A hyphen - followed by the greater-than sign > for the rightward arrow, or a hyphen - preceded by the less-than sign < for the leftward arrow, enclosed within the dollar-sign wrapper $…$.

Overview

NotationSimplified ASTPaper Output
$->$WritingConv{direction: LineFlow(LeftToRight), …}→

Examples

NotationPaper Output
$->$ abc /
abc
$<-$ 𐭠𐭡𐭢 /
𐭠𐭡𐭢

EpiDoc Outputs

NotationEpiDoc (XML)
$->$ abc /
<ab>
    <lb style="text-direction:l-to-r"/> abc</ab>
$<-$ 𐭠𐭡𐭢 /
<ab>
    <lb style="text-direction:r-to-l"/> 𐭠𐭡𐭢</ab>

Structural Analysis (Conceptual AST)

NotationAST
$->$ abc /
WritingConv(→)
WS
Plain("abc")
LineBreak
$<-$ 𐭠𐭡𐭢 /
WritingConv(←)
WS
Plain("𐭠𐭡𐭢")
LineBreak