Forgot password
 Register account
View 1055|Reply 2

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

[Copy link]

414

Threads

1641

Posts

15

Reputation

Show all posts

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

673

Threads

110K

Posts

218

Reputation

Show all posts

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

414

Threads

1641

Posts

15

Reputation

Show all posts

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

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-19 21:48 GMT+8

Powered by Discuz!

Processed in 0.014634 seconds, 22 queries