English 中文(简体)
Tex Commands Reference

Symbols

A

B

页: 1

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Selected Reading

mathchoice
  • 时间:2024-09-17

mathchoice - Tex Command


Previous Page Next Page  

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

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

EXAMPLE

    mathchoice{D}{T}{S}{SS}
    $ mathchoice{D}{T}{S}{SS} $

Advertisements