MathParagraph class

MathParagraph class

Mathematical paragraph that is a container for mathematical blocks (IMathBlock)

The MathParagraph type exposes the following members:

Constructors

ConstructorDescription
__init__Initializes a new instance of the MathParagraph class.
__init__Initializes a new instance of the MathParagraph class.

Properties

PropertyDescription
justificationParagraph Justification
Default value: CenteredAsGroup
countGets the number of elements actually contained in the collection.
Read-only int.

Gets the item at the specified index. Read-only IMathBlock.

Indexer

NameDescription
[index]The zero-based index of the item to get

Methods

MethodDescription
clearRemoves all elements from the collection.
addAdds IMathBlock to the end of collection.
removeRemoves the first occurrence of a specific object from the collection/>.
containsDetermines whether the collection contains a specific value.
index_ofDetermines the index of a specific IMathBlock in collection.
insertInserts IMathBlock into the collection at the specified index.
remove_atRemoves an item at the specified index of the collection.
write_as_math_mlSaves content of this MathParagraph as MathML
to_latexGets mathematical equation in LaTeX format

See Also