What is the baseline height when using Safari for latex formatting on an iPad?

  • Context: LaTeX 
  • Thread starter Thread starter Frabjous
  • Start date Start date
  • Tags Tags
    Format Latex
Click For Summary

Discussion Overview

The discussion revolves around the vertical offset observed in LaTeX formatting, specifically the square root notation, when viewed in Safari on an iPad. Participants explore whether this issue is specific to certain devices or browsers, and consider potential causes such as font rendering and browser engines.

Discussion Character

  • Debate/contested
  • Technical explanation

Main Points Raised

  • One participant notes a slight vertical offset in the LaTeX expression \(\sqrt{ab}\) when viewed in Safari on an iPad.
  • Another participant claims they do not see the offset, suggesting it may be an isolated issue.
  • A different participant confirms the offset is visible on Safari on an iPad and inquires about the device/browser used for a screenshot that did not show the issue.
  • One participant reports seeing the same offset in Firefox on an iPhone.
  • Another participant observes the offset in Safari on a 2019 iMac running the latest version of MacOS.
  • One participant mentions that the display is fine in Firefox on Android.
  • There is speculation that the issue may be related to Apple environments or specifically to WebKit, which is used by Safari on iOS devices.
  • One participant proposes that the offset might be a font issue.
  • Another participant conducts an informal experiment with longer LaTeX expressions to see if the baseline height varies with different letters.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether the vertical offset is a universal issue or specific to certain devices or browsers. Multiple competing views remain regarding the cause of the observed offset.

Contextual Notes

The discussion highlights potential dependencies on specific devices, browser versions, and rendering engines, but does not resolve the underlying causes of the observed offset.

Frabjous
Gold Member
Messages
1,963
Reaction score
2,410
Using safari on an ipad \sqrt{ab} has a slight vertical offset between a and b.
##\sqrt{ab}##
Is it me?
 
Physics news on Phys.org
Looks fine to me...

1693704742595.png
 
Safari on an iPad here and I see that slight vertical offset. @berkeman what device/browser did you take your screenshot (which does not have this oddity) on?
 
I also see it with Firefox on iPhone
1693717135922.png
 
I see the same offset in the first post in this thread, in Safari on a 2019 iMac, under the latest version of MacOS (16.5.1).
 
Looks fine in Firefox on Android.
 
Nugatory said:
@berkeman what device/browser did you take your screenshot (which does not have this oddity) on?
Firefox on Win10 laptop.
 
So this seems as if this may be an apple environment thing?
 
Maybe a font issue.
 
  • #10
Nugatory said:
So this seems as if this may be an apple environment thing?
It's a WebKit thing. Safari on all platforms and all browsers on iOS devices render using WebKit.
 
  • #11
Let's see what happens if there are more than two letters: ##\sqrt{abcde}##

A rollercoaster! 😆

Does the baseline height really alternate, or is it associated with specific letters? ##\sqrt{abdce}##

Looks like the latter. Let's try the entire alphabet: ##\sqrt{abcdefghijklmnopqrstuvwxyz}##
 
  • Like
Likes   Reactions: vela

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K