Skip to content

Enabling Summation Subscript Equations #133

Open
@emily0622

Description

@emily0622

The summation is unable to parse a group containing more than a single argument in the subscript.

Error Examples
1)
latex: \sum_{n,m} k_{n,m}
["Sum",["Subscript","k",["Delimiter",["Sequence","n","m"],"','"]],["Error",["ErrorCode","'incompatible-domain'","Symbols","Undefined"],["Delimiter",["Sequence","n","m"],"','"]]]

latex: \sum_{n \in N}K_n
["Sum","K_n",["Error",["ErrorCode","'incompatible-domain'","Symbols","Undefined"],["Element","n","N"]]]

Would like the parser to insert the mathjson of the equation in place of the subscript/superscript.

Proposed Solution to Examples Above
1)
["Sum",["Subscript","k",["Delimiter",["Sequence","n","m"],"','"]],["Hold",["Delimiter",["Sequence","n","m"],"','"]]]
2)
["Sum","K_n",["Hold",["Element","n","N"]]]

Metadata

Metadata

Assignees

Labels

featureNew feature or enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions