Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我改变了 HTML/CSS 颜色输出使用
MathJax.Hub.Config({ styles: { ".MathJax": { color: "#fff" } } });
我还反转了基于 png 的输出(通过反转每个图像):
find ./fonts/HTML-CSS/TeX/png -name "*.png" -exec convert {} -negate {} \;
现在我一直在想办法用白色而不是默认的黑色填充 SVG 字形。有什么建议么?
谢谢。
尝试
MathJax.Hub.Config({ styles: { ".MathJax_SVG svg > g, .MathJax_SVG_Display svg > g": { fill: "#FFF", stroke: "#FFF" } } });
使 SVG 输出为白色。