Vectors not rendering properly

  • Thread starter Thread starter Orodruin
  • Start date Start date
Orodruin
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Gold Member
2025 Award
Messages
22,827
Reaction score
14,869
I have noticed for quite some time that vector arrows specified using the TeX command \vec result in a much larger white space after the symbol than it should, eg, ##\vec v_i \cdot \vec w##. It is a bit bad for readability and looks quite ugly. Can this be fixed?
 
Physics news on Phys.org
Looks fine to me. Here's a screen grab of what you wrote:

vectors.jpg


(Mac OS 10.11.6, Firefox 49.0)
 
DrClaude said:
Looks fine to me. Here's a screen grab of what you wrote:

View attachment 106865

(Mac OS 10.11.6, Firefox 49.0)
So it is browser based. I get this
vectorerror.png
in Safari, both on my Mac OS 10.11.6 (Safari 9.1.2) and on IOS 10.0.2.

Edit: Looks fine in Chrome 53.0.2785.116.

Edit II: Of course, I can solve this by using Chrome on PF, but I do not think may people will use something different from Safari to browse PF on their iPhones ...
 
Last edited:
Orodruin said:
So it is browser based.
Indeed. I get the same problem as you do in Safari.
 
I can confirm this as well. Renders fine in Firefox (two different computers), but with the same spacing problem in Safari/602.1 (mobile).
 
Greg Bernhardt said:
They need a Safari and OSX version
Orodruin said:
both on my Mac OS 10.11.6 (Safari 9.1.2) and on IOS 10.0.2
By Mac OS 10.11.6 I mean OSX 10.11.6. I don't know how to get the Safari version on the iOS, but I suspect it is updated along with iOS.
 
  • Like
Likes   Reactions: Greg Bernhardt
Apparently Mobile Safari 10.
 
  • #10
I'm on my iPad now, and I see that I get the same problem in Firefox 5.3 (iOS 10.0.2). Note the bug is not present in Firefox on Mac OS X 10 (as mentioned above).
 
  • #11
Thanks, I'm going to put this into Feedback so they can see the example.
 
  • #13
Hi,

This issue should be fixed in the upcoming MathJax v2.7 release (we're just wrapping up the public beta run).

You can try it out by pasting your TeX source on e.g., http://beta.mathjax.org/mathjax/latest/test/sample-dynamic-2.html.

Regards,
Peter from the MathJax team.
 
  • Like
Likes   Reactions: Greg Bernhardt, Ibix, mfb and 1 other person
  • #14
Looks good there. Thanks for the quick feedback.
 
  • #15
Thanks for taking the time to take a look, @mfb!
 
  • #16
MathJax 2.7 is out. Might take a day to refresh the cache.
 

Similar threads

Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
1K
Replies
2
Views
2K
  • · Replies 146 ·
5
Replies
146
Views
12K
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K