Skip to content
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

\big delimiters in scripts are in normal size rather than script size in HTML-CSS output #350

Closed
dpvc opened this issue Nov 12, 2012 · 7 comments

Comments

Projects
None yet
2 participants
@dpvc
Copy link
Member

commented Nov 12, 2012

Stretchy delimiters created by \big (or \bigl, \bigr, or \bigm) all force scriptsize to 0. I think this was in order to make sure the heights were measured relative to the normal size, but I don't think this is necessary (or should be fixed if it is). The weight of the delimiters is too heavy for the script size the way it currently works.

See the StackExchange post that initiated this.

dpvc pushed a commit to dpvc/MathJax that referenced this issue Nov 27, 2012

Davide P. Cervone
Make \big and its relatives use script or scriptscript fonts (althoug…
…h size is still absolute, as it is in TeX) so that it balances the text weight in scripts. Resolves issue mathjax#350.
@dpvc

This comment has been minimized.

Copy link
Member Author

commented Nov 27, 2012

The issue350 branch of my fork of MathJax includes a fix for this.

@fred-wang

This comment has been minimized.

Copy link
Contributor

commented Jan 5, 2013

This change does not seem to be detected by the LaTeXToMathML tests. The relevant tests are

LaTeXToMathML/delimiters/big-1.html
LaTeXToMathML/delimiters/big-2.html
LaTeXToMathML/delimiters/big-3.html

but if I understand correctly, I need to write new tests where the operators are in scripts if I want to see the difference.

@fred-wang

This comment has been minimized.

Copy link
Contributor

commented Jan 28, 2013

 \(
  X^{\big( \bigl( a \bigm| b \bigr) \big)} 
  \)

I don't see the change in the MathML source but I see that the rendering is different.

@fred-wang

This comment has been minimized.

Copy link
Contributor

commented Feb 13, 2013

The changes look ok to me. Should I really write a reftest for this and do you have a suggestion?

@dpvc

This comment has been minimized.

Copy link
Member Author

commented Mar 24, 2013

I don't see the change in the MathML source but I see that the rendering is different.

The change is in the HTML-CSS output, not in the MathML itself.

Should I really write a reftest for this and do you have a suggestion?

I don't think that is necessary.

I will merge into develop unless you have objections.

@fred-wang

This comment has been minimized.

Copy link
Contributor

commented Mar 24, 2013

I will merge into develop unless you have objections.

I'm fine with that. But as I said elsewhere, I'd prefer just removing the code than commenting it out.

=> Do not write automated test

dpvc pushed a commit to dpvc/MathJax that referenced this issue Apr 1, 2013

@dpvc

This comment has been minimized.

Copy link
Member Author

commented Apr 1, 2013

OK, removed comments and merged.

@dpvc dpvc closed this May 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.