-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rubi support is not good #250
Labels
enhancement
New feature or request
Comments
From now on I see two paths a. pay enough attention on implementation of and as a side branch
|
A workaround solution stripHoldBox[h_, f_] := With[{e = Extract[h, 1, HoldForm]},
MakeBoxes[e, f]
]
fatArrow = HTMLView["<div style=\"align-items: center;height: 1rem;margin-top: -2rem;position: absolute;font-size: 1.5rem;top: 0;bottom: 0;\">⟶</div>"];
RubiRule /: MakeBoxes[RubiRule[_, right_, left_, ___], f:StandardForm] := With[{fatArrow=fatArrow},
BoxBox[RowBox[{stripHoldBox[right, f], " ", MakeBoxes[fatArrow, f], " ", stripHoldBox[right, f]}], PaneBox[]]
]
RubiIntermediateResult /: MakeBoxes[RubiIntermediateResult[result_, u___], f:StandardForm] := With[{},
BoxBox[stripHoldBox[result, f], PaneBox[]]
] |
JerryI
added
enhancement
New feature or request
and removed
bug
Something isn't working
already planned
labels
Sep 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
it show the output messy.
To Reproduce
install the Rubi package https://rulebasedintegration.org/downloadRubi.html
and
Expected behavior
https://rulebasedintegration.org/usingRubi.html
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: