miso
Copyright(C) 2016-2025 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Mathml

Description

Example usage:

xSquared :: View action
xSquared  =
    math_ []
        [ msup_ []
            [ mi_ [] [text "x"]
            , mn_ [] [text "2"]
            ]
        ]

More complex example in examples/mathml.

Synopsis

Elements

annotationXml_ :: [Attribute action] -> [View action] -> View action Source #

<annotation-xml>

Since: 1.9.0.0

annotation_ :: [Attribute action] -> [View action] -> View action Source #

<annotation>

Since: 1.9.0.0

math_ :: [Attribute action] -> [View action] -> View action Source #

<math>

Since: 1.9.0.0

merror_ :: [Attribute action] -> [View action] -> View action Source #

<merror>

Since: 1.9.0.0

mfrac_ :: [Attribute action] -> [View action] -> View action Source #

<mfrac>

Since: 1.9.0.0

mi_ :: [Attribute action] -> [View action] -> View action Source #

<mi>

Since: 1.9.0.0

mmultiscripts_ :: [Attribute action] -> [View action] -> View action Source #

<mmultiscripts>

Since: 1.9.0.0

mn_ :: [Attribute action] -> [View action] -> View action Source #

<mn>

Since: 1.9.0.0

mo_ :: [Attribute action] -> [View action] -> View action Source #

<mo>

Since: 1.9.0.0

mover_ :: [Attribute action] -> [View action] -> View action Source #

<mover>

Since: 1.9.0.0

mpadded_ :: [Attribute action] -> [View action] -> View action Source #

<mpadded>

Since: 1.9.0.0

mphantom_ :: [Attribute action] -> [View action] -> View action Source #

<mphantom>

Since: 1.9.0.0

mprescripts_ :: [Attribute action] -> [View action] -> View action Source #

<mprescripts>

Since: 1.9.0.0

mroot_ :: [Attribute action] -> [View action] -> View action Source #

<mroot>

Since: 1.9.0.0

mrow_ :: [Attribute action] -> [View action] -> View action Source #

<mrow>

Since: 1.9.0.0

ms_ :: [Attribute action] -> [View action] -> View action Source #

<ms>

Since: 1.9.0.0

mspace_ :: [Attribute action] -> [View action] -> View action Source #

<mspace>

Since: 1.9.0.0

msqrt_ :: [Attribute action] -> [View action] -> View action Source #

<msqrt>

Since: 1.9.0.0

mstyle_ :: [Attribute action] -> [View action] -> View action Source #

<mstyle>

Since: 1.9.0.0

msub_ :: [Attribute action] -> [View action] -> View action Source #

<msub>

Since: 1.9.0.0

msubsup_ :: [Attribute action] -> [View action] -> View action Source #

<msubsup>

Since: 1.9.0.0

msup_ :: [Attribute action] -> [View action] -> View action Source #

<msup>

Since: 1.9.0.0

mtable_ :: [Attribute action] -> [View action] -> View action Source #

<mtable>

Since: 1.9.0.0

mtd_ :: [Attribute action] -> [View action] -> View action Source #

<mtd>

Since: 1.9.0.0

mtext_ :: [Attribute action] -> [View action] -> View action Source #

<mtext>

Since: 1.9.0.0

mtr_ :: [Attribute action] -> [View action] -> View action Source #

<mtr>

Since: 1.9.0.0

munder_ :: [Attribute action] -> [View action] -> View action Source #

<munder>

Since: 1.9.0.0

munderover_ :: [Attribute action] -> [View action] -> View action Source #

<munderover>

Since: 1.9.0.0

nodeMathml :: MisoString -> [Attribute action] -> [View action] -> View action Source #

Low-level helper used to construct MATHML node in View. Most View helpers in this module are defined in terms of it.

semantics_ :: [Attribute action] -> [View action] -> View action Source #

<semantics>

Since: 1.9.0.0

Properties

accent_ :: Bool -> Attribute action Source #

Since: 1.9.0.0

accentunder_ :: Bool -> Attribute action Source #

Since: 1.9.0.0

columnalign_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

columnlines_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

columnspacing_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

columnspan_ :: Int -> Attribute action Source #

Since: 1.9.0.0

depth_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

dir_ :: MisoString -> Attribute action Source #

dir

Since: 1.9.0.0

display_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

fence_ :: Bool -> Attribute action Source #

Since: 1.9.0.0

frame_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

framespacing_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

height_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

href_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

id_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

linethickness_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

lspace_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

mathbackground_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

mathcolor_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

mathsize_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

mathvariant_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

maxsize_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

minsize_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

movablelimits_ :: Bool -> Attribute action Source #

Since: 1.9.0.0

notation_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

rowalign_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

rowlines_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

rowspacing_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

rowspan_ :: Int -> Attribute action Source #

Since: 1.9.0.0

rspace_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

scriptlevel_ :: Int -> Attribute action Source #

scriptlevel

Since: 1.9.0.0

separator_ :: Bool -> Attribute action Source #

Since: 1.9.0.0

stretchy_ :: Bool -> Attribute action Source #

Since: 1.9.0.0

symmetric_ :: Bool -> Attribute action Source #

Since: 1.9.0.0

voffset_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

width_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0

xmlns_ :: MisoString -> Attribute action Source #

Since: 1.9.0.0