-
-
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
Parentheses are not displayed correctly #3237
Comments
The output is correct for your MathML. Remember that a parenthesis with stretch to the size of the largest item in the <msup>
<mrow>
<msub>
<mrow>
<mo>(</mo>
<mtext>a</mtext>
</mrow>
<mrow>
<mn>11</mn>
</mrow>
</msub>
<mo>)</mo>
</mrow>
<mrow>
<mtext>n</mtext>
</mrow>
</msup> Note that the open and close parentheses are not at the same nesting level. The open parenthesis is inside an <msup>
<mrow>
<mo>(</mo>
<msub>
<mrow>
<mtext>a</mtext>
</mrow>
<mrow>
<mn>11</mn>
</mrow>
</msub>
<mo>)</mo>
</mrow>
<mrow>
<mtext>n</mtext>
</mrow>
</msup> This will guarantee they both stretch to the same size. It is also more semantically correct. Your original indicates that the The change I suggest above will make both parentheses stretch to cover the subscripted |
PS, this is essentially the same issue you have had at least three times before, where you don't seem to understand the MathML rules for stretchy characters. I encourage you to view the MathML specification to familiarize yourself with those rules. I am going to stop writing detailed answers for these, and simply refer you to my previous ones and the specification in the future. |
Oh yes I understand and my apologies also thank you very much |
Hello good time
![Screenshot from 2024-06-02 11-35-05](https://private-user-images.githubusercontent.com/10929451/335848989-94fb3edd-7b54-4932-bbff-e1d1f0280a54.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1MTUzMTYsIm5iZiI6MTcyNTUxNTAxNiwicGF0aCI6Ii8xMDkyOTQ1MS8zMzU4NDg5ODktOTRmYjNlZGQtN2I1NC00OTMyLWJiZmYtZTFkMWYwMjgwYTU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA1VDA1NDMzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI3Mzg4M2FlMDkwOTZlMGZjYzdkZWNmMWY5ZTM0NTRiZmUzZGI3NzIyMTE0ZWU2ZGJkODJiNTViYWE3YjMwMWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tT25hiw1UuQlb0xI2ihnToWreHXu9T9AXnXpGrrK3FY)
I have a problem in displaying Parentheses,
As you can see in the picture, the second parenthesis has extended itself, but the first parenthesis has not done so. What can I do so that the second parenthesis does not extend, and if there is no way for it, the first parenthesis should be the same size as the second parenthesis.
using mathjax: mathjax-4.0.0-beta.4 , mml-chtml.js
settings:
mml code:
The text was updated successfully, but these errors were encountered: