📜  \ mathchoice-Tex命令

📅  最后修改于: 2020-10-14 04:13:18             🧑  作者: Mango


数学选择

\ mathchoice-提供依赖于当前样式(显示,文本,脚本或脚本)的内容。

概要

{ \mathchoice #1 #2 #3 #4 }

描述

\ mathchoice命令用于提供依赖于当前样式(显示,文本,脚本或脚本)的内容;可用于定义通用宏。

选项

Input Description
#1 rendered when the \mathchoice appears in display style.
#2 rendered when the \mathchoice appears in text style.
#3 rendered when the \mathchoice appears in script style.
#4 rendered when the \mathchoice appears in scriptscript style.

  1. \mathchoice{D}{T}{S}{SS}
    $ \ mathchoice {D} {T} {S} {SS} $

打印