这是我的 JS 部分
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
displayAlign: "center",
extensions: ["tex2jax.js"],
menuSettings: {
zoom: "Click",
CTRL: false,
ALT: false,
CMD: false,
Shift: false,
zscale: "250%",
font: "Auto",
context: "MathJax",
mpContext: false,
mpMouse: false,
texHints: true
},
TeX: {
Macros: {
RR: '{\\bf R}',
bold: ['{\\bf #1}', 1]
}
},
errorSettings: {
message: ["[", ["MathProcessingError", "Math Processing Error"], "]"],
style: {
color: "#CC0000",
"font-style": "italic"
}
},
jax: ["input/TeX", "output/SVG"],
tex2jax: {
inlineMath: [
['$', '$'],
['\\(', '\\)']
],
displayMath: [
['$$', '$$'],
['\\[', '\\]']
],
preview: ["[math]"],
processEscapes: true
},
"SVG": {
blacker: 10,
font: "TeX",
scale: 100,
},
MathMenu: {
delay: 150,
helpURL: "http://www.mathjax.org/help-v2/user/",
showRenderer: true,
showMathPlayer: true,
showFontMenu: true,
showContext: false,
showDiscoverable: true,
}
});
</script>
正如你所看到的,我已经把那部分放在那里了特克斯和宏以及\bf。这是我的显示文本
<p>
Nachr. {\bf 28} (1964), 1--43.
</p>
但它不会用 \bf 解析该部分。当然,当我在文本中包含其他乳胶部分时,它会毫无问题地进行转换,只是将 \bf 转换为特定输出时会出现问题。
有啥帮助吗?谢谢