【问题标题】:Is it possible to style jqmath - display with another font, on webpages是否可以设置 jqmath 样式 - 在网页上使用另一种字体显示
【发布时间】:2023-03-13 15:30:02
【问题描述】:

我之前使用 mathjax 在网站上生成数学。我无法设置 mathjax 的样式,这使得设计很糟糕(网站有一种字体,而 mathjax 有另一种字体(stix)。

JQ Math 是一个不错的选择吗?是否可以设置 jqmath 输出的样式以匹配我在网站上使用的字体?

【问题讨论】:

    标签: javascript css fonts google-webfonts jqmath


    【解决方案1】:

    加载该文件后,只需使用普通 CSS 覆盖 jqmath-0.2.0.css 中的任何规则,例如:

    math, fmath, .fm-math, fmath mo, .fm-mo, .ma-sans-serif
        { font-family: McLaren, 'Cantora One', sans-serif }
    

    有关更多 jqMath CSS 示例和信息,请参阅 How to left align elements in a jqmath tablejqMath highlight box like bbox in MathJax/MathJs

    【讨论】:

      猜你喜欢
      • 2022-01-15
      • 2015-10-15
      • 2010-09-16
      • 2016-04-08
      • 1970-01-01
      • 1970-01-01
      • 2018-08-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多