Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Text Direction

The direction of writing, essential for retrograde (right-to-left) or boustrophedon (alternating) inscriptions.

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

NotationConceptual ASTPaper Output
$->$Direction(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 /
Direction(→)
WS
Plain("abc")
LineBreak
$<-$ 𐭠𐭡𐭢 /
Direction(←)
WS
Plain("𐭠𐭡𐭢")
LineBreak