\mathchoice - TeX命令
mathchoice
\mathchoice - 提供取决于当前样式(显示、文本、脚本或脚本脚本)的内容。
摘要
{ \mathchoice #1 #2 #3 #4 }
Explore our latest online courses and learn new skills at your own pace. Enroll and become a certified expert to boost your career.
描述
\mathchoice 命令用于提供取决于当前样式(显示、文本、脚本或脚本脚本)的内容;可用于定义供一般用途使用的宏。
选项
输入 | 描述 |
---|---|
#1 | 当 \mathchoice 出现在显示样式中时呈现。 |
#2 | 当 \mathchoice 出现在文本样式中时呈现。 |
#3 | 当 \mathchoice 出现在脚本样式中时呈现。 |
#4 | 当 \mathchoice 出现在脚本脚本样式中时呈现。 |
示例
\mathchoice{D}{T}{S}{SS}
T
广告