Skip to content

Commit 9c63ddb

Browse files
committed
fixed #13
1 parent 1ee8887 commit 9c63ddb

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/compute-engine/latex-syntax/dictionary/definitions-arithmetic.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,10 @@ export const DEFINITIONS_ARITHMETIC: LatexDictionary = [
800800
latexTrigger: ['\\infty'],
801801
parse: 'PositiveInfinity',
802802
},
803+
{
804+
latexTrigger: ['\\infin'],
805+
parse: 'PositiveInfinity',
806+
},
803807
{
804808
name: 'PositiveInfinity',
805809
serialize: (serializer) => serializer.options.positiveInfinity,

test/compute-engine/latex-syntax/stefnotch.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,7 @@ describe('STEFNOTCH #13', () => {
194194
["ForAll", "n", ["LessEqual", "a_n", "c_n", "b_n"]],
195195
[
196196
"Equal",
197-
[
198-
"Limit",
199-
["Function", "c_n", "n"],
200-
["Error", "unexpected-command", ["LatexString", "\\infin"]]
201-
],
197+
["Limit", ["Function", "c_n", "n"], "PositiveInfinity"],
202198
"a"
203199
]
204200
]

0 commit comments

Comments
 (0)