Skip to content

Commit 4b6c6ba

Browse files
committed
fix TeXForm for Integrate
1 parent 2aa530c commit 4b6c6ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mathics/builtin/calculus.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ class Integrate(SympyFunction):
369369
370370
Integration in TeX:
371371
>> Integrate[f[x], {x, a, b}] // TeXForm
372-
= \int_a^bf\left[x\right] \, dx
372+
= \int_a^b f\left[x\right] \, dx
373373
374374
#> DownValues[Integrate]
375375
= {}
@@ -437,12 +437,12 @@ class Integrate(SympyFunction):
437437
'Integrate[list_List, x_]': 'Integrate[#, x]& /@ list',
438438

439439
'MakeBoxes[Integrate[f_, x_], form:StandardForm|TraditionalForm]':
440-
r'''RowBox[{"\[Integral]", MakeBoxes[f, form], "\[InvisibleTimes]",
440+
r'''RowBox[{"\[Integral]","\[InvisibleTimes]", MakeBoxes[f, form], "\[InvisibleTimes]",
441441
RowBox[{"\[DifferentialD]", MakeBoxes[x, form]}]}]''',
442442
'MakeBoxes[Integrate[f_, {x_, a_, b_}], '
443443
'form:StandardForm|TraditionalForm]':
444444
r'''RowBox[{SubsuperscriptBox["\[Integral]", MakeBoxes[a, form],
445-
MakeBoxes[b, form]], MakeBoxes[f, form], "\[InvisibleTimes]",
445+
MakeBoxes[b, form]], "\[InvisibleTimes]" , MakeBoxes[f, form], "\[InvisibleTimes]",
446446
RowBox[{"\[DifferentialD]", MakeBoxes[x, form]}]}]''',
447447
}
448448

0 commit comments

Comments
 (0)