1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
|
--- parse tree ---
[ Comment
, SoftBreak
, Equation
True
[ Code
"typ/math/attach-05.typ"
( line 2 , column 3 )
(FuncCall
(Ident (Identifier "sqrt"))
[ BlockArg
[ MAttach
(Just (MGroup Nothing Nothing [ MFrac (Text "1") (Text "2") ]))
(Just
(Code
"typ/math/attach-05.typ"
( line 2 , column 16 )
(Ident (Identifier "zeta"))))
(Text "a")
]
])
, Text ","
, Code
"typ/math/attach-05.typ"
( line 2 , column 23 )
(FuncCall
(Ident (Identifier "sqrt"))
[ BlockArg
[ MAttach
(Just
(Code
"typ/math/attach-05.typ"
( line 2 , column 30 )
(Ident (Identifier "alpha"))))
(Just (MGroup Nothing Nothing [ MFrac (Text "1") (Text "2") ]))
(Text "a")
]
])
, Text ","
, Code
"typ/math/attach-05.typ"
( line 2 , column 44 )
(FuncCall
(Ident (Identifier "sqrt"))
[ BlockArg
[ MAttach
(Just (MGroup Nothing Nothing [ MFrac (Text "1") (Text "2") ]))
(Just (MGroup Nothing Nothing [ MFrac (Text "3") (Text "4") ]))
(Text "a")
]
])
, HardBreak
, Code
"typ/math/attach-05.typ"
( line 3 , column 3 )
(FuncCall
(Ident (Identifier "sqrt"))
[ BlockArg
[ Code
"typ/math/attach-05.typ"
( line 3 , column 8 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg
(Identifier "tl") (Block (Content [ MFrac (Text "1") (Text "2") ]))
, KeyValArg
(Identifier "bl") (Block (Content [ MFrac (Text "3") (Text "4") ]))
])
]
])
, Text ","
, Code
"typ/math/attach-05.typ"
( line 4 , column 3 )
(FuncCall
(Ident (Identifier "sqrt"))
[ BlockArg
[ Code
"typ/math/attach-05.typ"
( line 4 , column 8 )
(FuncCall
(Ident (Identifier "attach"))
[ BlockArg [ Text "a" ]
, KeyValArg
(Identifier "tl") (Block (Content [ MFrac (Text "1") (Text "2") ]))
, KeyValArg
(Identifier "bl") (Block (Content [ MFrac (Text "3") (Text "4") ]))
, KeyValArg
(Identifier "tr") (Block (Content [ MFrac (Text "1") (Text "2") ]))
, KeyValArg
(Identifier "br") (Block (Content [ MFrac (Text "3") (Text "4") ]))
])
]
])
]
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
math.equation(block: true,
body: { math.sqrt(radicand: math.attach(b: math.frac(denom: text(body: [2]),
num: text(body: [1])),
base: text(body: [a]),
t: text(body: [ζ]))),
text(body: [,]),
math.sqrt(radicand: math.attach(b: text(body: [α]),
base: text(body: [a]),
t: math.frac(denom: text(body: [2]),
num: text(body: [1])))),
text(body: [,]),
math.sqrt(radicand: math.attach(b: math.frac(denom: text(body: [2]),
num: text(body: [1])),
base: text(body: [a]),
t: math.frac(denom: text(body: [4]),
num: text(body: [3])))),
linebreak(),
math.sqrt(radicand: math.attach(base: text(body: [a]),
bl: math.frac(denom: text(body: [4]),
num: text(body: [3])),
tl: math.frac(denom: text(body: [2]),
num: text(body: [1])))),
text(body: [,]),
math.sqrt(radicand: math.attach(base: text(body: [a]),
bl: math.frac(denom: text(body: [4]),
num: text(body: [3])),
br: math.frac(denom: text(body: [4]),
num: text(body: [3])),
tl: math.frac(denom: text(body: [2]),
num: text(body: [1])),
tr: math.frac(denom: text(body: [2]),
num: text(body: [1])))) },
numbering: none),
parbreak() })
|