Adding x value as argument for derivative objects.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
82e6d2ffe3
commit
00ab895b21
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ class LatexAPI extends Module {
|
||||||
if(args.length === 3)
|
if(args.length === 3)
|
||||||
return `\\frac{d${args[0].removeEnclosure().replaceAll(args[1].removeEnclosure(), "x")}}{dx}`
|
return `\\frac{d${args[0].removeEnclosure().replaceAll(args[1].removeEnclosure(), "x")}}{dx}`
|
||||||
else
|
else
|
||||||
return `\\frac{d${args[0]}}{dx}(x)`
|
return `\\frac{d${args[0]}}{dx}(${args[1]})`
|
||||||
case "integral":
|
case "integral":
|
||||||
if(args.length === 4)
|
if(args.length === 4)
|
||||||
return `\\int\\limits_{${args[0]}}^{${args[1]}}${args[2].removeEnclosure()} d${args[3].removeEnclosure()}`
|
return `\\int\\limits_{${args[0]}}^{${args[1]}}${args[2].removeEnclosure()} d${args[3].removeEnclosure()}`
|
||||||
|
|
Loading…
Reference in a new issue