Forgot password
 Register account
View 621|Reply 3

[MathJax] AMSCD箭头不会拉伸以适合标签

[Copy link]

3211

Threads

7832

Posts

52

Reputation

Show all posts

hbghlyj posted 2021-9-11 15:07 |Read mode
Last edited by hbghlyj 2023-5-17 11:11这个例子取自官方文档AMSCD
用MathJax渲染:
\begin{CD}A @>>> B@>\text{very long label}>>C\\@VVV @VVV @VVV\\D @>>> E@>>> F\end{CD}
Guide to commutative diagram packages中的图片:
2109111511dde04cd48655c0a9.png

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2021-9-11 21:33
mathjax 的问题,等它完善吧……

PS、在 KaTeX 里测试那段代码没问题,不过这里已经不用 KaTeX 了……

Comment

但是 MathJax 支持 extarrows \xlongrightarrow,所以它可以支持拉伸箭头  posted 2023-5-17 18:13

3211

Threads

7832

Posts

52

Reputation

Show all posts

original poster hbghlyj posted 2023-5-17 17:30

Fix by hand

kuing 发表于 2021-9-11 14:33
mathjax 的问题,等它完善吧……
修改MathML
<mo minsize="2.75em"> $\Rightarrow$ <mo minsize="4.5em">
Screenshot 2023-05-17 at 10-28-20 MathJax.png
ncatlab 图表原来使用 MathML 最近改成 SVG 了, 估计是因为 MathML 效果不好

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 05:50 GMT+8

Powered by Discuz!

Processed in 0.036270 seconds, 27 queries