搜尋 Mozilla 技術支援網站

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

了解更多

Too much space above and below MathML equation (especially with latin modern font)

  • 2 回覆
  • 2 有這個問題
  • 7 次檢視
  • 最近回覆由 Daniel

more options

When I try for example the MathML Torture Test ( https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/MathML_Torture_Test ) the formulas have way to much space below and above the equation/the symbols (see attachement). This is annoying if for example in wikipedia the mode is set to MathML. I use a linux machine with an installed TeXLive distribution. I also tried a different (IMHO not so good looking) font like Asana and STIX. Here the space is much more "reader friendly" but still uses more than they should. The problem occurs in a new firefox profile (-> does not depend on not default settings or add-ons). I tested it on my home (manjaro) and office pc (ubuntu LTE, TexLive is installed) both running firefox 48. I tried to google the problem but could not find any clue.

When I try for example the MathML Torture Test ( https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/MathML_Torture_Test ) the formulas have way to much space below and above the equation/the symbols (see attachement). This is annoying if for example in wikipedia the mode is set to MathML. I use a linux machine with an installed TeXLive distribution. I also tried a different (IMHO not so good looking) font like Asana and STIX. Here the space is much more "reader friendly" but still uses more than they should. The problem occurs in a new firefox profile (-> does not depend on not default settings or add-ons). I tested it on my home (manjaro) and office pc (ubuntu LTE, TexLive is installed) both running firefox 48. I tried to google the problem but could not find any clue.
附加的畫面擷圖

由 Daniel 於 修改

被選擇的解決方法

Fortunately it works as it should now... somehow. I removed the mathjax package (with all the woff font files) and added the MathML-fonts FF add-on. My natively installed latin modern fonts are not recognized(, yet). What I've done so for: complete system update/-grade on my private machine. That brought me the newest version of texlive (2016).

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

Fortunately it works as it should now... somehow. I removed the mathjax package (with all the woff font files) and added the MathML-fonts FF add-on. My natively installed latin modern fonts are not recognized(, yet). What I've done so for: complete system update/-grade on my private machine. That brought me the newest version of texlive (2016).

由 Daniel 於 修改

more options

(now I found the edit an answer functionality)

由 Daniel 於 修改