File: math-in-text.test

package info (click to toggle)
haskell-texmath 0.12.8.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 31,344 kB
  • sloc: haskell: 12,645; makefile: 29
file content (21 lines) | stat: -rw-r--r-- 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<<< tex
X^2 = y \text{ under $H_0$ except when $x \textbf{ is less than \(z\).}$}

>>> native
[ ESuper (EIdentifier "X") (ENumber "2")
, ESymbol Rel "="
, EIdentifier "y"
, EGrouped
    [ EText TextNormal " under "
    , ESub (EIdentifier "H") (ENumber "0")
    , EText TextNormal " except when "
    , EGrouped
        [ EIdentifier "x"
        , EGrouped
            [ EText TextBold " is less than "
            , EIdentifier "z"
            , EText TextBold "."
            ]
        ]
    ]
]