You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to directly get the TeXForm of every step? #34
Yep, this is exactly what I implemented RubiPrintInformation -> False for so that people can create their own functions for displaying integration steps.
I made a PR (pull-request#44) for this thread. Modifications were made to the suggestions above, and I do hope this is not offensive to the original contributors.
Activity
asukaminato0721 commentedon May 9, 2020
After some test, this is a half-done job:
asukaminato0721 commentedon May 9, 2020
OK, I've done it.(I don't deal with the situations that Rubi failed to calculate the int)
This function returns a string.
Usage:
Or
And then choose and copy to clipboard.
Maybe I will make a pr for this function in the future.
halirutan commentedon May 9, 2020
Yep, this is exactly what I implemented
RubiPrintInformation -> Falsefor so that people can create their own functions for displaying integration steps.asukaminato0721 commentedon May 10, 2020
I make it better:
Now we can use it just like
Integrateasdasd1dsadsa commentedon May 11, 2020
By the way, I modified it to be another display function which doesn't use
TeXFormbutTraditionalForm:asukaminato0721 commentedon May 11, 2020
Actually your don't need to
HoldAll, because theIntegratedoesn't have that.Without
HoldAll, you can write things likeIntTraditional[list[[1]],x]. Or you should useIntTraditional[ Evaluate@list[[1]],x]asukaminato0721 commentedon May 11, 2020
Wow, amazing, After running your code, the effort is so nice! Thx.
Maybe it's because of this line?
Subst /: MakeBoxes[HoldPattern@Subst[expr_,src_,tar_], TraditionalForm] := RowBox@{UnderscriptBox[StyleBox["Subs", FontSize -> Medium], RowBox[{MakeBoxes[src, TraditionalForm], "\[Rule]", MakeBoxes[tar, TraditionalForm]}]], MakeBoxes[expr, TraditionalForm]}asdasd1dsadsa commentedon May 11, 2020
Yes,
Convert`TeX`ExpressionToTeXMakeBoxeswithTraditionalFormat first, so this definition for display affects the TeX output.Rubi steps in TeX form
Add additional steps format and auto-highlights
Gravifer commentedon Feb 10, 2021
I made a PR (pull-request#44) for this thread. Modifications were made to the suggestions above, and I do hope this is not offensive to the original contributors.