Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Vectors not rendering properly

  1. Oct 3, 2016 #1

    Orodruin

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Gold Member

    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?
     
  2. jcsd
  3. Oct 3, 2016 #2

    DrClaude

    User Avatar

    Staff: Mentor

    Looks fine to me. Here's a screen grab of what you wrote:

    vectors.jpg

    (Mac OS 10.11.6, Firefox 49.0)
     
  4. Oct 3, 2016 #3

    Orodruin

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Gold Member

    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: Oct 3, 2016
  5. Oct 3, 2016 #4

    DrClaude

    User Avatar

    Staff: Mentor

    Indeed. I get the same problem as you do in Safari.
     
  6. Oct 3, 2016 #5

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    I can confirm this as well. Renders fine in Firefox (two different computers), but with the same spacing problem in Safari/602.1 (mobile).
     
  7. Oct 3, 2016 #6
    I'll send to the devs, thanks!
     
  8. Oct 3, 2016 #7
    They need a Safari and OSX version
     
  9. Oct 3, 2016 #8

    Orodruin

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Gold Member

    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.
     
  10. Oct 3, 2016 #9

    Orodruin

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Gold Member

    Apparently Mobile Safari 10.
     
  11. Oct 3, 2016 #10

    DrClaude

    User Avatar

    Staff: Mentor

    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).
     
  12. Oct 3, 2016 #11
    Thanks, I'm going to put this into Feedback so they can see the example.
     
  13. Oct 3, 2016 #12

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

  14. Oct 4, 2016 #13
  15. Oct 4, 2016 #14

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    Looks good there. Thanks for the quick feedback.
     
  16. Oct 4, 2016 #15
    Thanks for taking the time to take a look, @mfb!
     
  17. Oct 14, 2016 #16
    MathJax 2.7 is out. Might take a day to refresh the cache.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Vectors not rendering properly
  1. Rendering LaTeX (Replies: 2)

  2. Latex rendering (Replies: 9)

Loading...