- Tex Commands Reference
- Tex - Tutorial Home
\mathchoice - Tex Command
mathchoice
\mathchoice - provides content that is dependent on the current style (display, text, script, or scriptscript).
SYNOPSIS
{ \mathchoice #1 #2 #3 #4 }
DESCRIPTION
\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.
OPTIONS
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. |
EXAMPLE
\mathchoice{D}{T}{S}{SS}
$ \mathchoice{D}{T}{S}{SS} $
Advertisements