Math

class Math(val expression: String, val referenceId: String? = null) : LocationTrackableNode, CrossReferenceableNode

A math (TeX) block.

A math block can be cross-referenced and can be numbered, as long as it has a referenceId.

Parameters

expression

expression content

referenceId

optional reference id for cross-referencing via a com.quarkdown.core.ast.quarkdown.reference.CrossReference

Constructors

Link copied to clipboard
constructor(expression: String, referenceId: String? = null)

Properties

Link copied to clipboard

Whether this node should be tracked in the document's hierarchy.

Link copied to clipboard
Link copied to clipboard
open override val referenceId: String? = null

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Retrieves the stored media associated with this node, if any.

Link copied to clipboard

Registers the location of this node within the document handled by context.

Link copied to clipboard

Registers the formatted location of this node within the document handled by context, according to this node's NumberingFormat.

Link copied to clipboard