Skip to content

MathNode

Namespace: Temml

public sealed class MathNode : MathDomNode

A MathML element, such as mo or mspace. Maps to MathNode.

Inheritance: object → MathDomNode

View source

MathNode(string, List<MathDomNode>?, List<string>?, DomPropertyMap?)

Section titled “MathNode(string, List<MathDomNode>?, List<string>?, DomPropertyMap?)”
public MathNode(string type, List<MathDomNode>? children = null, List<string>? classes = null, DomPropertyMap? style = null)

Initializes a new instance of the MathNode class. The lists and the style are used as they are, not copied, as in upstream.

Parameters

Name Type Description
type string
children List<MathDomNode>
classes List<string>
style DomPropertyMap

View source

public string Label { get; set; }

The label set by \label.

Value: string

View source

public override void SetAttribute(string name, string? value)

Sets an attribute.

Parameters

Name Type Description
name string
value string

View source

MIT · Copyright 2020 Ron Kok · unofficial community port of Temml