Forgot password?
 Register account
View 198|Reply 3

XyJax fails to draw dashed line

[Copy link]

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

hbghlyj Posted 2024-8-27 17:45 |Read mode
  1. \xymatrix{
  2. &\ar@{.}[d]\\
  3. 1&2
  4. }
Copy the Code
XyJax 報錯:`}' expected but `[' found. Parse error at or near "&\ar@{.}[d]\\"
在LaTeX中可以正常編譯: Screenshot 2024-08-27 at 18-19-31 run tex snippet.png

我在 stackoverflow.com/questions/78911216/ 發問,没有回復

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2024-8-27 17:50
Last edited by kuing 2024-8-27 17:57去掉花括号可以显示
  1. \xymatrix{
  2. &\ar@.[d]\\
  3. 1&2
  4. }
Copy the Code
$
\xymatrix{
&\ar@.[d]\\
1&2
}
$

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2024-8-27 18:42
hbghlyj 发表于 2024-8-27 18:18
去掉花括号 会多出箭头吧

原代码在LaTeX中的结果没有箭头
哦不好意思,我没仔细看你的问题。

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

 Author| hbghlyj Posted 2024-8-30 01:42
昨天这个帖子收到了 1 条评论,说我应该联系代码作者,
但我查看了 Github repo,作者似乎很少回复之前XyJax用户提出的问题,所以我想只能自己想办法了😣

Mobile version|Discuz Math Forum

2025-6-5 01:38 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit