Symbols in LaTeX

来源:互联网 发布:dota2赌博软件 编辑:程序博客网 时间:2024/03/29 22:36

Operators

±  \pm   \mp ×  \times
÷  \div   \cdot   \ast
  \star   \dagger   \ddagger
⨿  \amalg   \cap   \cup
  \uplus   \sqcap   \sqcup
  \vee   \wedge   \oplus
  \ominus   \otimes   \circ
  \bullet   \diamond   \lhd
  \rhd   \unlhd Unrhd.gif \unrhd
  \oslash   \odot   \bigcirc
  \triangleleft   \Diamond   \bigtriangleup
  \bigtriangledown   \Box   \triangleright
  \setminus   \wr x     \sqrt{x}
x    x^{\circ}   \triangledown x   n   \sqrt[n]{x}
a x   a^x a xyz   a^{xyz}

Relations

Symbol

Command

Symbol

Command

Symbol

Command

  \le   \ge   \neq
  \sim   \ll   \gg
  \doteq   \simeq   \subset
  \supset   \approx   \asymp
  \subseteq   \supseteq   \cong
  \smile   \sqsubset   \sqsupset
  \equiv   \frown   \sqsubseteq
  \sqsupseteq   \propto   \bowtie
  \in   \ni   \prec
  \succ   \vdash   \dashv
  \preceq   \succeq   \models
  \perp   \parallel   \gg
  \mid   \bumpeq   \ll

Negations of many of these relations can be formed by just putting \not before the symbol, or by slipping an n between the \ and the word. Here are a few examples, plus a few other negations; it works for many of the others as well.

Symbol

Command

Symbol

Command

Symbol

Command

  \nmid   \nleq   \ngeq
  \nsim   \ncong   \nparallel
  \not<   \not>   \not=
  \not\le   \not\ge   \not\sim
≉  \not\approx   \not\cong ≢  \not\equiv
  \not\parallel   \nless   \ngtr
  \lneq   \gneq   \lnsim
  \lneqq   \gneqq

To use other relations not listed here, such as =, >, and <, in LaTeX, you may just use the symbols on your keyboard.

Greek Letters

Lowercase Letters

Symbol

Command

Symbol

Command

Symbol

Command

Symbol

Command

α  \alpha β  \beta γ  \gamma δ  \delta
ϵ  \epsilon ε  \varepsilon ζ  \zeta η  \eta
θ  \theta ϑ  \vartheta ι  \iota κ  \kappa
λ  \lambda μ  \mu ν  \nu ξ  \xi
π  \pi ϖ  \varpi ρ  \rho ϱ  \varrho
σ  \sigma ς  \varsigma τ  \tau υ  \upsilon
ϕ  \phi φ  \varphi χ  \chi ψ  \psi
ω  \omega

Capital Letters

Symbol

Command

Symbol

Command

Symbol

Command

Symbol

Command

Γ  \Gamma Δ  \Delta Θ  \Theta Λ  \Lambda
Ξ  \Xi Π  \Pi Σ  \Sigma Υ  \Upsilon
Φ  \Phi Ψ  \Psi Ω  \Omega

Headline text

Arrows

Symbol

Command

Symbol

Command

  \gets   \to
  \leftarrow   \Leftarrow
  \rightarrow   \Rightarrow
  \leftrightarrow   \Leftrightarrow
  \mapsto   \hookleftarrow
  \leftharpoonup   \leftharpoondown
  \rightleftharpoons   \longleftarrow
  \Longleftarrow   \longrightarrow
  \Longrightarrow   \longleftrightarrow
  \Longleftrightarrow   \longmapsto
  \hookrightarrow   \rightharpoonup
  \rightharpoondown   \leadsto
  \uparrow   \Uparrow
  \downarrow   \Downarrow
  \updownarrow   \Updownarrow
  \nearrow   \searrow
  \swarrow   \nwarrow

(For those of you who hate typing long strings of letters, \iff and \implies can be used in place of \Longleftrightarrow and \Longrightarrow respectively.)

Dots

Symbol

Command

Symbol

Command

Symbol

Command

Symbol

Command

  \dots
  \cdots
  \ddots
\iddots  \iddots

x ^   \hat{x} x ˇ   \check{x} x ˙   \dot{x}
x ˘   \breve{x} x ´   \acute{x} x ¨   \ddot{x}
x `   \grave{x} x ~   \tilde{x} x °   \mathring{x}
x ¯   \bar{x} x    \vec{x}

When applying accents to i and j, you can use \imath and \jmath to keep the dots from interfering with the accents:

ȷ    \vec{\jmath} ı ~   \tilde{\imath}

\tilde and \hat have wide versions that allow you to accent an expression:

Symbol

Command

Symbol

Command

3+x ˆ   \widehat{3+x} abc ˜   \widetilde{abc}

Others

Symbol

Command

Symbol

Command

Symbol

Command

  \infty   \triangle   \angle
  \aleph   \hbar ı  \imath
ȷ  \jmath   \ell   \wp
R  \Re I  \Im   \mho
  \prime   \emptyset   \nabla
  \surd   \partial   \top
  \bot   \vdash   \dashv
  \forall   \exists ¬  \neg
  \flat   \natural   \sharp
  \backslash   \Box   \Diamond
  \clubsuit   \diamondsuit   \heartsuit
Spadesuit.gif \spadesuit   \Join   \blacksquare
§  \S \P  \P \copyright  \copyright
\pounds  \pounds \overarcABC  \overarc{ABC}(it works) \underarcXYZ  \underarc{XYZ}(it works)
  \bigstar
  \square
R  \mathbb{R}(all real numbers)
  \checkmark $

Command Symbols

Some symbols are used in commands so they need to be treated in a special way.

Symbol

Command

Symbol

Command

Symbol

Command

Symbol

Command

\textdollar  \textdollar &amp;amp;amp;amp;amp;  \& %  \% #  #
_  _ {  { }  }   \backslash

(Warning: Using for \textdollarwillresultin .Thisisabugasfarasweknow.Dependingontheversionof \LaTeX$ this is not always a problem.)

European Language Symbols

Symbol

Command

Symbol

Command

Symbol

Command

Symbol

Command

\oe  {\oe} \ae  {\ae} \o  {\o}
\OE  {\OE} \AE  {\AE} \AA  {\AA} \O  {\O}
\l  {\l} \ss  {\ss} $\text{!}$ !
\L  {\L} \SS  {\SS}

Bracketing Symbols

In mathematics, sometimes we need to enclose expressions in brackets or braces or parentheses. Some of these work just as you’d imagine in LaTeX; type ( and ) for parentheses, [ and ] for brackets, and | and | for absolute value. However, other symbols have special commands:

Symbol

Command

Symbol

Command

Symbol

Command

{  { }  }   |
  \backslash   \lfloor   \rfloor
  \lceil   \rceil   \langle
  \rangle

You might notice that if you use any of these to typeset an expression that is vertically large, like
(\frac{a}{x} )^2
the parentheses don’t come out the right size:
(ax ) 2  
If we put \left and \right before the relevant parentheses, we get a prettier expression:
\left(\frac{a}{x} \right)^2
gives
(ax ) 2  
\left and \right can also be used to resize the following symbols:

Symbol

Command

Symbol

Command

Symbol

Command

  \uparrow   \downarrow   \updownarrow
  \Uparrow   \Downarrow   \Updownarrow

Multi-Size Symbols

Some symbols render differently in inline math mode and in display mode. Display mode occurs when you use […] or

... 
, or environments like
... 
,
...  
. Read more in the commands section of the guide about how symbols which take arguments above and below the symbols, such as a summation symbol, behave in the two modes.

In each of the following, the two images show the symbol in display mode, then in inline mode.

Symbol

Command

Symbol

Command

Symbol

Command

  \sum   \int   \oint
  \prod   \coprod   \bigcap
  \bigcup   \bigsqcup   \bigvee
  \bigwedge   \bigodot   \bigotimes
  \bigoplus   \biguplus

0 0