Attributes: {
    comment?: string;
    documentation?: string;
    latex?: string;
    openmathCd?: string;
    openmathSymbol?: string;
    sourceContent?: string;
    sourceOffsets?: [start: number, end: number];
    sourceUrl?: string;
    wikibase?: string;
    wikidata?: string;
}

Type declaration

  • Optionalcomment?: string

    A human readable string to annotate this expression, since JSON does not allow comments in its encoding

  • Optionaldocumentation?: string

    A Markdown-encoded string providing documentation about this expression.

  • Optionallatex?: string

    A visual representation of this expression as a LaTeX string.

    This can be useful to preserve non-semantic details, for example parentheses in an expression or styling attributes.

  • OptionalopenmathCd?: string

    A base URL for an OpenMath content dictionary. This key applies to this node and all its children.

    The default value is "http://www.openmath.org/cd".

  • OptionalopenmathSymbol?: string

    A short string indicating an entry in an OpenMath Content Dictionary.

    For example: arith1/#abs.

  • OptionalsourceContent?: string

    The source code from which this expression was generated.

    It could be a LaTeX expression, or some other source language.

  • OptionalsourceOffsets?: [start: number, end: number]

    A character offset in sourceContent or sourceUrl from which this expression was generated.

  • OptionalsourceUrl?: string

    A URL to the source code from which this expression was generated.

  • Optionalwikibase?: string

    A base URL for the wikidata key.

    A full URL can be produced by concatenating this key with the wikidata key. This key applies to this node and all its children.

    The default value is "https://www.wikidata.org/wiki/"

  • Optionalwikidata?: string

    A short string referencing an entry in a wikibase.

    For example:

    "Q167" is the wikidata entry for the Pi constant.