搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Different math symbol display (LaTeX) depending on color settings

  • 2 回覆
  • 0 有這個問題
  • 5 次檢視
  • 最近回覆由 profzano

more options

Goog morning,

                        I would like to point out the following issue. I have with Firefox 109.0.1 on Linux Kubuntu 22.04 a display problem on the page

https://www.lmfdb.org/NumberField/2.0.4.1

Right at the bottom is some "LaTeX code" text which is displayed in two different ways:

1) If I leave the default settings for the colors it is "p ≢3 (mod 4)"

2) If, as in my case, I set the background color as gray (to have less brightness "shot" on the eyes) and I tell Firefox to use the personal settings "always" instead it is "p ≡ 3 (mod 4) "

Note that, selecting the LaTeX text and copying it somewhere else, I get $p\not\equiv 3\pmod 4$, so the "negation bar" is actually present: I don't understand the reason of this behavior and how to manage it.

Thank you in advance, best regards.

Alberto Zanoni

Goog morning, I would like to point out the following issue. I have with Firefox 109.0.1 on Linux Kubuntu 22.04 a display problem on the page https://www.lmfdb.org/NumberField/2.0.4.1 Right at the bottom is some "LaTeX code" text which is displayed in two different ways: 1) If I leave the default settings for the colors it is "p ≢3 (mod 4)" 2) If, as in my case, I set the background color as gray (to have less brightness "shot" on the eyes) and I tell Firefox to use the personal settings "always" instead it is "p ≡ 3 (mod 4) " Note that, selecting the LaTeX text and copying it somewhere else, I get $p\not\equiv 3\pmod 4$, so the "negation bar" is actually present: I don't understand the reason of this behavior and how to manage it. Thank you in advance, best regards. Alberto Zanoni

所有回覆 (2)

more options

It look like the katex-html code doesn't have the code to show the '/' on top of the equal '≡' (<span class="mrel">≡</span&gt) like is done with the katex-mathml code (<mo>≢</mo>). So if disabling the website code makes Firefox switch to the katex-html code then that can cause the '/' to get lost. I don't know whether the website generates both versions of the code or that otherwise something goes wrong here.

more options

Thank you very much. I reported your answer to the site managers, now I'll wait for an answer of theirs. There is therefore nothing I can do with (or set in) my browser in order to solve the problem, isn't it?