Difference between revisions of "LaTeX:Symbols"
m (fixed error) |
|||
Line 12: | Line 12: | ||
<li> | <li> | ||
− | MathJax (what allows us to use <math\text{\LaTeX} | + | MathJax (what allows us to use <math\text{\LaTeX} on the web, (technically an AJAX library simulating it.)) maintains a [http://docs.mathjax.org/en/latest/tex.html#supported-latex-commands list of supported commands]. |
<br/><br/></li> | <br/><br/></li> | ||
Line 26: | Line 26: | ||
!Symbol!!Command!!Symbol!!Command!!Symbol!!Command | !Symbol!!Command!!Symbol!!Command!!Symbol!!Command | ||
|- | |- | ||
− | |< | + | |<math>\pm</math>||\pm||<math>\mp</math>||\mp||<math>\times</math>||\times |
|- | |- | ||
− | |< | + | |<math>\div</math>||\div||<math>\cdot</math>||\cdot||<math>\ast</math>||\ast |
|- | |- | ||
− | |< | + | |<math>\star</math>||\star||<math>\dagger</math>||\dagger||<math>\ddagger</math>||\ddagger |
|- | |- | ||
− | |< | + | |<math>\amalg</math>||\amalg||<math>\cap</math>||\cap||<math>\cup</math>||\cup |
|- | |- | ||
− | |< | + | |<math>\uplus</math>||\uplus||<math>\sqcap</math>||\sqcap||<math>\sqcup</math>||\sqcup |
|- | |- | ||
− | |< | + | |<math>\vee</math>||\vee||<math>\wedge</math>||\wedge||<math>\oplus</math>||\oplus |
|- | |- | ||
− | |< | + | |<math>\ominus</math>||\ominus||<math>\otimes</math>||\otimes||<math>\circ</math>||\circ |
|- | |- | ||
− | |< | + | |<math>\bullet</math>||\bullet||<math>\diamond</math>||\diamond||<math>\lhd</math>||\lhd |
|- | |- | ||
− | |< | + | |<math>\rhd</math>||\rhd||<math>\unlhd</math>||\unlhd||<math>\unrhd</math>||\unrhd |
|- | |- | ||
− | |< | + | |<math>\oslash</math>||\oslash||<math>\odot</math>||\odot||<math>\bigcirc</math>||\bigcirc |
|- | |- | ||
− | |< | + | |<math>\triangleleft</math>||\triangleleft||<math>\Diamond</math>||\Diamond||<math>\bigtriangleup</math>||\bigtriangleup |
|- | |- | ||
− | |< | + | |<math>\bigtriangledown</math>||\bigtriangledown||<math>\Box</math>||\Box||<math>\triangleright</math>||\triangleright |
|- | |- | ||
− | |< | + | |<math>\setminus</math>||\setminus||<math>\wr</math>||\wr||<math>\sqrt{x}</math>||\sqrt{x} |
|- | |- | ||
− | |< | + | |<math>x^{\circ}</math>||x^{\circ}||<math>\triangledown</math>||\triangledown||<math>\sqrt[n]{x}</math>||\sqrt[n]{x} |
|- | |- | ||
− | |< | + | |<math>a^x</math>||a^x||<math>a^{xyz}</math>||a^{xyz}||<math>a_x</math>||a_x |
|} | |} | ||
Line 61: | Line 61: | ||
!Symbol !! Command !!Symbol !! Command!!Symbol !! Command | !Symbol !! Command !!Symbol !! Command!!Symbol !! Command | ||
|- | |- | ||
− | | < | + | | <math>\le</math>||\le||<math>\ge</math>||\ge||<math>\neq</math>||\neq |
|- | |- | ||
− | | < | + | | <math>\sim</math>||\sim||<math>\ll</math>||\ll||<math>\gg</math>||\gg |
|- | |- | ||
− | | < | + | | <math>\doteq</math>||\doteq||<math>\simeq</math>||\simeq||<math>\subset</math>||\subset |
|- | |- | ||
− | | < | + | | <math>\supset</math>||\supset||<math>\approx</math>||\approx||<math>\asymp</math>||\asymp |
|- | |- | ||
− | | < | + | | <math>\subseteq</math>||\subseteq||<math>\supseteq</math>||\supseteq||<math>\cong</math>||\cong |
|- | |- | ||
− | | < | + | | <math>\smile</math>||\smile||<math>\sqsubset</math>||\sqsubset||<math>\sqsupset</math>||\sqsupset |
|- | |- | ||
− | | < | + | | <math>\equiv</math>||\equiv||<math>\frown</math>||\frown||<math>\sqsubseteq</math>||\sqsubseteq |
|- | |- | ||
− | | < | + | | <math>\sqsupseteq</math>||\sqsupseteq||<math>\propto</math>||\propto||<math>\bowtie</math>||\bowtie |
|- | |- | ||
− | | < | + | | <math>\in</math>||\in||<math>\ni</math>||\ni||<math>\prec</math>||\prec |
|- | |- | ||
− | | < | + | | <math>\succ</math>||\succ||<math>\vdash</math>||\vdash||<math>\dashv</math>||\dashv |
|- | |- | ||
− | | < | + | | <math>\preceq</math>||\preceq||<math>\succeq</math>||\succeq||<math>\models</math>||\models |
|- | |- | ||
− | | < | + | | <math>\perp</math>||\perp||<math>\parallel</math>||\parallel|| |
|- | |- | ||
− | | < | + | | <math>\mid</math>||\mid||<math>\bumpeq</math>||\bumpeq|| |
|} | |} | ||
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 couple examples, plus many other negations; it works for many of the many others as well. | 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 couple examples, plus many other negations; it works for many of the many others as well. | ||
Line 92: | Line 92: | ||
!Symbol!!Command!!Symbol!!Command!!Symbol!!Command | !Symbol!!Command!!Symbol!!Command!!Symbol!!Command | ||
|- | |- | ||
− | |< | + | |<math>\nmid</math>||\nmid||<math>\nleq</math>||\nleq||<math>\ngeq</math>||\ngeq |
|- | |- | ||
− | | < | + | | <math>\nsim</math>||\nsim||<math>\ncong</math>||\ncong||<math>\nparallel</math>||\nparallel |
|- | |- | ||
− | | < | + | | <math>\not<</math>||\not<||<math>\not></math>||\not>||<math>\not=</math>||\not= or \neq |
|- | |- | ||
− | | < | + | | <math>\not\le</math>||\not\le||<math>\not\ge</math>||\not\ge||<math>\not\sim</math>||\not\sim |
|- | |- | ||
− | |< | + | |<math>\not \approx</math>||\not\approx||<math>\not\cong</math>||\not\cong||<math>\not\equiv</math>||\not\equiv |
|- | |- | ||
− | | < | + | | <math>\not\parallel</math>||\not\parallel||<math>\nless</math>||\nless||<math>\ngtr</math>||\ngtr |
|- | |- | ||
− | | < | + | | <math>\lneq</math>||\lneq||<math>\gneq</math>||\gneq||<math>\lnsim</math>||\lnsim |
|- | |- | ||
− | | < | + | | <math>\lneqq</math>||\lneqq||<math>\gneqq</math>||\gneqq |
|} | |} | ||
− | To use other relations not listed here, such as =, >, and <, in LaTeX, you must use the symbols on your keyboard, they are not available in < | + | To use other relations not listed here, such as =, >, and <, in LaTeX, you must use the symbols on your keyboard, they are not available in <math>\LaTeX</math>. |
==Greek Letters== | ==Greek Letters== | ||
Line 116: | Line 116: | ||
!Symbol!!Command!!Symbol!!Command!!Symbol!!Command!!Symbol!!Command | !Symbol!!Command!!Symbol!!Command!!Symbol!!Command!!Symbol!!Command | ||
|- | |- | ||
− | |< | + | |<math>\alpha</math>||\alpha||<math>\beta</math>||\beta||<math>\gamma</math>||\gamma||<math>\delta</math>||\delta |
|- | |- | ||
− | | < | + | | <math>\epsilon</math>||\epsilon||<math>\varepsilon</math>||\varepsilon||<math>\zeta</math>||\zeta||<math>\eta</math>||\eta |
|- | |- | ||
− | | < | + | | <math>\theta</math>||\theta||<math>\vartheta</math>||\vartheta||<math>\iota</math>||\iota||<math>\kappa</math>||\kappa |
|- | |- | ||
− | | < | + | | <math>\lambda</math>||\lambda||<math>\mu</math>||\mu||<math>\nu</math>||\nu||<math>\xi</math>||\xi |
|- | |- | ||
− | |< | + | |<math>\pi</math>||\pi||<math>\varpi</math>||\varpi||<math>\rho</math>||\rho||<math>\varrho</math>||\varrho |
|- | |- | ||
− | | < | + | | <math>\sigma</math>||\sigma||<math>\varsigma</math>||\varsigma||<math>\tau</math>||\tau||<math>\upsilon</math>||\upsilon |
|- | |- | ||
− | | < | + | | <math>\phi</math>||\phi||<math>\varphi</math>||\varphi||<math>\chi</math>||\chi||<math>\psi</math>||\psi |
|- | |- | ||
− | | < | + | | <math>\omega</math>||\omega |
|} | |} | ||
Line 138: | Line 138: | ||
!Symbol!!Command!!Symbol!!Command!!Symbol!!Command!!Symbol!!Command | !Symbol!!Command!!Symbol!!Command!!Symbol!!Command!!Symbol!!Command | ||
|- | |- | ||
− | |< | + | |<math>\Gamma</math>||\Gamma||<math>\Delta</math>||\Delta||<math>\Theta</math>||\Theta||<math>\Lambda</math>||\Lambda |
|- | |- | ||
− | | < | + | | <math>\Xi</math>||\Xi||<math>\Pi</math>||\Pi||<math>\Sigma</math>||\Sigma||<math>\Upsilon</math>||\Upsilon |
|- | |- | ||
− | | < | + | | <math>\Phi</math>||\Phi||<math>\Psi</math>||\Psi||<math>\Omega</math>||\Omega |
|} | |} | ||
Line 151: | Line 151: | ||
!Symbol !! Command!!Symbol !! Command | !Symbol !! Command!!Symbol !! Command | ||
|- | |- | ||
− | |< | + | |<math>\gets</math>||\gets||<math>\to</math>||\to |
|- | |- | ||
− | |< | + | |<math>\leftarrow</math>||\leftarrow||<math>\Leftarrow</math>||\Leftarrow |
|- | |- | ||
− | |< | + | |<math>\rightarrow</math>||\rightarrow||<math>\Rightarrow</math>||\Rightarrow |
|- | |- | ||
− | |< | + | |<math>\leftrightarrow</math>||\leftrightarrow||<math>\Leftrightarrow</math>||\Leftrightarrow |
|- | |- | ||
− | |< | + | |<math>\mapsto</math>||\mapsto||<math>\hookleftarrow</math>||\hookleftarrow |
|- | |- | ||
− | |< | + | |<math>\leftharpoonup</math>||\leftharpoonup||<math>\leftharpoondown</math>||\leftharpoondown |
|- | |- | ||
− | |< | + | |<math>\rightleftharpoons</math>||\rightleftharpoons||<math>\longleftarrow</math>||\longleftarrow |
|- | |- | ||
− | |< | + | |<math>\Longleftarrow</math>||\Longleftarrow||<math>\longrightarrow</math>||\longrightarrow |
|- | |- | ||
− | |< | + | |<math>\Longrightarrow</math>||\Longrightarrow||<math>\longleftrightarrow</math>||\longleftrightarrow |
|- | |- | ||
− | |< | + | |<math>\Longleftrightarrow</math>||\Longleftrightarrow||<math>\longmapsto</math>||\longmapsto |
|- | |- | ||
− | |< | + | |<math>\hookrightarrow</math>||\hookrightarrow||<math>\rightharpoonup</math>||\rightharpoonup |
|- | |- | ||
− | |< | + | |<math>\rightharpoondown</math>||\rightharpoondown||<math>\leadsto</math>||\leadsto |
|- | |- | ||
− | |< | + | |<math>\uparrow</math>||\uparrow||<math>\Uparrow</math>||\Uparrow |
|- | |- | ||
− | |< | + | |<math>\downarrow</math>||\downarrow||<math>\Downarrow</math>||\Downarrow |
|- | |- | ||
− | |< | + | |<math>\updownarrow</math>||\updownarrow||<math>\Updownarrow</math>||\Updownarrow |
|- | |- | ||
− | |< | + | |<math>\nearrow</math>||\nearrow||<math>\searrow</math>||\searrow |
|- | |- | ||
− | |< | + | |<math>\swarrow</math>||\swarrow||<math>\nwarrow</math>||\nwarrow |
|- | |- | ||
− | |< | + | |<math>\overrightarrow</math>||\overrightarrow||<math>\overleftarrow</math>||\overleftarrow |
|- | |- | ||
− | |< | + | |<math>\overleftrightarrow</math>||\overleftrightarrow|| || |
|} | |} | ||
(For those of you who hate typing long strings of letters, \iff and \implies can be used in place of \Longleftrightarrow and \Longrightarrow respectively.) | (For those of you who hate typing long strings of letters, \iff and \implies can be used in place of \Longleftrightarrow and \Longrightarrow respectively.) | ||
Line 195: | Line 195: | ||
!Symbol!!Command!!Symbol!!Command!! | !Symbol!!Command!!Symbol!!Command!! | ||
|- | |- | ||
− | |< | + | |<math>\cdot</math>||\cdot|| |<math>\vdots</math>||\vdots|| |
|- | |- | ||
− | |< | + | |<math>\dots</math>||\dots|| |<math>\ddots</math>||\ddots|| |
|- | |- | ||
− | |< | + | |<math>\cdots</math>||\cdots|| |<math>\iddots</math>||\iddots|| |
|} | |} | ||
Line 207: | Line 207: | ||
!Symbol !! Command!!Symbol !! Command!!Symbol !! Command | !Symbol !! Command!!Symbol !! Command!!Symbol !! Command | ||
|- | |- | ||
− | |< | + | |<math>\hat{x}</math>||\hat{x}||<math>\check{x}</math>||\check{x}||<math>\dot{x}</math>||\dot{x} |
|- | |- | ||
− | |< | + | |<math>\breve{x}</math>||\breve{x}||<math>\acute{x}</math>||\acute{x}||<math>\ddot{x}</math>||\ddot{x} |
|- | |- | ||
− | |< | + | |<math>\grave{x}</math>||\grave{x}||<math>\tilde{x}</math>||\tilde{x}||<math>\mathring{x}</math>||\mathring{x} |
|- | |- | ||
− | |< | + | |<math>\bar{x}</math>||\bar{x}||<math>\vec{x}</math>||\vec{x} |
|} | |} | ||
When applying accents to i and j, you can use \imath and \jmath to keep the dots from interfering with the accents: | When applying accents to i and j, you can use \imath and \jmath to keep the dots from interfering with the accents: | ||
Line 219: | Line 219: | ||
!Symbol !! Command!!Symbol !! Command | !Symbol !! Command!!Symbol !! Command | ||
|- | |- | ||
− | |< | + | |<math>\vec{\jmath}</math>||\vec{\jmath}||<math>\tilde{\imath}</math>||\tilde{\imath} |
|} | |} | ||
\tilde and \hat have wide versions that allow you to accent an expression: | \tilde and \hat have wide versions that allow you to accent an expression: | ||
Line 225: | Line 225: | ||
!Symbol !! Command!!Symbol !! Command | !Symbol !! Command!!Symbol !! Command | ||
|- | |- | ||
− | |< | + | |<math>\widehat{7+x}</math>||\widehat{7+x}||<math>\widetilde{abc}</math>||\widetilde{abc} |
|} | |} | ||
Line 232: | Line 232: | ||
!Symbol!!Command!!Symbol!!Command!!Symbol!!Command | !Symbol!!Command!!Symbol!!Command!!Symbol!!Command | ||
|- | |- | ||
− | |< | + | |<math>\infty</math>||\infty||<math>\triangle</math>||\triangle||<math>\angle</math>||\angle |
|- | |- | ||
− | |< | + | |<math>\aleph</math>||\aleph||<math>\hbar</math>||\hbar||<math>\imath</math>||\imath |
|- | |- | ||
− | |< | + | |<math>\jmath</math>||\jmath||<math>\ell</math>||\ell||<math>\wp</math>||\wp |
|- | |- | ||
− | |< | + | |<math>\Re</math>||\Re||<math>\Im</math>||\Im||<math>\mho</math>||\mho |
|- | |- | ||
− | |< | + | |<math>\prime</math>||\prime||<math>\emptyset</math>||\emptyset||<math>\nabla</math>||\nabla |
|- | |- | ||
− | |< | + | |<math>\surd</math>||\surd||<math>\partial</math>||\partial||<math>\top</math>||\top |
|- | |- | ||
− | |< | + | |<math>\bot</math>||\bot||<math>\vdash</math>||\vdash||<math>\dashv</math>||\dashv |
|- | |- | ||
− | |< | + | |<math>\forall</math>||\forall||<math>\exists</math>||\exists||<math>\neg</math>||\neg |
|- | |- | ||
− | |< | + | |<math>\flat</math>||\flat||<math>\natural</math>||\natural||<math>\sharp</math>||\sharp |
|- | |- | ||
− | |< | + | |<math>\backslash</math>||\backslash||<math>\Box</math>||\Box||<math>\Diamond</math>||\Diamond |
|- | |- | ||
− | |< | + | |<math>\clubsuit</math>||\clubsuit||<math>\diamondsuit</math>||\diamondsuit||<math>\heartsuit</math>||\heartsuit |
|- | |- | ||
− | |[[Image:Spadesuit.gif]]||\spadesuit||< | + | |[[Image:Spadesuit.gif]]||\spadesuit||<math>\Join</math>||\Join||<math>\blacksquare</math>||\blacksquare |
|- | |- | ||
− | |< | + | |<math>\S</math>||\S||<math>\P</math>||\P||<math>\copyright</math>||\copyright |
|- | |- | ||
− | |< | + | |<math>\pounds</math>||\pounds||<math>\overarc{ABC}</math>||\overarc{ABC}||<math>\underarc{XYZ}</math>||\underarc{XYZ} |
|- | |- | ||
− | |< | + | |<math>\bigstar</math>||\bigstar||<math>\in</math>||\in||<math>\cup</math>||\cup |
|- | |- | ||
− | |< | + | |<math>\square</math>||\square|| |
|- | |- | ||
− | |< | + | |<math>\smiley</math>||\smiley|| |
|- | |- | ||
− | |< | + | |<math>\mathbb{R}</math>||\mathbb{R} (represents all real numbers)|| |
|- | |- | ||
− | |< | + | |<math>\checkmark</math>||\checkmark|| |
|- | |- | ||
− | |< | + | |<math>\cancer</math>||\cancer|| |
|} | |} | ||
Line 278: | Line 278: | ||
!Symbol!!Command!!Symbol!!Command!!Symbol!!Command!!Symbol!!Command | !Symbol!!Command!!Symbol!!Command!!Symbol!!Command!!Symbol!!Command | ||
|- | |- | ||
− | |< | + | |<math>\textdollar</math>||\textdollar or \\$||<math>\&</math>||\&||<math>\%</math>||\%||<math>\#</math>||\# |
|- | |- | ||
− | |< | + | |<math>\_</math>||\_||<math>\{</math>||\{||<math>\}</math>||\}||<math>\backslash</math>||\backslash |
|} | |} | ||
Revision as of 16:12, 13 July 2020
LaTeX |
About - Getting Started - Diagrams - Symbols - Downloads - Basics - Math - Examples - Pictures - Layout - Commands - Packages - Help |
This article will provide a short list of commonly used LaTeX symbols.
Contents
Finding Other Symbols
Here are some external resources for finding less commonly used symbols:
-
Detexify is an app which allows you to draw the symbol you'd like and shows you the code for it!
-
MathJax (what allows us to use <math\text{\LaTeX} on the web, (technically an AJAX library simulating it.)) maintains a list of supported commands.
-
The Comprehensive LaTeX Symbol List.
Operators
Symbol | Command | Symbol | Command | Symbol | Command |
---|---|---|---|---|---|
\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 | |||
\oslash | \odot | \bigcirc | |||
\triangleleft | \Diamond | \bigtriangleup | |||
\bigtriangledown | \Box | \triangleright | |||
\setminus | \wr | \sqrt{x} | |||
x^{\circ} | \triangledown | \sqrt[n]{x} | |||
a^x | a^{xyz} | a_x |
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 | ||||
\mid | \bumpeq |
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 couple examples, plus many other negations; it works for many of the many others as well.
Symbol | Command | Symbol | Command | Symbol | Command |
---|---|---|---|---|---|
\nmid | \nleq | \ngeq | |||
\nsim | \ncong | \nparallel | |||
\not< | \not> | \not= or \neq | |||
\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 must use the symbols on your keyboard, they are not available in .
Greek 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 |
Symbol | Command | Symbol | Command | Symbol | Command | Symbol | Command |
---|---|---|---|---|---|---|---|
\Gamma | \Delta | \Theta | \Lambda | ||||
\Xi | \Pi | \Sigma | \Upsilon | ||||
\Phi | \Psi | \Omega |
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 | ||
$\overrightarrow$ (Error compiling LaTeX. Unknown error_msg) | \overrightarrow | $\overleftarrow$ (Error compiling LaTeX. Unknown error_msg) | \overleftarrow |
$\overleftrightarrow$ (Error compiling LaTeX. Unknown error_msg) | \overleftrightarrow |
(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 | |
---|---|---|---|---|
\cdot | \vdots | |||
\dots | \ddots | |||
\cdots | \iddots |
Accents
Symbol | Command | Symbol | Command | Symbol | Command |
---|---|---|---|---|---|
\hat{x} | \check{x} | \dot{x} | |||
\breve{x} | \acute{x} | \ddot{x} | |||
\grave{x} | \tilde{x} | \mathring{x} | |||
\bar{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:
Symbol | Command | Symbol | Command |
---|---|---|---|
\vec{\jmath} | \tilde{\imath} |
\tilde and \hat have wide versions that allow you to accent an expression:
Symbol | Command | Symbol | Command |
---|---|---|---|
\widehat{7+x} | \widetilde{abc} |
Others
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 or \$ | \& | \% | \# | ||||
\_ | \{ | \} | \backslash |
(Warning: Using $ for will result in . This is a bug as far as we know. Depending on the version of this is not always a problem.)
European Language Symbols
Symbol | Command | Symbol | Command | Symbol | Command | Symbol | Command |
---|---|---|---|---|---|---|---|
{\oe} | {\ae} | {\o} | |||||
{\OE} | {\AE} | {\AA} | {\O} | ||||
{\l} | {\ss} | !` | |||||
{\L} | {\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:
If we put \left and \right before the relevant parentheses, we get a prettier expression:
- \left(\frac{a}{x} \right)^2
gives
For systems of equations or piecewise functions, use the cases environment:
f(x) = \begin{cases} x^2 & x \ge 0 \\ x & x < 0 \end{cases}
which gives
In addition to the \left and \right commands, when doing floor or ceiling functions with fractions, using
\left\lceil\frac{x}{y}\right\rceil
and \left\lfloor\frac{x}{y}\right\rfloor
give both
And, if you type this
\underbrace{a_0+a_1+a_2+\cdots+a_n}_{x}
Gives
Or
\overbrace{a_0+a_1+a_2+\cdots+a_n}^{x}
Gives
\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 \begin{equation}...\end{equation}, \begin{align}...\end{align}. 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 |