2
$\begingroup$

The code \left[ \dfrac 1 2 \right] displays correctly inline as $\left[ \dfrac 1 2 \right]$ and correctly in display mode as $$\left[ \dfrac 1 2 \right] .$$

The code \left[ \tfrac 1 2 \right] displays incorrectly inline as $\left[ \tfrac 1 2 \right]$ and incorrectly in display mode as $$\left[ \tfrac 1 2 \right] .$$

The code \left[ \frac 1 2 \right] displays incorrectly inline as $\left[ \frac 1 2 \right]$ and correctly in display mode as $$\left[ \frac 1 2 \right] .$$

When I say "incorrectly", I mean that I what see is $\lfloor \dots \rfloor$ ("floor" function brackets) instead of square brackets.

Does this happen only locally, on my computer? Do things render the same for you? Even though I don't like external links, clicking here will display a screen capture of this page as displayed on my computer, hosted under SE account of ImgUr.

$\endgroup$
  • 8
    $\begingroup$ I see square brackets everywhere $\endgroup$ – Surb Jan 23 '16 at 10:51
  • $\begingroup$ I don't see it. Do you happen to have a high-DPI screen? There was a similar issue with \sqrt, the line was less than 1px high and so wasn't displayed on a high-DPI screen. I guess the same thing happens here. When you zoom in and out does the appearance change? $\endgroup$ – Najib Idrissi Jan 23 '16 at 10:51
  • $\begingroup$ Try setting the zoom to 99% or 101% and see if that fixes the problem. (Right click, Math Settings, Scale all math) $\endgroup$ – Asaf Karagila Jan 23 '16 at 10:53
  • $\begingroup$ @NajibIdrissi: I don't have a high-DPI screen. It displays correctly if I zoom in and out at the page level (i.e. using browser commands, not MathJax commands). $\endgroup$ – Alex M. Jan 23 '16 at 11:05
  • $\begingroup$ @AsafKaragila: 99% and 101% don't solve the problem, but it seems that everything $\le 95 \%$ or $\ge 108 \%$ solves it. $\endgroup$ – Alex M. Jan 23 '16 at 11:06
  • $\begingroup$ I'm saying, because I had a similar issue once. $\endgroup$ – Asaf Karagila Jan 23 '16 at 11:17
  • $\begingroup$ @alex M. Could you add a screenshot as well as browser and OS version. Also, the info in MathJax's About panel (via the MathJax menu) would help. $\endgroup$ – Peter Krautzberger Jan 23 '16 at 11:38
  • $\begingroup$ @PeterKrautzberger: The screenshot is included as a link at the very end of my post. The OS is Windows XP SP3 (with the all the latest patches). The browser is the latest stable Firefox, 43.0.4. $\endgroup$ – Alex M. Jan 23 '16 at 11:49
  • $\begingroup$ @PeterKrautzberger: About MathJax says: MathJax.js v2.6.0 TeX Input Jax v2.6.0 HTML-CSS Output Jax v2.6.0 PreviewHTML Output Jax v2.6.0 mml Element Jax v2.6.0 AssistiveMML Extension v2.6.0 MathEvents Extension v2.6.0 MathMenu Extension v2.6.0 MathZoom Extension v2.6.0 TeX/AMSmath Extension v2.6.0 TeX/AMSsymbols Extension v2.6.0 TeX/noErrors Extension v2.6.0 TeX/noUndefined Extension v2.6.0 fast-preview Extension v2.6.0 tex2jax Extension v2.6.0 Firefox v43.0 — woff or otf fonts $\endgroup$ – Alex M. Jan 23 '16 at 11:49
  • $\begingroup$ Thanks for the follow up (and sorry I missed the screenshot earlier). I will try to reproduce it; it might be a duplicate of github.com/mathjax/MathJax/issues/1009. $\endgroup$ – Peter Krautzberger Jan 23 '16 at 12:41
  • $\begingroup$ You might want to switch to the CommonHTML output in the mean time. $\endgroup$ – Peter Krautzberger Jan 23 '16 at 12:41
  • $\begingroup$ @Peter: That explains why displayed integral signs looked a bit weird to me recently. $\endgroup$ – Asaf Karagila Jan 23 '16 at 12:48
  • 1
    $\begingroup$ @Asaf try the CommonHTML output. It's faster and shouldn't have the issue. $\endgroup$ – Peter Krautzberger Jan 23 '16 at 12:51
  • $\begingroup$ @Peter: Not sure about faster (not slower, though, that's for sure), but it did solve that problem. $\endgroup$ – Asaf Karagila Jan 23 '16 at 13:07
  • 2
    $\begingroup$ @PeterKrautzberger, I think it is not issue 1009, but rather this issue and this one, which has been seen several times in the past. $\endgroup$ – Davide Cervone Jan 23 '16 at 18:24

You must log in to answer this question.

Browse other questions tagged .