是可能的样式jqmath - 显示与另一种字体,在网页上 [英] Is it possible to style jqmath - display with another font, on webpages
问题描述
我以前使用mathjax在网站上生成数学。这是不可能的我的风格mathjax,这使设计可怕(网站有一种字体,而mathjax带有另一种字体(stix)。
I previously used mathjax to generate math on a website. It was not possible for me to style mathjax, which made the design awful (website had one font, and mathjax came with another font (stix).
是JQ Math好的替代方案?,并且可以对jqmath的输出进行风格匹配,以匹配我在网站上使用的字体。
Is JQ Math a good alternative?, and it is possible to style the output from jqmath to match the font that i use on the website?
推荐答案
在加载该文件后,只需使用普通的CSS覆盖jqmath-0.2.0.css中的任何规则,例如:
Just use normal CSS to override any rules in jqmath-0.2.0.css after loading that file, e.g.:
math, fmath, .fm-math, fmath mo, .fm-mo, .ma-sans-serif
{ font-family: McLaren, 'Cantora One', sans-serif }
查看如何在jqmath表中左对齐元素和 jqMath高亮框,如MathJax / MathJs中的bbox ,用于更多jqMath CSS示例和信息。
See How to left align elements in a jqmath table and jqMath highlight box like bbox in MathJax/MathJs for more jqMath CSS examples and information.
这篇关于是可能的样式jqmath - 显示与另一种字体,在网页上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!