-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
padding excess in bussproofs #3251
Comments
The problem is less aggravated for CHTML, since CHTML above screenshots. In the below screenshot it is seen that |
As with your examples in #3240, the bounding box for the proof table is not being computed properly. The right-hand edge is not far enough right, so that is why the table extends past the right of the page, and the left-hand edge is too far left. It took me a while to figure out what was going on, but I have created a PR that should resolve the problem in the next release. Unfortunately, the function that needs adjustment calls on other functions that are not exported from the Sorry I can't give you an easier patch. |
Compute proper left and right adjustments for bussproof tables. (mathjax/MathJax#3251)
Issue Summary
I am using Math Jax 3 with bussproofs. The problem
is observable for example in the Chrome browser.
Positioning of the SVG box follows an algorithm, which
makes it hard to see a full proof:
Steps to Reproduce:
beginning of the HTML document:
end of the HTML document:
JavaScript call when the plain content has been rendered:
Create an example with a lot of branching:
When the window is normal size, the proof gets cropped:
Enlarging the window adds some padding:
Technical details:
See intro and steps.
Supporting information:
The issue was also observed here:
#3240
But in the above issue some Unicode problems were discovered.
But the example here is completely free of Unicode. Also the example
here doesn't use any Labels, only the Centering commands of bussproofs.
The text was updated successfully, but these errors were encountered: