\mathchoice - provides content that is dependent on the current style (display, text, script, or scriptscript).
{ \mathchoice #1 #2 #3 #4 }
\mathchoice command is used to provide content that is dependent on the current style (display, text, script, or scriptscript); can be used in defining a macro for general use.
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. |
\mathchoice{D}{T}{S}{SS}