- LaTeX 命令参考
- LaTeX 教程首页
- A
- \above
- \abovewithdelims
- \acute
- \aleph
- \alpha
- \amalg
- \And
- \angle
- \approx
- \approxeq
- \arccos
- \arcsin
- \arctan
- \array
- \ast
- \asymp
- \atop
- \atopwithdelims
- B
- \backepsilon
- \backprime
- \backsim
- \backsimeq
- \backslash
- \bar
- \barwedge
- \Bbb
- \Bbbk
- \because
- \begin
- \beta
- \beth
- \between
- \bf
- \Bigg, \bigg, \Big, \big
- \bigcap
- \bigcirc
- \bigcup
- \bigodot
- \bigoplus
- \bigotimes
- \bigsqcup
- \bigstar
- \bigtriangledown
- \bigtriangleup
- \biguplus
- \bigvee
- \bigwedge
- \binom
- \blacklozenge
- \blacksquare
- \blacktriangle
- \blacktriangledown
- \blacktriangleleft
- \blacktriangleright
- \boldsymbol
- \bot
- \bowtie
- \Box
- \boxdot
- \boxed
- \boxminus
- \boxplus
- \boxtimes
- \brace
- \brack
- \breve
- \buildrel ... \over ...
- \bullet
- \Bumpeq
- \bumpeq
- C
- \cal
- \Cap
- \cap
- \cases
- \cdot
- \cdotp
- \cdots
- \centerdot
- \cfrac
- \check
- \checkmark
- \chi
- \choose
- \circ
- \circeq
- \circlearrowleft
- \circlearrowright
- \circledast
- \circledcirc
- \circleddash
- \circledR
- \circledS
- \class
- \clubsuit
- \colon
- \color
- \complement
- \cong
- \coprod
- \cos
- \cosh
- \cot
- \coth
- \csc
- \Cup
- \cup
- \curlyeqprec
- \curlyeqsucc
- \curlyvee
- \curlywedge
- \curvearrowleft
- \curvearrowright
- D
- \dagger
- \ddagger
- \daleth
- \dashleftarrow
- \dashrightarrow
- \dashv
- \dbinom
- \dot
- \ddot
- \dddot
- \ddddot
- \ddots
- \DeclareMathOperator
- \def
- \deg
- \Delta
- \delta
- \det
- \dfrac
- \diagdown
- \diagup
- \Diamond
- \diamond
- \diamondsuit
- \digamma
- \dim
- \displaylines
- \displaystyle
- \div
- \divideontimes
- \Doteq
- \doteq
- \dotplus
- \dots
- \dotsb
- \dotsc
- \dotsi
- \dotsm
- \dotso
- \doublebarwedge
- \doublecap
- \doublecup
- \downarrow
- \Downarrow
- \downdownarrows
- \downharpoonleft
- \downharpoonright
- E
- \ell
- \emptyset
- \enspace
- \epsilon
- \eqalign
- \eqalignno
- \eqcirc
- \eqsim
- \eqslantgtr
- \eqslantless
- \equiv
- \eta
- \eth
- \exists
- \exp
- G
- \Game
- \Gamma
- \gamma
- \gcd
- \ge
- \geq
- \geqq
- \geqslant
- \genfrac
- \gets
- \gg
- \ggg
- \gggtr
- \gimel
- \gtrapprox
- \gnapprox
- \gneq
- \gneqq
- \gvertneqq
- \gtrsim
- \gnsim
- \grave
- \gt
- \gtrdot
- \gtreqless
- \gtreqqless
- \gtrless
- H
- \hat
- \hbar
- \hbox
- \hdashline
- \hline
- \heartsuit
- \hfil
- \hom
- \hookleftarrow
- \hookrightarrow
- \hphantom
- \href
- \hskip
- \hslash
- \hspace
- \Huge
- huge
- I
- \idotsint
- \iff
- \iiiint
- \iiint
- \iint
- \int
- \intop
- \Im
- \imath
- \impliedby
- \implies
- \in
- \inf
- \infty
- \injlim
- \intercal
- \iota
- \it
- L
- \Lambda
- \lambda
- \land
- \langle
- \LARGE
- \Large
- \large
- \LaTeX
- \lbrace
- \lbrack
- \lceil
- \ldotp
- \ldots
- \le
- \leq
- \leqq
- \leqslant
- \leadsto
- \left
- \leftarrow
- \Leftarrow
- \leftarrowtail
- \leftharpoondown
- \leftharpoonup
- \leftleftarrows
- \leftrightarrow
- \Leftrightarrow
- \leftrightarrows
- \leftrightharpoons
- \leftrightsquigarrow
- \leftroot
- \leftthreetimes
- \lessapprox
- \lessdot
- \lesseqgtr
- \lesseqqgtr
- \lessgtr
- \lesssim
- \lfloor
- \lg
- \lgroup
- \lhd
- \lim
- \liminf
- \limits
- \limsup
- \ll
- \llap
- \llcorner
- \lrcorner
- \Lleftarrow
- \lll
- \llless
- \lmoustache
- \ln
- \lnapprox
- \lneq
- \lneqq
- \lnot
- \lnsim
- \log
- \longleftarrow
- \Longleftarrow
- \longrightarrow
- \Longrightarrow
- \longleftrightarrow
- \Longleftrightarrow
- \longmapsto
- \looparrowleft
- \looparrowright
- \lor
- \lower
- \lozenge
- \Lsh
- \lt
- \ltimes
- \lvert
- \lVert
- \lvertneqq
- M
- \maltese
- \mapsto
- \mathbb
- \mathbf
- \mathbin
- \mathcal
- \mathchoice
- \mathclose
- \mathfrak
- \mathinner
- \mathit
- \mathop
- \mathopen
- \mathord
- \mathpunct
- \mathrel
- \mathring
- \mathrm
- \mathscr
- \mathsf
- \mathstrut
- \mathtt
- \matrix
- \max
- \mbox
- \measuredangle
- \mho
- \mid
- \min
- \mit
- \mkern
- \mod
- \models
- \moveleft
- \moveright
- \mp
- \mskip
- \mspace
- \mu
- \multimap
- N
- \nabla
- \natural
- \ncong
- \ne
- \nearrow
- \neg
- \negthinspace e
- \negmedspace
- \negthickspace
- \neq
- \newcommand
- \newenvironment
- \nexists
- \ngeq
- \ngeqq
- \ngeqslant
- \ngtr
- \ni
- \nleftarrow
- \nLeftarrow
- \nleftrightarrow
- \nLeftrightarrow
- \nleq
- \nleqq
- \nleqslant
- \nless
- \nmid
- \nobreakspace
- \nolimits
- \normalsize
- \not
- \notin
- \nparallel
- \nprec
- \npreceq
- \nrightarrow
- \nRightarrow
- \nshortmid
- \nshortparallel
- \nsim
- \nsubseteq
- \nsubseteqq
- \nsucc
- \nsucceq
- \nsupseteq
- \nsupseteqq
- \ntriangleleft
- \ntrianglelefteq
- \ntriangleright
- \ntrianglerighteq
- \nu
- \nVDash
- \nVdash
- \nvDash
- \nvdash
- \nwarrow
- O
- \odot
- \ominus
- \oplus
- \oslash
- \otimes
- \oint
- \oldstyle
- \omega
- \Omega
- \omicron
- \operatorname
- \over
- \overbrace
- \overleftarrow
- \overrightarrow
- \overleftrightarrow
- \overline
- \overparen
- \overset
- \overwithdelims
- \owns
- P
- \parallel
- \partial
- \perp
- \phantom
- \phi
- \Phi
- \pi
- \Pi
- \pitchfork
- \pm
- \pmatrix
- \pmb
- \pmod
- \pod
- \Pr
- \prec
- \precapprox
- \precnapprox
- \preccurlyeq
- \preceq
- \precneqq
- \precsim
- \precnsim
- \prime
- \prod
- \projlim
- \propto
- \psi
- \Psi
- R
- \raise
- \rangle
- \rbrace
- \rbrack
- \rceil
- \Re
- \restriction
- \rfloor
- \rgroup
- \rhd
- \rho
- \right
- \rightarrow
- \Rightarrow
- \rightarrowtail
- \rightharpoondown
- \rightharpoonup
- \rightleftarrows
- \rightleftharpoons
- \rightrightarrows
- \rightsquigarrow
- \rightthreetimes
- \risingdotseq
- \rlap
- \rm
- \rmoustache
- \root ... \of
- \Rrightarrow
- \Rsh
- \rtimes
- \Rule
- \rvert
- \rVert
- S
- \S
- \scr
- \scriptscriptstyle
- \scriptsize
- \scriptstyle
- \searrow
- \sec
- \setminus
- \sf
- \sharp
- \shortmid
- \shortparallel
- \shoveleft
- \shoveright
- \sideset
- \sigma
- \Sigma
- \sim
- \simeq
- \sin
- \sinh
- \skew
- \small
- \smallfrown
- \smallint
- \smallsetminus
- \smallsmile
- \smile
- \space
- \Space
- \spadesuit
- \sphericalangle
- \sqcap
- \sqcup
- \sqrt
- \sqsubset
- \sqsupset
- \sqsubseteq
- \sqsupseteq
- \square
- \stackrel
- \star
- \strut
- \style
- \subset
- \Subset
- \subseteq
- \subsetneq
- \subseteqq
- \subsetneqq
- \substack
- \succ
- \succapprox
- \succnapprox
- \succcurlyeq
- \succeq
- \succneqq
- \succsim
- \succnsim
- \sum
- \sup
- ⊃
- Supset
- ⊇
- ⊋
- ⋧
- ⊋
- √
- ↙
- T
- \tag
- tan
- tanh
- τ
- \tbinom
- TeX
- \text
- \textbf
- \textit
- \textrm
- \textsf
- \texttt
- \textstyle
- \tfrac
- ∴
- θ
- Θ
- ≈
- ∼
- \thinspace
- ̃
- ×
- \tiny
- \Tiny
- →
- ⊤
- △
- ∇
- ◁
- ▷
- ≦
- ≧
- ≜
- \tt
- ←
- →
- V
- △
- ε
- Γ
- \varinjlim
- κ
- Λ
- \varlimsup
- \varliminf
- ∅
- Ω
- φ
- Φ
- ϖ
- Π
- \varprojlim
- ∝
- Ψ
- ϱ
- ς
- Σ
- ⊊
- ⊊
- ⊋
- ⊋
- ϑ
- Θ
- △
- vartriangleleft
- vartriangleright
- Υ
- Ξ
- \vcenter
- ⊢
- ⊩
- ⊨
- ⋮
- \vec
- ∨
- ∨
- ∣
- ∥
- \vphantom
- ⫫
- W
- ∧
- \widehat
- \widetilde
- ℘
- ≀
- Y
- ¥
- Z
- ζ
\mathchoice - TeX命令
mathchoice
\mathchoice - 提供取决于当前样式(显示、文本、脚本或脚本脚本)的内容。
摘要
{ \mathchoice #1 #2 #3 #4 }
描述
\mathchoice 命令用于提供取决于当前样式(显示、文本、脚本或脚本脚本)的内容;可用于定义供一般用途使用的宏。
选项
输入 | 描述 |
---|---|
#1 | 当 \mathchoice 出现在显示样式中时呈现。 |
#2 | 当 \mathchoice 出现在文本样式中时呈现。 |
#3 | 当 \mathchoice 出现在脚本样式中时呈现。 |
#4 | 当 \mathchoice 出现在脚本脚本样式中时呈现。 |
示例
\mathchoice{D}{T}{S}{SS}
$ \mathchoice{D}{T}{S}{SS} $
广告