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

\overline at wrong height in chrome, invisible in safari #179

Closed
ghost opened this issue Nov 1, 2011 · 5 comments
Closed

\overline at wrong height in chrome, invisible in safari #179

ghost opened this issue Nov 1, 2011 · 5 comments

Comments

@ghost
Copy link

ghost commented Nov 1, 2011

(Apologize in advance if I'm posting in the wrong place, but I think this is a different issue than #140, which also involves overline.)

I have been working with MathJax and have a browser problem to report with the LateX \overline macro. I have a webpage which makes use of this, and it renders fine in firefox, renders but not at the proper height in chrome, and is completely invisible in safari. I searched on overline and no one else seems to have reported this. I also note that this is the case (as described above for each of the browsers) for \sqrt, which (perhaps?) invokes \overline.

@dpvc
Copy link
Member

dpvc commented Nov 1, 2011

Can you point us to a URL for the page in question? I'm wondering if there is an interaction with the page's CSS. You are correct that this is different from issue #140.

Davide

@ghost
Copy link
Author

ghost commented Nov 1, 2011

Wow! what an impressively quick response.

mathisasport.com is a website I run for my algebra 1 and AP Calculus
students, as part of my research in cognitive science.

Login as p4student1@mathisasport.com with a password of "1" (this is just
a test account),

then click on the "Chapter 1: Pre-Algebra review link,"
go down to "types of numbers"
click on the practice link next to the "Intermediate - overline" listing.
It will bring up a sequence of problems ("Is -1 an integer?" "Is 1/3 a
whole number?" etc. The simplest way to go through the various questions is
to simply press return without entering an answer, then press continue when
it says you didn't enter anything.)

At any rate you will come to several problems that have sqrt in them or
repeating decimals (e.g. 1/3 is the same thing as .\overline{3} ). All of
these display properly in FF, with the overline bar too low in chrome, and
with no overline bar in safari.

Any help would be appreciated.

  • scott

W. Scott Stornetta, Ph.D.

On Tue, Nov 1, 2011 at 2:39 PM, dpvc <
reply@reply.github.com>wrote:

Can you point us to a URL for the page in question? I'm wondering if
there is an interaction with the page's CSS. You are correct that this is
different from issue #140.

Davide

Reply to this email directly or view it on GitHub:
#179 (comment)

@dpvc
Copy link
Member

dpvc commented Nov 1, 2011

OK, thanks. These pages work fine for me. I'm wondering if you are using OS X Lion (OS X 10.7)? This version comes with a copy of the STIX fonts, but it turns out that they don't work properly with the version of WebKit that comes with 10.7, and this causes problems for MathJax. Try using FontBook to disable the STIX fonts (you will need to disable all of them), and see if that improves the situation for you.

If that works, you can disable STIX fonts using the availableFonts array in the HTML-CSS block of your configuration.

If that doesn't work, I'll look further.

Davide

@ghost
Copy link
Author

ghost commented Nov 1, 2011

Thanks so much yet again. I am in fact using Lion. It is just as you
describe.

You have gone above and beyond, Davide, and I am not sure how to thank you
properly. I have just made a $10 donation in your honor at the MathJax
site. But my appreciation is greater than just the money.

  • Scott

On Tue, Nov 1, 2011 at 3:36 PM, dpvc <
reply@reply.github.com>wrote:

OK, thanks. These pages work fine for me. I'm wondering if you are using
OS X Lion (OS X 10.7)? This version comes with a copy of the STIX fonts,
but it turns out that they don't work properly with the version of WebKit
that comes with 10.7, and this causes problems for MathJax. Try using
FontBook to disable the STIX fonts (you will need to disable all of them),
and see if that improves the situation for you.

If that works, you can disable STIX fonts using the availableFonts array
in the HTML-CSS block of your configuration.

If that doesn't work, I'll look further.

Davide

Reply to this email directly or view it on GitHub:
#179 (comment)

@dpvc
Copy link
Member

dpvc commented Nov 1, 2011

Thanks for the donation to MathJax. We appreciate your support, and
I'm glad to have been able to help you out.

Best of luck with the site, and thanks again.

Davide

On Nov 1, 2011, at 4:02 PM, CommonCapital wrote:

Thanks so much yet again. I am in fact using Lion. It is just as you
describe.

You have gone above and beyond, Davide, and I am not sure how to
thank you
properly. I have just made a $10 donation in your honor at the
MathJax
site. But my appreciation is greater than just the money.

  • Scott

On Tue, Nov 1, 2011 at 3:36 PM, dpvc <
reply@reply.github.com>wrote:

OK, thanks. These pages work fine for me. I'm wondering if you
are using
OS X Lion (OS X 10.7)? This version comes with a copy of the STIX
fonts,
but it turns out that they don't work properly with the version of
WebKit
that comes with 10.7, and this causes problems for MathJax. Try
using
FontBook to disable the STIX fonts (you will need to disable all of
them),
and see if that improves the situation for you.

If that works, you can disable STIX fonts using the
availableFonts array
in the HTML-CSS block of your configuration.

If that doesn't work, I'll look further.

Davide

Reply to this email directly or view it on GitHub:
#179 (comment)

Reply to this email directly or view it on GitHub:
#179 (comment)

@dpvc dpvc closed this as completed Nov 1, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant