Forgot password?
 Register account
View 1048|Reply 2

自定义长的等价符号,怎么把上下注释也弄出来?

[Copy link]

411

Threads

1619

Posts

110K

Credits

Credits
11813

Show all posts

abababa Posted 2020-8-5 20:43 |Read mode
如题,我想用xLongleftrightarrow自定义一个长的等价符号:
  1. \newcommand{\myiff}[1]{\xLongleftrightarrow[]{#1}}
Copy the Code
但这样只有上方的注释能用,xLongleftrightarrow里提供的方括号里的下方注释就用不了了,然后我还想,下方注释用的很少,能不能也像xLongleftrightarrow那样做成可选参数,平时不用,用的时候再加上。

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2020-8-5 21:00
???那直接 \newcommand{\myiff}{\xLongleftrightarrow} 不就得了?

411

Threads

1619

Posts

110K

Credits

Credits
11813

Show all posts

 Author| abababa Posted 2020-8-5 21:07
回复 2# kuing
会了,原来这么简单,唉,还在想怎么弄可选参数呢。

Mobile version|Discuz Math Forum

2025-6-4 17:08 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit