An annotation is an equation phrase ('annotation') which is laid out relative
to another equation phrase ('content'). For example:
AAAA
AAAA
CCCCCCCC
CCCCCCCC
CCCCCCCC
CCCCCCCC
The options for defining how to annotate one equation phrase with another is
EQN_Annotation
Content can also be annotated with a glyph (that itself may also be
annotated). The glyph can either encompass the content, or can be to the
top, bottom, left or right of the content
This function is used internally by almost all equation functions
(except for fraction) for their layout. As such, it is very generic and
powerful. It should also almost never neeed to be used as most layouts
can be achieved with a different functions that will have more succinct
code that is more readable.
This is provided so all layout corner cases not covered by the functions
above are possible - including with custom glyphs.
Equation annotation
An annotation is an equation phrase ('annotation') which is laid out relative to another equation phrase ('content'). For example:
AAAA AAAA CCCCCCCC CCCCCCCC CCCCCCCC CCCCCCCCThe options for defining how to annotate one equation phrase with another is EQN_Annotation
Content can also be annotated with a glyph (that itself may also be annotated). The glyph can either encompass the content, or can be to the top, bottom, left or right of the content
Top Glyph GGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGG Encompassing Glyph / / GGG GGGGGGGGGGGGGGGGGGGGGGG GGG GGG GGG GGG GGG GGG GGG CCCCCCC GGG GGG Left GGG GGG CCCCCCC GGG GGG Right Glyph GGG GGG CCCCCCC GGG GGG Glyph GGG GGG GGG GGG GGG GGGGGGGGGGGGGGGGGGGGGGG GGG GGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGG Bottom GlyphThis function is used internally by almost all equation functions (except for fraction) for their layout. As such, it is very generic and powerful. It should also almost never neeed to be used as most layouts can be achieved with a different functions that will have more succinct code that is more readable.
This is provided so all layout corner cases not covered by the functions above are possible - including with custom glyphs.
Options can only be an object.
See
To test examples, append them to the boilerplate
Example