Technopedia Center
PMB University Brochure
Faculty of Engineering and Computer Science
S1 Informatics S1 Information Systems S1 Information Technology S1 Computer Engineering S1 Electrical Engineering S1 Civil Engineering

faculty of Economics and Business
S1 Management S1 Accountancy

Faculty of Letters and Educational Sciences
S1 English literature S1 English language education S1 Mathematics education S1 Sports Education
  • Registerasi
  • Brosur UTI
  • Kip Scholarship Information
  • Performance
  1. Weltenzyklopädie
  2. Aide:Formules TeX — Wikipédia
Aide:Formules TeX — Wikipédia 👆 Click Here! Read More..
Une page de Wikipédia, l'encyclopédie libre.
Aide de Wikipédia > Modifier un article, une section, un titre, etc.
Raccourci : WP:TEX, WP:LATEX, Aide:Math
Niveau expert
Les formules mathématiques sur Wikipédia peuvent être écrites avec LaTeX. Cette syntaxe est beaucoup plus facile à écrire et à lire que le HTML.
Voir aussi : insérer une formule avec l'éditeur visuel ou le wikicode

Syntaxe générale

[modifier | modifier le code]

La syntaxe suivante est à utiliser avec l'éditeur visuel ou le wikicode (avec le wikicode la formule TeX doit être insérée entre deux balises <math> et </math>).

Caractères

[modifier | modifier le code]

TeX n'accepte que les caractères latins non accentués, sauf dans le champ de la commande \text (2e ligne du tableau « Catalogue »). Ailleurs les caractères grecs ont chacun leur code (par exemple \alpha pour α {\displaystyle \alpha } {\displaystyle \alpha }, voir la section « Jeux de caractères »), et les caractères accentués sont représentés par le code de l'accent précédant le caractère non accentué (par exemple \acute e pour e ´ {\displaystyle {\acute {e}}} {\displaystyle {\acute {e}}}, voir la 1re ligne du tableau « Catalogue »).

Commandes et environnements

[modifier | modifier le code]

Les commandes commencent par une contre-oblique \, suivie :

  • soit d'un nom composé uniquement de lettres non diacritées. Une espace, un chiffre ou tout autre caractère closent le nom, par exemple : x\mapsto2 donne x ↦ 2 {\displaystyle x\mapsto 2} {\displaystyle x\mapsto 2} ;
  • soit d’un seul caractère spécial (non-lettre), ex. : \# donne # {\displaystyle \#} {\displaystyle \#}.

Les caractères + - = / ' | * < > ( ), les chiffres arabes et les lettres de l'alphabet non diacritées peuvent être tapés directement. Les autres symboles doivent être créés avec les commandes appropriées : les caractères réservés # $ % ^ & _ { } ~ \ sont obtenus respectivement par \# \$ \% \^ \& \_ \{ \} \~ \backslash.

Une commande peut accepter un ou plusieurs arguments. Les arguments obligatoires doivent former un bloc au sens de LaTeX : s'ils ne font qu'un caractère de long, ils peuvent être écrits tels quels : \sqrt x donne x {\displaystyle {\sqrt {x}}} {\displaystyle {\sqrt {x}}} ; sinon, ils doivent être délimités par des accolades : \sqrt{xyz} donne  x y z {\displaystyle {\sqrt {xyz}}} {\displaystyle {\sqrt {xyz}}}. Les commandes elles-mêmes sont aussi considérées comme des blocs : \sqrt\frac12 donne 1 2 {\displaystyle {\sqrt {\frac {1}{2}}}} {\displaystyle {\sqrt {\frac {1}{2}}}} et pas ∖ f r a c 12 {\displaystyle {\sqrt {\backslash }}frac12} {\displaystyle {\sqrt {\backslash }}frac12}. Il est néanmoins conseillé d'utiliser les accolades même quand elles ne sont pas indispensables : \sqrt{\frac{1}{2}}.

Des premières règles ci-avant, on déduit qu'on peut omettre l'espace entre la commande et son premier argument, si celui-ci n'est pas un caractère accepté dans un nom de commande : \sqrt2 est équivalent à \sqrt 2 ou \sqrt{2}, mais \sqrtx n'est pas valide et doit être écrit \sqrt{x} ou \sqrt x. À l'inverse, on peut écrire autant d'espaces et de sauts à la ligne que l'on désire.

Les arguments facultatifs sont entre crochets, avant les arguments obligatoires : \sqrt[n]{x} donne x n {\displaystyle {\sqrt[{n}]{x}}} {\displaystyle {\sqrt[{n}]{x}}}.

Les environnements sont des régions dans lesquelles sont appliquées certaines règles particulières ; ils forment un contexte spécifique. Ils commencent par \begin{nom de l'environnement} et se terminent par \end{nom de l'environnement}. Par exemple, \begin{bmatrix}a & b \\ c & d\end{bmatrix} donne :

[ a b c d ] {\displaystyle {\begin{bmatrix}a&b\\c&d\end{bmatrix}}} {\displaystyle {\begin{bmatrix}a&b\\c&d\end{bmatrix}}}

On distingue les commandes « locales » ou « ponctuelles » des commandes « globales », appelées commutateurs. Les premières ne s'appliquent qu'à leur argument : \mathrm ABC donne  A B C   {\displaystyle \mathrm {A} BC~} {\displaystyle \mathrm {A} BC~} ; les secondes s'appliquent à tout le texte jusqu'à la fin du groupe : \rm ABC donne  A B C   {\displaystyle {\rm {ABC~}}} {\displaystyle {\rm {ABC~}}}. Un groupe peut être un environnement entier, l'argument d'une commande ou être créé — délimité — à l'aide d'accolades : {\rm A}BC donne  A B C   {\displaystyle {\rm {A}}BC~} {\displaystyle {\rm {A}}BC~}. Généralement, les commutateurs sont des versions obsolètes mais plus courtes des commandes locales.

Taille

[modifier | modifier le code]

Pour modifier la taille des formules, on peut utiliser les commutateurs \displaystyle, \textstyle, \scriptstyle et \scriptscriptstyle :

  1. La taille displaystyle est la taille par défaut, l'équation dépasse toujours de la hauteur de ligne.
    \frac{1}{2} ou \displaystyle\frac{1}{2} donne 1 2 {\displaystyle {\frac {1}{2}}} {\displaystyle {\frac {1}{2}}}
  2. textstyle est la taille d'une équation composée d'une seule ligne et sans grand symbole, elle est équivalente à displaystyle dans ce cas-là, sinon elle est plus petite. Elle dépasse néanmoins toujours la hauteur de ligne.
    \textstyle\frac{1}{2} donne 1 2 {\displaystyle \textstyle {\frac {1}{2}}} {\displaystyle \textstyle {\frac {1}{2}}} mais \textstyle a est équivalent à a et donne a {\displaystyle \textstyle a} {\displaystyle \textstyle a}.
  3. scriptstyle est la taille des exposants et indices. Si elle est composée d'une seule ligne, elle est contenue dans la hauteur de ligne, sinon elle la dépasse très légèrement.
    \scriptstyle\frac{1}{2} donne 1 2 {\displaystyle \scriptstyle {\frac {1}{2}}} {\displaystyle \scriptstyle {\frac {1}{2}}}.
  4. scriptscriptstyle est la plus petite. C'est la seule qui permette de faire entrer une équation de plusieurs lignes à l'intérieur d'une hauteur de ligne.
    \scriptscriptstyle\frac{1}{2} donne 1 2 {\displaystyle \scriptscriptstyle {\frac {1}{2}}} {\displaystyle \scriptscriptstyle {\frac {1}{2}}}.
Quelques exemples
Formule displaystyle textstyle scriptstyle scriptscriptstyle
a a {\displaystyle a} {\displaystyle a} a {\displaystyle \textstyle a} {\displaystyle \textstyle a} a {\displaystyle \scriptstyle a} {\displaystyle \scriptstyle a} a {\displaystyle \scriptscriptstyle a} {\displaystyle \scriptscriptstyle a}
\frac{a}{b} a b {\displaystyle {\frac {a}{b}}} {\displaystyle {\frac {a}{b}}} a b {\displaystyle \textstyle {\frac {a}{b}}} {\displaystyle \textstyle {\frac {a}{b}}} a b {\displaystyle \scriptstyle {\frac {a}{b}}} {\displaystyle \scriptstyle {\frac {a}{b}}} a b {\displaystyle \scriptscriptstyle {\frac {a}{b}}} {\displaystyle \scriptscriptstyle {\frac {a}{b}}}
\tfrac{a}{b} a b {\displaystyle {\tfrac {a}{b}}} {\displaystyle {\tfrac {a}{b}}} a b {\displaystyle \textstyle {\tfrac {a}{b}}} {\displaystyle \textstyle {\tfrac {a}{b}}} a b {\displaystyle \scriptstyle {\tfrac {a}{b}}} {\displaystyle \scriptstyle {\tfrac {a}{b}}} a b {\displaystyle \scriptscriptstyle {\tfrac {a}{b}}} {\displaystyle \scriptscriptstyle {\tfrac {a}{b}}}
\dfrac{a}{b} a b {\displaystyle {\dfrac {a}{b}}} {\displaystyle {\dfrac {a}{b}}} a b {\displaystyle \textstyle {\dfrac {a}{b}}} {\displaystyle \textstyle {\dfrac {a}{b}}} a b {\displaystyle \scriptstyle {\dfrac {a}{b}}} {\displaystyle \scriptstyle {\dfrac {a}{b}}} a b {\displaystyle \scriptscriptstyle {\dfrac {a}{b}}} {\displaystyle \scriptscriptstyle {\dfrac {a}{b}}}
\int_a^b ∫ a b {\displaystyle \int _{a}^{b}} {\displaystyle \int _{a}^{b}} ∫ a b {\displaystyle \textstyle \int _{a}^{b}} {\displaystyle \textstyle \int _{a}^{b}} ∫ a b {\displaystyle \scriptstyle \int _{a}^{b}} {\displaystyle \scriptstyle \int _{a}^{b}} ∫ a b {\displaystyle \scriptscriptstyle \int _{a}^{b}} {\displaystyle \scriptscriptstyle \int _{a}^{b}}
\sum_a^b ∑ a b {\displaystyle \sum _{a}^{b}} {\displaystyle \sum _{a}^{b}} ∑ a b {\displaystyle \textstyle \sum _{a}^{b}} {\displaystyle \textstyle \sum _{a}^{b}} ∑ a b {\displaystyle \scriptstyle \sum _{a}^{b}} {\displaystyle \scriptstyle \sum _{a}^{b}} ∑ a b {\displaystyle \scriptscriptstyle \sum _{a}^{b}} {\displaystyle \scriptscriptstyle \sum _{a}^{b}}
\frac{\sum_a^b}{\sum_a^b} ∑ a b ∑ a b {\displaystyle {\frac {\sum _{a}^{b}}{\sum _{a}^{b}}}} {\displaystyle {\frac {\sum _{a}^{b}}{\sum _{a}^{b}}}} ∑ a b ∑ a b {\displaystyle \textstyle {\frac {\sum _{a}^{b}}{\sum _{a}^{b}}}} {\displaystyle \textstyle {\frac {\sum _{a}^{b}}{\sum _{a}^{b}}}} ∑ a b ∑ a b {\displaystyle \scriptstyle {\frac {\sum _{a}^{b}}{\sum _{a}^{b}}}} {\displaystyle \scriptstyle {\frac {\sum _{a}^{b}}{\sum _{a}^{b}}}} ∑ a b ∑ a b {\displaystyle \scriptscriptstyle {\frac {\sum _{a}^{b}}{\sum _{a}^{b}}}} {\displaystyle \scriptscriptstyle {\frac {\sum _{a}^{b}}{\sum _{a}^{b}}}}
\vec{M} M → {\displaystyle {\vec {M}}} {\displaystyle {\vec {M}}} M → {\displaystyle \textstyle {\vec {M}}} {\displaystyle \textstyle {\vec {M}}} M → {\displaystyle \scriptstyle {\vec {M}}} {\displaystyle \scriptstyle {\vec {M}}} M → {\displaystyle \scriptscriptstyle {\vec {M}}} {\displaystyle \scriptscriptstyle {\vec {M}}}
\overrightarrow{M} M → {\displaystyle {\overrightarrow {M}}} {\displaystyle {\overrightarrow {M}}} M → {\displaystyle \textstyle {\overrightarrow {M}}} {\displaystyle \textstyle {\overrightarrow {M}}} M → {\displaystyle \scriptstyle {\overrightarrow {M}}} {\displaystyle \scriptstyle {\overrightarrow {M}}} M → {\displaystyle \scriptscriptstyle {\overrightarrow {M}}} {\displaystyle \scriptscriptstyle {\overrightarrow {M}}}

Ponctuation

[modifier | modifier le code]

Selon le Lexique des règles typographiques en usage à l'Imprimerie nationale éd. 2002, p. 110, la ponctuation s'applique aux formules mathématiques, y compris celles qui sont centrées. Elles doivent donc notamment comporter un point si c'est la fin d'une phrase.

Points de suspension

[modifier | modifier le code]

Pour obtenir des espacements corrects, les points de suspension doivent être réalisés avec les commandes \ldots et \cdots (cette dernière pour les centrer verticalement, notamment entre des opérateurs).

Illustration :

  • incorrect : x 1 , . . . , x n {\displaystyle x_{1},...,x_{n}} {\displaystyle x_{1},...,x_{n}} et x 1 + . . . + x n {\displaystyle x_{1}+...+x_{n}} {\displaystyle x_{1}+...+x_{n}} (utilisation de ...)
  • correct : x 1 , … , x n {\displaystyle x_{1},\ldots ,x_{n}} {\displaystyle x_{1},\ldots ,x_{n}} et x 1 + ⋯ + x n {\displaystyle x_{1}+\cdots +x_{n}} {\displaystyle x_{1}+\cdots +x_{n}} (utilisation de \ldots et \cdots).

On peut également utiliser les commandes suivantes qui sont plus précises sur le contexte mathématique :

  • \dotsc entre virgules : x_{1}, \dotsc, x_{n} donne : x 1 , … , x n {\displaystyle x_{1},\dotsc ,x_{n}} {\displaystyle x_{1},\dotsc ,x_{n}}
  • \dotsb entre opérateurs binaires : x_{1}+\dotsb+x_{n} donne : x 1 + ⋯ + x n {\displaystyle x_{1}+\dotsb +x_{n}} {\displaystyle x_{1}+\dotsb +x_{n}}
  • \dotsm pour représenter un produit : x_{1}\dotsm x_{n} donne : x 1 ⋯ x n {\displaystyle x_{1}\dotsm x_{n}} {\displaystyle x_{1}\dotsm x_{n}}
  • \dotsi pour aligner avec une intégrale : \int\dotsi donne : ∫ ⋯ {\displaystyle \int \dotsi } {\displaystyle \int \dotsi }

Usage des accolades

[modifier | modifier le code]

Les accolades peuvent être utilisées même lorsqu'elles ne sont pas nécessaires. Leur usage rend le code source plus lisible et facilite les modifications ultérieures.

Par exemple, on préférera \frac{1}{2} à \frac 1 2 et surtout à \frac12.

De même, \sum_{k=1}^{n}{k^{2}} est plus clair que \sum_{k=1}^nk^2. De plus, si l'on doit par exemple modifier la borne supérieure de la somme en n+1, il faudra de toutes façons placer ces accolades. On rencontre cette situation également avec les intégrales.

Virgule comme séparateur décimal

[modifier | modifier le code]

La virgule est une puce par défaut en LaTeX. Si une virgule doit être affectée comme séparateur décimal, on écrira la virgule entre accolades.

nombre avec virgule (correctement) 2{,}718 2,718 {\displaystyle 2{,}718} {\displaystyle 2{,}718}
nombre avec virgule (incorrect) 2,718 2 , 718 {\displaystyle 2,718} {\displaystyle 2,718}

Aide

[modifier | modifier le code]

Si vous éprouvez des difficultés, n'hésitez pas à demander de l'aide aux utilisateurs TEXniciens ou à vous rendre sur l'atelier TEX.

Fonctions

[modifier | modifier le code]
Fonctionnalité Syntaxe Rendu
Fonctions standard \sin x sin ⁡ x {\displaystyle \sin x} {\displaystyle \sin x}
\sin(x) sin ⁡ ( x ) {\displaystyle \sin(x)} {\displaystyle \sin(x)}
Fonctions non standard \operatorname{fonction}[1] fonction {\displaystyle \operatorname {fonction} } {\displaystyle \operatorname {fonction} }
Fonctions trigonométriques \sin \cos \tan \cot \sec \csc \operatorname{tg}[1] sin ⁡   cos ⁡   tan ⁡   cot ⁡   sec ⁡   csc tg {\displaystyle \sin \ \cos \ \tan \ \cot \ \sec \ \csc \,\operatorname {tg} } {\displaystyle \sin \ \cos \ \tan \ \cot \ \sec \ \csc \,\operatorname {tg} }
Fonctions trigonométriques réciproques \arcsin \arccos \arctan arcsin ⁡   arccos ⁡   arctan {\displaystyle \arcsin \ \arccos \ \arctan } {\displaystyle \arcsin \ \arccos \ \arctan }
Fonctions hyperboliques \operatorname{sh}[1] \operatorname{ch} \operatorname{th} \coth sh ⁡   ch ⁡   th ⁡   coth {\displaystyle \operatorname {sh} \ \operatorname {ch} \ \operatorname {th} \ \coth } {\displaystyle \operatorname {sh} \ \operatorname {ch} \ \operatorname {th} \ \coth }
Fonctions d'analyse \lim \sup \inf \limsup \liminf \log \ln \lg \exp \arg \min \max lim sup inf lim sup lim inf log ⁡ ln ⁡ lg ⁡ exp ⁡ arg ⁡ min max {\displaystyle \lim \sup \inf \limsup \liminf \log \ln \lg \exp \arg \min \max } {\displaystyle \lim \sup \inf \limsup \liminf \log \ln \lg \exp \arg \min \max }
Fonctions d'algèbre \det \deg \dim \hom \ker det deg ⁡ dim ⁡ hom ⁡ ker {\displaystyle \det \deg \dim \hom \ker } {\displaystyle \det \deg \dim \hom \ker }

Catalogue

[modifier | modifier le code]
Fonctionnalité Syntaxe Rendu
Diacritiques \hat o \widehat {abc} \acute o \dot o \ddot o \vec o \check o \grave o \breve o \tilde o \widetilde {abc} \bar o o ^ a b c ^ o ´ o ˙ o ¨ o → o ˇ o ` o ˘ o ~ a b c ~ o ¯ {\displaystyle {\hat {o}}\;{\widehat {abc}}\;{\acute {o}}\;{\dot {o}}\;{\ddot {o}}\;{\vec {o}}\;{\check {o}}\;{\grave {o}}\;{\breve {o}}\;{\tilde {o}}\;{\widetilde {abc}}\;{\bar {o}}} {\displaystyle {\hat {o}}\;{\widehat {abc}}\;{\acute {o}}\;{\dot {o}}\;{\ddot {o}}\;{\vec {o}}\;{\check {o}}\;{\grave {o}}\;{\breve {o}}\;{\tilde {o}}\;{\widetilde {abc}}\;{\bar {o}}}
Texte dans une formule[2] \text{Texte, même avec accents} Texte, même avec accents {\displaystyle {\text{Texte, même avec accents}}} {\displaystyle {\text{Texte, même avec accents}}}
Opérateurs binaires \star \times \circ \cdot \bullet \cap \cup \sqcup \vee \wedge

\odot \oslash \oplus \ominus \otimes \div \pm \mp \triangle \triangleleft \triangleright

⋆   ×   ∘   ⋅   ∙   ∩   ∪   ⊔   ∨   ∧ {\displaystyle \star \ \times \ \circ \ \cdot \ \bullet \ \cap \ \cup \ \sqcup \ \vee \ \wedge } {\displaystyle \star \ \times \ \circ \ \cdot \ \bullet \ \cap \ \cup \ \sqcup \ \vee \ \wedge }

⊙   ⊘   ⊕   ⊖   ⊗   ÷   ±   ∓   △   ◃   ▹ {\displaystyle \odot \ \oslash \ \oplus \ \ominus \ \otimes \ \div \ \pm \ \mp \ \triangle \ \triangleleft \ \triangleright } {\displaystyle \odot \ \oslash \ \oplus \ \ominus \ \otimes \ \div \ \pm \ \mp \ \triangle \ \triangleleft \ \triangleright }

Opérateurs n-aires \sum \prod \coprod \int \iint \iiint \iiiint \oint \oiint, etc.

\bigcup \bigcap \bigsqcup \bigvee \bigwedge \bigoplus \bigotimes \bigodot \biguplus

∑ ∏ ∐ ∫ ∬ ∭ ⨌ ∮ ∯ {\displaystyle \sum \prod \coprod \int \iint \iiint \iiiint \oint \oiint } {\displaystyle \sum \prod \coprod \int \iint \iiint \iiiint \oint \oiint }

⋃ ⋂ ⨆ ⋁ ⋀ ⨁ ⨂ ⨀ ⨄ {\displaystyle \bigcup \bigcap \bigsqcup \bigvee \bigwedge \bigoplus \bigotimes \bigodot \biguplus } {\displaystyle \bigcup \bigcap \bigsqcup \bigvee \bigwedge \bigoplus \bigotimes \bigodot \biguplus }

Ellipses x + \cdots + y x + ⋯ + y {\displaystyle x+\cdots +y} {\displaystyle x+\cdots +y}
Délimiteurs ( ) [ ] [\![ ]\!] \{ \} \lfloor \rfloor \lceil \rceil \langle \rangle / \backslash | \| ( ) [ ] [ [ ] ] { } ⌊ ⌋ ⌈ ⌉ ⟨ ⟩ / ∖ | ‖ {\displaystyle (\;)\;[\;]\;[\![\;]\!]\;\{\;\}\;\lfloor \;\rfloor \;\lceil \;\rceil \;\langle \;\rangle \;/\;\backslash \;|\;\|} {\displaystyle (\;)\;[\;]\;[\![\;]\!]\;\{\;\}\;\lfloor \;\rfloor \;\lceil \;\rceil \;\langle \;\rangle \;/\;\backslash \;|\;\|}
Arithmétique modulaire a \equiv b \pmod c ou b \bmod c a ≡ b ( mod c ) {\displaystyle a\equiv b{\pmod {c}}} {\displaystyle a\equiv b{\pmod {c}}} ou b mod c {\displaystyle b{\bmod {c}}} {\displaystyle b{\bmod {c}}}
Probabilités \Pr Pr {\displaystyle \Pr } {\displaystyle \Pr }
Dérivées \nabla \partial x \mathrm{d}x \dot x \ddot x ∇   ∂ x   d x   x ˙   x ¨ {\displaystyle \nabla \ \partial x\ \mathrm {d} x\ {\dot {x}}\ {\ddot {x}}} {\displaystyle \nabla \ \partial x\ \mathrm {d} x\ {\dot {x}}\ {\ddot {x}}}
Racines \sqrt 2\approx 1{,}4 2 ≈ 1 , 4 {\displaystyle {\sqrt {2}}\approx 1{,}4} {\displaystyle {\sqrt {2}}\approx 1{,}4}
\sqrt[n]{x} x n {\displaystyle {\sqrt[{n}]{x}}} {\displaystyle {\sqrt[{n}]{x}}}
Norme \| x \| ‖ x ‖ {\displaystyle \|x\|} {\displaystyle \|x\|}
Logique \forall \exists \nexists \lnot \land \lor \to \leftrightarrow \Rightarrow \Leftarrow \Leftrightarrow \vdash \models ∀   ∃   ∄   ¬   ∧   ∨   →   ↔   ⇒   ⇐   ⇔   ⊢   ⊨ {\displaystyle \forall \ \exists \ \nexists \ \lnot \ \land \ \lor \ \to \ \leftrightarrow \ \Rightarrow \ \Leftarrow \ \Leftrightarrow \ \vdash \ \models } {\displaystyle \forall \ \exists \ \nexists \ \lnot \ \land \ \lor \ \to \ \leftrightarrow \ \Rightarrow \ \Leftarrow \ \Leftrightarrow \ \vdash \ \models }
Ensembles \emptyset \varnothing \cap \cup \setminus \smallsetminus ∅   ∅   ∩   ∪   ∖   ∖ {\displaystyle \emptyset \ \varnothing \ \cap \ \cup \ \setminus \ \smallsetminus } {\displaystyle \emptyset \ \varnothing \ \cap \ \cup \ \setminus \ \smallsetminus }
Relations d'ensembles \subset \subseteq \supset \supseteq \in \ni \notin ⊂ ⊆ ⊃ ⊇ ∈ ∋ ∉ {\displaystyle \subset \;\subseteq \;\supset \;\supseteq \;\in \;\ni \;\notin } {\displaystyle \subset \;\subseteq \;\supset \;\supseteq \;\in \;\ni \;\notin }
\sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup ⊏   ⊑   ⊐   ⊒   ⊓   ⊔   ⨆ {\displaystyle \sqsubset \ \sqsubseteq \ \sqsupset \ \sqsupseteq \ \sqcap \ \sqcup \ \bigsqcup } {\displaystyle \sqsubset \ \sqsubseteq \ \sqsupset \ \sqsupseteq \ \sqcap \ \sqcup \ \bigsqcup }
Relations (à nier par le préfixe \not) \sim \simeq \cong < > \le \ge \leqslant \geqslant \ll \gg \lll \ggg \equiv \approx = \neq \propto ∼   ≃   ≅   <   >   ≤   ≥   ⩽   ⩾   ≪   ≫   ⋘   ⋙   ≡   ≈   =   ≠   ∝ {\displaystyle \sim \ \simeq \ \cong \ <\ >\ \leq \ \geq \ \leqslant \ \geqslant \ \ll \ \gg \ \lll \ \ggg \ \equiv \ \approx \ =\ \neq \ \propto } {\displaystyle \sim \ \simeq \ \cong \ <\ >\ \leq \ \geq \ \leqslant \ \geqslant \ \ll \ \gg \ \lll \ \ggg \ \equiv \ \approx \ =\ \neq \ \propto }
Géométrie \Diamond \Box \square \triangle \angle \perp \mid \nmid \parallel 45^\circ ◊ ◻ ◻ △ ∠ ⊥ ∣ ∤ ∥ 45 ∘ {\displaystyle \Diamond \;\Box \;\square \;\triangle \;\angle \;\perp \;\mid \;\nmid \;\parallel \;45^{\circ }} {\displaystyle \Diamond \;\Box \;\square \;\triangle \;\angle \;\perp \;\mid \;\nmid \;\parallel \;45^{\circ }}
Flèches (liste complète si caractère Unicode existant) \leftarrow \rightarrow \to \leftrightarrow \longleftarrow \longrightarrow \longleftrightarrow \nearrow \searrow \swarrow \nwarrow \uparrow \downarrow \updownarrow

\mapsto \longmapsto \hookleftarrow \hookrightarrow \rightharpoonup \leftharpoonup \rightharpoondown \leftharpoondown \rightleftharpoons

←   →   →   ↔   ⟵   ⟶   ⟷   ↗   ↘   ↙   ↖   ↑   ↓   ↕ {\displaystyle \leftarrow \ \rightarrow \ \to \ \leftrightarrow \ \longleftarrow \ \longrightarrow \ \longleftrightarrow \ \nearrow \ \searrow \ \swarrow \ \nwarrow \ \uparrow \ \downarrow \ \updownarrow } {\displaystyle \leftarrow \ \rightarrow \ \to \ \leftrightarrow \ \longleftarrow \ \longrightarrow \ \longleftrightarrow \ \nearrow \ \searrow \ \swarrow \ \nwarrow \ \uparrow \ \downarrow \ \updownarrow }

↦   ⟼   ↩   ↪⇀   ↼   ⇁   ↽   ⇌ {\displaystyle \mapsto \ \longmapsto \ \hookleftarrow \ \hookrightarrow \rightharpoonup \ \leftharpoonup \ \rightharpoondown \ \leftharpoondown \ \rightleftharpoons } {\displaystyle \mapsto \ \longmapsto \ \hookleftarrow \ \hookrightarrow \rightharpoonup \ \leftharpoonup \ \rightharpoondown \ \leftharpoondown \ \rightleftharpoons }

\leftrightharpoons \curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright \curvearrowright \circlearrowright \Rsh \downdownarrows \multimap \leftrightsquigarrow \rightsquigarrow \nLeftarrow \nleftrightarrow \nRightarrow \nLeftrightarrow ⇋↶↺↰⇈⇉⇄⇛↣↬ {\displaystyle \leftrightharpoons \curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright } {\displaystyle \leftrightharpoons \curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright } ↷↻↱⇊⊸↭⇝⇍↮⇏⇎ {\displaystyle \curvearrowright \circlearrowright \Rsh \downdownarrows \multimap \leftrightsquigarrow \rightsquigarrow \nLeftarrow \nleftrightarrow \nRightarrow \nLeftrightarrow } {\displaystyle \curvearrowright \circlearrowright \Rsh \downdownarrows \multimap \leftrightsquigarrow \rightsquigarrow \nLeftarrow \nleftrightarrow \nRightarrow \nLeftrightarrow }
\Leftarrow \Rightarrow \Leftrightarrow \Longleftarrow \Longrightarrow \Longleftrightarrow \iff \Uparrow \Downarrow \Updownarrow ⇐   ⇒   ⇔   ⟸   ⟹   ⟺   ⟺   ⇑   ⇓   ⇕ {\displaystyle \Leftarrow \ \Rightarrow \ \Leftrightarrow \ \Longleftarrow \ \Longrightarrow \ \Longleftrightarrow \ \iff \ \Uparrow \ \Downarrow \ \Updownarrow } {\displaystyle \Leftarrow \ \Rightarrow \ \Leftrightarrow \ \Longleftarrow \ \Longrightarrow \ \Longleftrightarrow \ \iff \ \Uparrow \ \Downarrow \ \Updownarrow }
\xrightarrow[\text{texte facultatif}]{\text{texte}} \xleftarrow[\text{texte facultatif}]{\text{texte}} → texte facultatif texte   ← texte facultatif texte {\displaystyle {\xrightarrow[{\text{texte facultatif}}]{\text{texte}}}\ {\xleftarrow[{\text{texte facultatif}}]{\text{texte}}}} {\displaystyle {\xrightarrow[{\text{texte facultatif}}]{\text{texte}}}\ {\xleftarrow[{\text{texte facultatif}}]{\text{texte}}}}
Symboles divers \hbar \wr \dagger \ddagger \infty \vdash \top \bot \models \vdots \ddots \cdots \ldots
\imath \jmath \ell \Re \Im \wp \mho \sharp \flat \natural \% \complement \And \Finv \Game \smile \frown \wr
ℏ ≀ † ‡ ∞   ⊢   ⊤   ⊥   ⊨   ⋮   ⋱   ⋯   … {\displaystyle \hbar \wr \dagger \ddagger \infty \ \vdash \ \top \ \bot \ \models \ \vdots \ \ddots \ \cdots \ \ldots } {\displaystyle \hbar \wr \dagger \ddagger \infty \ \vdash \ \top \ \bot \ \models \ \vdots \ \ddots \ \cdots \ \ldots } ı   ȷ   ℓ   ℜ   ℑ   ℘   ℧   ♯   ♭   ♮   %   ∁   &   Ⅎ   ⅁   ⌣   ⌢   ≀ {\displaystyle \imath \ \jmath \ \ell \ \Re \ \Im \ \wp \ \mho \ \sharp \ \flat \ \natural \ \%\ \complement \ \And \ \Finv \ \Game \ \smile \ \frown \ \wr } {\displaystyle \imath \ \jmath \ \ell \ \Re \ \Im \ \wp \ \mho \ \sharp \ \flat \ \natural \ \%\ \complement \ \And \ \Finv \ \Game \ \smile \ \frown \ \wr }
\vartriangle \triangledown \lozenge \circledS \measuredangle \nexists \Bbbk \backprime \blacktriangle \blacktriangledown △ ▽ ◊ Ⓢ ∡ ∄ k ‵ ▴ ▾ {\displaystyle \vartriangle \triangledown \lozenge \circledS \measuredangle \nexists \Bbbk \backprime \blacktriangle \blacktriangledown } {\displaystyle \vartriangle \triangledown \lozenge \circledS \measuredangle \nexists \Bbbk \backprime \blacktriangle \blacktriangledown }
\blacksquare \blacklozenge \bigstar \sphericalangle \diagup \diagdown \dotplus \Cap \Cup \barwedge ◼ ⧫ ★ ∢ ╱ ╲ ∔ ⋒ ⋓ ⊼ {\displaystyle \blacksquare \blacklozenge \bigstar \sphericalangle \diagup \diagdown \dotplus \Cap \Cup \barwedge } {\displaystyle \blacksquare \blacklozenge \bigstar \sphericalangle \diagup \diagdown \dotplus \Cap \Cup \barwedge }
\veebar \doublebarwedge \boxminus \boxtimes \boxdot \boxplus \divideontimes \ltimes \rtimes \leftthreetimes ⊻ ⩞ ⊟ ⊠ ⊡ ⊞ ⋇ ⋉ ⋊ ⋋ {\displaystyle \veebar \doublebarwedge \boxminus \boxtimes \boxdot \boxplus \divideontimes \ltimes \rtimes \leftthreetimes } {\displaystyle \veebar \doublebarwedge \boxminus \boxtimes \boxdot \boxplus \divideontimes \ltimes \rtimes \leftthreetimes }
\rightthreetimes \curlywedge \curlyvee \circleddash \circledast \circledcirc \centerdot \intercal \leqq ⋌   ⋏   ⋎   ⊝   ⊛   ⊚   ⋅   ⊺   ≦ {\displaystyle \rightthreetimes \ \curlywedge \ \curlyvee \ \circleddash \ \circledast \ \circledcirc \ \centerdot \ \intercal \ \leqq } {\displaystyle \rightthreetimes \ \curlywedge \ \curlyvee \ \circleddash \ \circledast \ \circledcirc \ \centerdot \ \intercal \ \leqq }
\eqslantless \lesssim \lessapprox \approxeq \lessdot \lessgtr \lesseqgtr \lesseqqgtr \doteqdot \risingdotseq \doteq \fallingdotseq ⪕   ≲   ⪅   ≊   ⋖   ≶   ⋚   ⪋   ≑   ≓   ≐   ≒ {\displaystyle \eqslantless \ \lesssim \ \lessapprox \ \approxeq \ \lessdot \ \lessgtr \ \lesseqgtr \ \lesseqqgtr \ \doteqdot \ \risingdotseq \ \doteq \ \fallingdotseq } {\displaystyle \eqslantless \ \lesssim \ \lessapprox \ \approxeq \ \lessdot \ \lessgtr \ \lesseqgtr \ \lesseqqgtr \ \doteqdot \ \risingdotseq \ \doteq \ \fallingdotseq }
\backsim \backsimeq \subseteqq \Subset \preccurlyeq \curlyeqprec \precsim \precapprox \vartriangleleft ∽   ⋍   ⫅   ⋐   ≼   ⋞   ≾   ⪷   ⊲ {\displaystyle \backsim \ \backsimeq \ \subseteqq \ \Subset \ \preccurlyeq \ \curlyeqprec \ \precsim \ \precapprox \ \vartriangleleft } {\displaystyle \backsim \ \backsimeq \ \subseteqq \ \Subset \ \preccurlyeq \ \curlyeqprec \ \precsim \ \precapprox \ \vartriangleleft }
\Vvdash \bumpeq \Bumpeq \geqq \eqslantgtr \gtrsim \gtrapprox \eqsim \gtrdot ⊪≏≎≧⪖≳⪆≂⋗ {\displaystyle \Vvdash \bumpeq \Bumpeq \geqq \eqslantgtr \gtrsim \gtrapprox \eqsim \gtrdot } {\displaystyle \Vvdash \bumpeq \Bumpeq \geqq \eqslantgtr \gtrsim \gtrapprox \eqsim \gtrdot }
\gtrless \gtreqless \gtreqqless \eqcirc \circeq \triangleq \thicksim \thickapprox \supseteqq ≷   ⋛   ⪌   ≖   ≗   ≜   ∼   ≈   ⫆ {\displaystyle \gtrless \ \gtreqless \ \gtreqqless \ \eqcirc \ \circeq \ \triangleq \ \thicksim \ \thickapprox \ \supseteqq } {\displaystyle \gtrless \ \gtreqless \ \gtreqqless \ \eqcirc \ \circeq \ \triangleq \ \thicksim \ \thickapprox \ \supseteqq }
\Supset \succcurlyeq \curlyeqsucc \succsim \succapprox \vartriangleright \shortmid \shortparallel \between \pitchfork ⋑   ≽   ⋟   ≿   ⪸   ⊳   ∣   ∥   ≬   ⋔ {\displaystyle \Supset \ \succcurlyeq \ \curlyeqsucc \ \succsim \ \succapprox \ \vartriangleright \ \shortmid \ \shortparallel \ \between \ \pitchfork } {\displaystyle \Supset \ \succcurlyeq \ \curlyeqsucc \ \succsim \ \succapprox \ \vartriangleright \ \shortmid \ \shortparallel \ \between \ \pitchfork }
\propto \blacktriangleleft \therefore \backepsilon \blacktriangleright \because \nleqslant \nleqq \lneq \lneqq ∝ ◂ ∴∍ ▸ ∵ ⪇≰ ⪇≨ {\displaystyle \varpropto \blacktriangleleft \therefore \backepsilon \blacktriangleright \because \nleqslant \nleqq \lneq \lneqq } {\displaystyle \varpropto \blacktriangleleft \therefore \backepsilon \blacktriangleright \because \nleqslant \nleqq \lneq \lneqq }
\lvertneqq \lnsim \lnapprox \nprec \npreceq \precneqq \precnsim \precnapprox \nsim \nshortmid ≨ ⋦⪉⊀ ⋠ ⪵⋨⪹≁ ∤ {\displaystyle \lvertneqq \lnsim \lnapprox \nprec \npreceq \precneqq \precnsim \precnapprox \nsim \nshortmid } {\displaystyle \lvertneqq \lnsim \lnapprox \nprec \npreceq \precneqq \precnsim \precnapprox \nsim \nshortmid }
\nvdash \nVdash \ntriangleleft \ntrianglelefteq \nsubseteq \nsubseteqq \varsubsetneq \subsetneqq \varsubsetneqq \ngtr ⊬⊮⋪⋬⊈ ⊈⊊ ⫋ ⫋ ≯ {\displaystyle \nvdash \nVdash \ntriangleleft \ntrianglelefteq \nsubseteq \nsubseteqq \varsubsetneq \subsetneqq \varsubsetneqq \ngtr } {\displaystyle \nvdash \nVdash \ntriangleleft \ntrianglelefteq \nsubseteq \nsubseteqq \varsubsetneq \subsetneqq \varsubsetneqq \ngtr }
\ngeqslant \ngeqq \gneq \gneqq \gvertneqq \gnsim \gnapprox \nsucc \nsucceq \succneqq ⪈≱ ⪈≩ ≩ ⋧⪊⊁ ⋡ ⪶ {\displaystyle \ngeqslant \ngeqq \gneq \gneqq \gvertneqq \gnsim \gnapprox \nsucc \nsucceq \succneqq } {\displaystyle \ngeqslant \ngeqq \gneq \gneqq \gvertneqq \gnsim \gnapprox \nsucc \nsucceq \succneqq }
\succnsim \succnapprox \ncong \nshortparallel \nparallel \nvDash \nVDash \ntriangleright \ntrianglerighteq \nsupseteq ⋩⪺≆ ∦ ∦⊭⊯⋫⋭⊉ {\displaystyle \succnsim \succnapprox \ncong \nshortparallel \nparallel \nvDash \nVDash \ntriangleright \ntrianglerighteq \nsupseteq } {\displaystyle \succnsim \succnapprox \ncong \nshortparallel \nparallel \nvDash \nVDash \ntriangleright \ntrianglerighteq \nsupseteq }
\nsupseteqq \varsupsetneq \supsetneqq \varsupsetneqq ⊉⊋ ⫌ ⫌ {\displaystyle \nsupseteqq \varsupsetneq \supsetneqq \varsupsetneqq } {\displaystyle \nsupseteqq \varsupsetneq \supsetneqq \varsupsetneqq }
\surd \uplus \bigtriangleup \bigtriangledown \ominus √ ⊎ △ ▽ ⊖ {\displaystyle \surd \uplus \bigtriangleup \bigtriangledown \ominus } {\displaystyle \surd \uplus \bigtriangleup \bigtriangledown \ominus }
\oslash \odot \bigcirc \amalg \prec \succ \preceq \succeq ⊘ ⊙ ◯ ⨿ ≺≻⪯⪰ {\displaystyle \oslash \odot \bigcirc \amalg \prec \succ \preceq \succeq } {\displaystyle \oslash \odot \bigcirc \amalg \prec \succ \preceq \succeq }
\dashv \asymp ⊣≍ {\displaystyle \dashv \asymp } {\displaystyle \dashv \asymp }

Indices, exposants

[modifier | modifier le code]

De manière générale, les indices sont introduits par un tiret bas (_) et les exposants par un accent circonflexe (^).

Leur placement avec des grands symboles dépend de ceux-ci : ils sont placés verticalement pour les symboles de classe somme et à droite pour les symboles de classe intégrale, dont \int est ici le seul membre. Il peut être court-circuité par les commandes suivantes : \limits place indice et exposant verticalement, et \nolimits les place à droite. Dans des matrices, fractions ou dans des tailles textstyle, scriptstyle ou scriptscriptstyle, les symboles se placent par défaut à droite. Plus de détails sont disponibles ci-dessus.

Fonctionnalité Syntaxe Rendu
Exposant a^2 a 2 {\displaystyle a^{2}} {\displaystyle a^{2}}
Indice a_2 a 2 {\displaystyle a_{2}} {\displaystyle a_{2}}
Regroupement a^{2+2} a 2 + 2 {\displaystyle a^{2+2}} {\displaystyle a^{2+2}}
a_{i,j} a i , j {\displaystyle a_{i,j}} {\displaystyle a_{i,j}}
Combiner indice et exposant x_2^3 x 2 3 {\displaystyle x_{2}^{3}} {\displaystyle x_{2}^{3}}
{x_2}^3 x 2 3 {\displaystyle {x_{2}}^{3}} {\displaystyle {x_{2}}^{3}}
Indice et exposant précédents {}_1^2\!X_3^4 1 2 X 3 4 {\displaystyle {}_{1}^{2}\!X_{3}^{4}} {\displaystyle {}_{1}^{2}\!X_{3}^{4}}
\sideset{_1^2}{_3^4}\prod_a^b
(seulement pour grands symboles !)
∏ 1 2 ∏ 3 4 a b {\displaystyle \sideset {_{1}^{2}}{_{3}^{4}}\prod _{a}^{b}} {\displaystyle \sideset {_{1}^{2}}{_{3}^{4}}\prod _{a}^{b}}
Dérivée x' ou x^\prime x ′ {\displaystyle x'} {\displaystyle x'} ou x ′ {\displaystyle x^{\prime }} {\displaystyle x^{\prime }}
Soulignés et surlignés \hat{a} - \bar{b} - \vec{c} - \overline{g h i} - \underline{j k l} a ^ − b ¯ − c → − g h i ¯ − j k l _ {\displaystyle {\hat {a}}-{\bar {b}}-{\vec {c}}-{\overline {ghi}}-{\underline {jkl}}} {\displaystyle {\hat {a}}-{\bar {b}}-{\vec {c}}-{\overline {ghi}}-{\underline {jkl}}}
Vecteurs et angles \vec U - \overrightarrow{AB} - \widehat{POQ} U → − A B → − P O Q ^ {\displaystyle {\vec {U}}-{\overrightarrow {AB}}-{\widehat {POQ}}} {\displaystyle {\vec {U}}-{\overrightarrow {AB}}-{\widehat {POQ}}}
Somme \sum_{k=1}^n k^2 ou \sum_\overset{k=0}{k \text{ pair}}^n ∑ k = 1 n k 2 {\displaystyle \sum _{k=1}^{n}k^{2}} {\displaystyle \sum _{k=1}^{n}k^{2}} ou ∑ k  pair k = 0 n {\displaystyle \sum _{\overset {k=0}{k{\text{ pair}}}}^{n}} {\displaystyle \sum _{\overset {k=0}{k{\text{ pair}}}}^{n}}
Produit \prod_{i=1}^n x_i ∏ i = 1 n x i {\displaystyle \prod _{i=1}^{n}x_{i}} {\displaystyle \prod _{i=1}^{n}x_{i}}
Limite \lim_{n \to \infty} x_n lim n → ∞ x n {\displaystyle \lim _{n\to \infty }x_{n}} {\displaystyle \lim _{n\to \infty }x_{n}}
\lim\limits_{n \to \infty} x_n lim n → ∞ x n {\displaystyle \lim _{n\to \infty }x_{n}} {\displaystyle \lim _{n\to \infty }x_{n}}
Intégrale \int_{-n}^n \mathrm{e}^x \, \mathrm{d}x ∫ − n n e x d x {\displaystyle \int _{-n}^{n}\mathrm {e} ^{x}\,\mathrm {d} x} {\displaystyle \int _{-n}^{n}\mathrm {e} ^{x}\,\mathrm {d} x}
Double intégrale \iint\limits_D \, \mathrm{d}x \, \mathrm{d}y ∬ D d x d y {\displaystyle \iint \limits _{D}\,\mathrm {d} x\,\mathrm {d} y} {\displaystyle \iint \limits _{D}\,\mathrm {d} x\,\mathrm {d} y}
Triple intégrale \iiint\limits_E \, \mathrm{d}x \, \mathrm{d}y \, \mathrm{d}z ∭ E d x d y d z {\displaystyle \iiint \limits _{E}\,\mathrm {d} x\,\mathrm {d} y\,\mathrm {d} z} {\displaystyle \iiint \limits _{E}\,\mathrm {d} x\,\mathrm {d} y\,\mathrm {d} z}
Quadruple intégrale \iiiint\limits_F \, \mathrm{d}x \, \mathrm{d}y \, \mathrm{d}z \, \mathrm{d}t ⨌ F d x d y d z d t {\displaystyle \iiiint \limits _{F}\,\mathrm {d} x\,\mathrm {d} y\,\mathrm {d} z\,\mathrm {d} t} {\displaystyle \iiiint \limits _{F}\,\mathrm {d} x\,\mathrm {d} y\,\mathrm {d} z\,\mathrm {d} t}
Placement spécifique \int\limits_{-n}^n \mathrm{e}^x \, \mathrm{d}x ∫ − n n e x d x {\displaystyle \int \limits _{-n}^{n}\mathrm {e} ^{x}\,\mathrm {d} x} {\displaystyle \int \limits _{-n}^{n}\mathrm {e} ^{x}\,\mathrm {d} x}
\lim\nolimits_{n \to \infty} x_n lim n → ∞ x n {\displaystyle \lim \nolimits _{n\to \infty }x_{n}} {\displaystyle \lim \nolimits _{n\to \infty }x_{n}}
\lim_{x\to 0 \atop x\ge 0} f(x) lim x → 0 x ≥ 0 f ( x ) {\displaystyle \lim _{x\to 0 \atop x\geq 0}f(x)} {\displaystyle \lim _{x\to 0 \atop x\geq 0}f(x)}
Intersections, unions \bigcap_1^n p - \bigcup_1^k p ⋂ 1 n p − ⋃ 1 k p {\displaystyle \bigcap _{1}^{n}p-\bigcup _{1}^{k}p} {\displaystyle \bigcap _{1}^{n}p-\bigcup _{1}^{k}p}

Fractions, matrices, plusieurs lignes

[modifier | modifier le code]
Fonctionnalité Syntaxe Rendu
Fractions \frac{a}{b} ou \dfrac{a}{b} ou {a \over b} a b {\displaystyle {\frac {a}{b}}} {\displaystyle {\frac {a}{b}}} ou a b {\displaystyle {\dfrac {a}{b}}} {\displaystyle {\dfrac {a}{b}}} ou a b {\displaystyle {a \over b}} {\displaystyle {a \over b}}
\tfrac{a}{b} a b {\displaystyle {\tfrac {a}{b}}} {\displaystyle {\tfrac {a}{b}}}
\frac{\frac{a}{b}}{\frac{c}{d}} contre \frac{\dfrac{a}{b}}{\dfrac{c}{d}} a b c d {\displaystyle {\frac {\frac {a}{b}}{\frac {c}{d}}}} {\displaystyle {\frac {\frac {a}{b}}{\frac {c}{d}}}} contre a b c d {\displaystyle {\frac {\dfrac {a}{b}}{\dfrac {c}{d}}}} {\displaystyle {\frac {\dfrac {a}{b}}{\dfrac {c}{d}}}}
Fractions continues x = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3+\cdots}}} x = a 0 + 1 a 1 + 1 a 2 + 1 a 3 + ⋯ {\displaystyle x=a_{0}+{\frac {1}{a_{1}+{\frac {1}{a_{2}+{\frac {1}{a_{3}+\cdots }}}}}}} {\displaystyle x=a_{0}+{\frac {1}{a_{1}+{\frac {1}{a_{2}+{\frac {1}{a_{3}+\cdots }}}}}}}
x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3+\cdots}}} x = a 0 + 1 a 1 + 1 a 2 + 1 a 3 + ⋯ {\displaystyle x=a_{0}+{\cfrac {1}{a_{1}+{\cfrac {1}{a_{2}+{\cfrac {1}{a_{3}+\cdots }}}}}}} {\displaystyle x=a_{0}+{\cfrac {1}{a_{1}+{\cfrac {1}{a_{2}+{\cfrac {1}{a_{3}+\cdots }}}}}}}
Binômes, coefficients binomiaux, combinaisons \binom{n}{k} ou \dbinom{n}{k} ( n k ) {\displaystyle {\binom {n}{k}}} {\displaystyle {\binom {n}{k}}} ou ( n k ) {\displaystyle {\dbinom {n}{k}}} {\displaystyle {\dbinom {n}{k}}}
\tbinom{n}{k} ( n k ) {\displaystyle {\tbinom {n}{k}}} {\displaystyle {\tbinom {n}{k}}}
\frac{\binom{n}{k}}{\binom{n'}{k'}} contre \frac{\dbinom{n}{k}}{\dbinom{n'}{k'}} ( n k ) ( n ′ k ′ ) {\displaystyle {\frac {\binom {n}{k}}{\binom {n'}{k'}}}} {\displaystyle {\frac {\binom {n}{k}}{\binom {n'}{k'}}}} contre ( n k ) ( n ′ k ′ ) {\displaystyle {\frac {\dbinom {n}{k}}{\dbinom {n'}{k'}}}} {\displaystyle {\frac {\dbinom {n}{k}}{\dbinom {n'}{k'}}}}
Matrices \begin{matrix} a & \cdots & b \\ \vdots & \ddots & \vdots \\ c & \cdots & d \end{matrix} a ⋯ b ⋮ ⋱ ⋮ c ⋯ d {\displaystyle {\begin{matrix}a&\cdots &b\\\vdots &\ddots &\vdots \\c&\cdots &d\end{matrix}}} {\displaystyle {\begin{matrix}a&\cdots &b\\\vdots &\ddots &\vdots \\c&\cdots &d\end{matrix}}}
\begin{pmatrix} a & b \\ c & d \end{pmatrix} ( a b c d ) {\displaystyle {\begin{pmatrix}a&b\\c&d\end{pmatrix}}} {\displaystyle {\begin{pmatrix}a&b\\c&d\end{pmatrix}}}
\begin{bmatrix} a & b \\ c & d \end{bmatrix} [ a b c d ] {\displaystyle {\begin{bmatrix}a&b\\c&d\end{bmatrix}}} {\displaystyle {\begin{bmatrix}a&b\\c&d\end{bmatrix}}}
\begin{Bmatrix} a & b \\ c & d \end{Bmatrix} { a b c d } {\displaystyle {\begin{Bmatrix}a&b\\c&d\end{Bmatrix}}} {\displaystyle {\begin{Bmatrix}a&b\\c&d\end{Bmatrix}}}
\begin{vmatrix} a & b \\ c & d \end{vmatrix} | a b c d | {\displaystyle {\begin{vmatrix}a&b\\c&d\end{vmatrix}}} {\displaystyle {\begin{vmatrix}a&b\\c&d\end{vmatrix}}}
\begin{Vmatrix} a & b \\ c & d \end{Vmatrix} ‖ a b c d ‖ {\displaystyle {\begin{Vmatrix}a&b\\c&d\end{Vmatrix}}} {\displaystyle {\begin{Vmatrix}a&b\\c&d\end{Vmatrix}}}
\begin{smallmatrix} a & b \\ c & d \end{smallmatrix} a b c d {\displaystyle {\begin{smallmatrix}a&b\\c&d\end{smallmatrix}}} {\displaystyle {\begin{smallmatrix}a&b\\c&d\end{smallmatrix}}}
Tableaux avec alignement et bordures \begin{array}{c|r|l} \rm center & \rm right & \rm left \\ \hline c & r & l \end{array} c e n t e r r i g h t l e f t c r l {\displaystyle {\begin{array}{c|r|l}{\rm {center}}&{\rm {right}}&{\rm {left}}\\\hline c&r&l\end{array}}} {\displaystyle {\begin{array}{c|r|l}{\rm {center}}&{\rm {right}}&{\rm {left}}\\\hline c&r&l\end{array}}}
Équations sur plusieurs lignes \begin{align}f(n+1) &= (n+1)^2 \\ &= n^2 + 2n + 1 \end{align} f ( n + 1 ) = ( n + 1 ) 2 = n 2 + 2 n + 1 {\displaystyle {\begin{aligned}f(n+1)&=(n+1)^{2}\\&=n^{2}+2n+1\end{aligned}}} {\displaystyle {\begin{aligned}f(n+1)&=(n+1)^{2}\\&=n^{2}+2n+1\end{aligned}}}
Distinctions de cas, systèmes d'équations f(n)=\begin{cases} \frac{n}{2}, & \text{si }n\text{ est pair} \\ 3n+1, & \text{si }n\text{ est impair} \end{cases} f ( n ) = { n 2 , si  n  est pair 3 n + 1 , si  n  est impair {\displaystyle f(n)={\begin{cases}{\frac {n}{2}},&{\text{si }}n{\text{ est pair}}\\3n+1,&{\text{si }}n{\text{ est impair}}\end{cases}}} {\displaystyle f(n)={\begin{cases}{\frac {n}{2}},&{\text{si }}n{\text{ est pair}}\\3n+1,&{\text{si }}n{\text{ est impair}}\end{cases}}}
Fonction, application \begin{matrix}f:&]1,+\infty[&\rightarrow&\R\\ & x&\mapsto&\dfrac{\sqrt{x-1}}{\sqrt{x-1}+1}\end{matrix} f : ] 1 , + ∞ [ → R x ↦ x − 1 x − 1 + 1 {\displaystyle {\begin{matrix}f:&]1,+\infty [&\rightarrow &\mathbb {R} \\&x&\mapsto &{\dfrac {\sqrt {x-1}}{{\sqrt {x-1}}+1}}\end{matrix}}} {\displaystyle {\begin{matrix}f:&]1,+\infty [&\rightarrow &\mathbb {R} \\&x&\mapsto &{\dfrac {\sqrt {x-1}}{{\sqrt {x-1}}+1}}\end{matrix}}}
Accolades \overbrace{1+2+\cdots+100}^{5050} 1 + 2 + ⋯ + 100 ⏞ 5050 {\displaystyle \overbrace {1+2+\cdots +100} ^{5050}} {\displaystyle \overbrace {1+2+\cdots +100} ^{5050}}
\underbrace{a+b+\cdots+z}_{26} a + b + ⋯ + z ⏟ 26 {\displaystyle \underbrace {a+b+\cdots +z} _{26}} {\displaystyle \underbrace {a+b+\cdots +z} _{26}}
Superposition x \stackrel{?}{=} y x = ? y {\displaystyle x{\stackrel {?}{=}}y} {\displaystyle x{\stackrel {?}{=}}y}
x \overset{?}{=} y x = ? y {\displaystyle x{\overset {?}{=}}y} {\displaystyle x{\overset {?}{=}}y}
x \underset{?}{=} y x = ? y {\displaystyle x{\underset {?}{=}}y} {\displaystyle x{\underset {?}{=}}y}
x \xrightarrow{\text{texte}} y, x \xleftarrow{\text{texte}} y x → texte y ,   x ← texte y {\displaystyle x{\xrightarrow {\text{texte}}}y,\ x{\xleftarrow {\text{texte}}}y} {\displaystyle x\xrightarrow {\text{texte}} y,\ x\xleftarrow {\text{texte}} y}

Texte barré

[modifier | modifier le code]

Les commandes suivantes permettent de barrer des éléments de texte dans des formules mathématiques, par exemple lorsque certains éléments s'annulent.

Fonctionnalité Syntaxe Rendu
Barré à droite \cancel{5y} 5 y {\displaystyle {\cancel {5y}}} {\displaystyle {\cancel {5y}}}
Barré à gauche \bcancel{5y} 5 y {\displaystyle {\bcancel {5y}}} {\displaystyle {\bcancel {5y}}}
Barré en croix \xcancel{5y} 5 y {\displaystyle {\xcancel {5y}}} {\displaystyle {\xcancel {5y}}}
Barré avec valeur \cancelto{0}{5y} 5 y 0 {\displaystyle {\cancelto {0}{5y}}} {\displaystyle {\cancelto {0}{5y}}}

Jeux de caractères

[modifier | modifier le code]

La constante de Néper e {\displaystyle \mathrm {e} } {\displaystyle \mathrm {e} } doit être utilisée en romain, c'est-à-dire avec l'utilisation de \mathrm{e}. Ceci s'applique également pour l'unité imaginaire i {\displaystyle \mathrm {i} } {\displaystyle \mathrm {i} } et le « d droit » d {\displaystyle \mathrm {d} } {\displaystyle \mathrm {d} } des différentielles utilisé notamment dans les intégrales.

Ainsi, on écrira \mathrm{e}^{\mathrm{i}\theta} pour afficher e i θ {\displaystyle \mathrm {e} ^{\mathrm {i} \theta }} {\displaystyle \mathrm {e} ^{\mathrm {i} \theta }} et \int_a^b f(t) \, \mathrm{d}t pour afficher ∫ a b f ( t ) d t {\displaystyle \int _{a}^{b}f(t)\,\mathrm {d} t} {\displaystyle \int _{a}^{b}f(t)\,\mathrm {d} t}.

Fonctionnalité Syntaxe Rendu
Lettres grecques (sans omicron !) \Alpha \Beta \Gamma \Delta \Epsilon \Zeta \Eta \Theta \Iota \Kappa \Lambda \Mu \Nu \Xi O \Pi \Rho \Sigma \Tau \Upsilon \Phi \Chi \Psi \Omega

\alpha \beta \gamma \digamma \delta \epsilon \varepsilon \zeta \eta \theta \vartheta \iota \kappa \varkappa \lambda \mu \nu \xi o \pi \varpi \rho \varrho \sigma \varsigma \tau \upsilon \phi \varphi \chi \psi \omega

A B Γ Δ E Z H Θ I K Λ M N Ξ O Π P Σ T Υ Φ X Ψ Ω {\displaystyle \mathrm {A} \;\mathrm {B} \;\Gamma \;\Delta \;\mathrm {E} \;\mathrm {Z} \;\mathrm {H} \;\Theta \;\mathrm {I} \;\mathrm {K} \;\Lambda \;\mathrm {M} \;\mathrm {N} \;\Xi \;O\;\Pi \;\mathrm {P} \;\Sigma \;\mathrm {T} \;\Upsilon \;\Phi \;\mathrm {X} \;\Psi \;\Omega } {\displaystyle \mathrm {A} \;\mathrm {B} \;\Gamma \;\Delta \;\mathrm {E} \;\mathrm {Z} \;\mathrm {H} \;\Theta \;\mathrm {I} \;\mathrm {K} \;\Lambda \;\mathrm {M} \;\mathrm {N} \;\Xi \;O\;\Pi \;\mathrm {P} \;\Sigma \;\mathrm {T} \;\Upsilon \;\Phi \;\mathrm {X} \;\Psi \;\Omega }

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

Blackboard gras

\mathbb Ensembles de nombres

\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathbb{abcdefghijklmnopqrstuvwxyz}
\mathbb{1234567890}

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z {\displaystyle \mathbb {ABCDEFGHIJKLMNOPQRSTUVWXYZ} } {\displaystyle \mathbb {ABCDEFGHIJKLMNOPQRSTUVWXYZ} }

a b c d e f g h i j k l m n o p q r s t u v w x y z {\displaystyle \mathbb {abcdefghijklmnopqrstuvwxyz} } {\displaystyle \mathbb {abcdefghijklmnopqrstuvwxyz} }
1234567890 {\displaystyle \mathbb {1234567890} } {\displaystyle \mathbb {1234567890} }

\N \Z \Q \R (raccourcis à utiliser de préférence) \Complex \mathbb{H} (\C et \H sont proscrits) N Z Q R C H {\displaystyle \mathbb {N} \;\mathbb {Z} \;\mathbb {Q} \;\mathbb {R} \;\mathbb {C} \;\mathbb {H} } {\displaystyle \mathbb {N} \;\mathbb {Z} \;\mathbb {Q} \;\mathbb {R} \;\mathbb {C} \;\mathbb {H} }
Roman

\mathrm

\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathrm{abcdefghijklmnopqrstuvwxyz}
\mathrm{1234567890}

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z {\displaystyle \mathrm {ABCDEFGHIJKLMNOPQRSTUVWXYZ} } {\displaystyle \mathrm {ABCDEFGHIJKLMNOPQRSTUVWXYZ} }

a b c d e f g h i j k l m n o p q r s t u v w x y z {\displaystyle \mathrm {abcdefghijklmnopqrstuvwxyz} } {\displaystyle \mathrm {abcdefghijklmnopqrstuvwxyz} }
1234567890 {\displaystyle \mathrm {1234567890} } {\displaystyle \mathrm {1234567890} }

Gras

\mathbf

\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathbf{abcdefghijklmnopqrstuvwxyz}
\mathbf{1234567890}

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z {\displaystyle \mathbf {ABCDEFGHIJKLMNOPQRSTUVWXYZ} } {\displaystyle \mathbf {ABCDEFGHIJKLMNOPQRSTUVWXYZ} }

a b c d e f g h i j k l m n o p q r s t u v w x y z {\displaystyle \mathbf {abcdefghijklmnopqrstuvwxyz} } {\displaystyle \mathbf {abcdefghijklmnopqrstuvwxyz} }
1234567890 {\displaystyle \mathbf {1234567890} } {\displaystyle \mathbf {1234567890} }

Sans-serif

\mathsf

\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathsf{abcdefghijklmnopqrstuvwxyz}
\mathsf{1234567890}

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z {\displaystyle {\mathsf {ABCDEFGHIJKLMNOPQRSTUVWXYZ}}} {\displaystyle {\mathsf {ABCDEFGHIJKLMNOPQRSTUVWXYZ}}}

a b c d e f g h i j k l m n o p q r s t u v w x y z {\displaystyle {\mathsf {abcdefghijklmnopqrstuvwxyz}}} {\displaystyle {\mathsf {abcdefghijklmnopqrstuvwxyz}}}
1234567890 {\displaystyle {\mathsf {1234567890}}} {\displaystyle {\mathsf {1234567890}}}

Script

\mathcal

\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathcal{abcdefghijklmnopqrstuvwxyz}
\mathcal{1234567890}

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z {\displaystyle {\mathcal {ABCDEFGHIJKLMNOPQRSTUVWXYZ}}} {\displaystyle {\mathcal {ABCDEFGHIJKLMNOPQRSTUVWXYZ}}}

a b c d e f g h i j k l m n o p q r s t u v w x y z {\displaystyle {\mathcal {abcdefghijklmnopqrstuvwxyz}}} {\displaystyle {\mathcal {abcdefghijklmnopqrstuvwxyz}}}
1234567890 {\displaystyle {\mathcal {1234567890}}} {\displaystyle {\mathcal {1234567890}}}

Fraktur

\mathfrak

\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathfrak{abcdefghijklmnopqrstuvwxyz}
\mathfrak{1234567890}

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z {\displaystyle {\mathfrak {ABCDEFGHIJKLMNOPQRSTUVWXYZ}}} {\displaystyle {\mathfrak {ABCDEFGHIJKLMNOPQRSTUVWXYZ}}}
a b c d e f g h i j k l m n o p q r s t u v w x y z {\displaystyle {\mathfrak {abcdefghijklmnopqrstuvwxyz}}} {\displaystyle {\mathfrak {abcdefghijklmnopqrstuvwxyz}}}

1234567890 {\displaystyle {\mathfrak {1234567890}}} {\displaystyle {\mathfrak {1234567890}}}

Serif (par défaut) ABCDEFGHIJKLMNOPQRSTUVWXYZ

abcdefghijklmnopqrstuvwxyz
1234567890

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z {\displaystyle ABCDEFGHIJKLMNOPQRSTUVWXYZ} {\displaystyle ABCDEFGHIJKLMNOPQRSTUVWXYZ}

a b c d e f g h i j k l m n o p q r s t u v w x y z {\displaystyle abcdefghijklmnopqrstuvwxyz} {\displaystyle abcdefghijklmnopqrstuvwxyz}
1234567890 {\displaystyle 1234567890} {\displaystyle 1234567890}

Hébreu \aleph \beth \gimel \daleth ℵ ℶ ℷ ℸ {\displaystyle \aleph \;\beth \;\gimel \;\daleth } {\displaystyle \aleph \;\beth \;\gimel \;\daleth }

Délimiteurs dans les grandes équations

[modifier | modifier le code]
Déconseillé ( \frac{1}{2} ) ( 1 2 ) {\displaystyle ({\frac {1}{2}})} {\displaystyle ({\frac {1}{2}})}
Mieux \left( \frac{1}{2} \right) ( 1 2 ) {\displaystyle \left({\frac {1}{2}}\right)} {\displaystyle \left({\frac {1}{2}}\right)}

\left et \right peuvent être utilisés avec divers délimiteurs, par exemple :

Fonctionnalité Syntaxe Rendu
Parenthèses \left( \frac{a}{b} \right) ( a b ) {\displaystyle \left({\frac {a}{b}}\right)} {\displaystyle \left({\frac {a}{b}}\right)}
Crochets \left[ \frac{a}{b} \right] [ a b ] {\displaystyle \left[{\frac {a}{b}}\right]} {\displaystyle \left[{\frac {a}{b}}\right]}
Accolades \left\{ \frac{a}{b} \right\} { a b } {\displaystyle \left\{{\frac {a}{b}}\right\}} {\displaystyle \left\{{\frac {a}{b}}\right\}}
Chevrons \left\langle \frac{a}{b} \right\rangle ⟨ a b ⟩ {\displaystyle \left\langle {\frac {a}{b}}\right\rangle } {\displaystyle \left\langle {\frac {a}{b}}\right\rangle }
Barres (de valeur absolue, par exemple) \left| \frac{a}{b} \right| | a b | {\displaystyle \left|{\frac {a}{b}}\right|} {\displaystyle \left|{\frac {a}{b}}\right|}
Doubles barres (norme euclidienne, par exemple) \left\| \frac{\vec a}{b} \right\| ‖ a → b ‖ {\displaystyle \left\|{\frac {\vec {a}}{b}}\right\|} {\displaystyle \left\|{\frac {\vec {a}}{b}}\right\|}
Flèches \left \Uparrow \frac{a}{b} \right \Downarrow ⇑ a b ⇓ {\displaystyle \left\Uparrow {\frac {a}{b}}\right\Downarrow } {\displaystyle \left\Uparrow {\frac {a}{b}}\right\Downarrow }
Utilisez \left. ou \right. pour ne faire apparaître qu'un seul des délimiteurs \left. \frac{A}{B} \right\} \to X A B } → X {\displaystyle \left.{\frac {A}{B}}\right\}\to X} {\displaystyle \left.{\frac {A}{B}}\right\}\to X}
Taille des délimiteurs (déconseillé[3]) \big( \Big( \bigg( \Bigg(


\big[ \Big\{ \bigg\langle \Bigg\Uparrow

\big] \Big\} \bigg\rangle \Bigg\Downarrow

( ( ( ( {\displaystyle {\big (}{\Big (}{\bigg (}{\Bigg (}} {\displaystyle {\big (}{\Big (}{\bigg (}{\Bigg (}}


[ { ⟨ ⇑ {\displaystyle {\big [}{\Big \{}{\bigg \langle }{\Bigg \Uparrow }} {\displaystyle {\big [}{\Big \{}{\bigg \langle }{\Bigg \Uparrow }}
] } ⟩ ⇓ {\displaystyle {\big ]}{\Big \}}{\bigg \rangle }{\Bigg \Downarrow }} {\displaystyle {\big ]}{\Big \}}{\bigg \rangle }{\Bigg \Downarrow }}

\bigl( \Bigl( \biggl( \Biggl( \dots \Biggr) \biggr) \Bigr) \bigr)


\bigl( \Bigl\Uparrow \biggl\Downarrow \Biggl| \dots \Biggr| \biggr\Downarrow \Bigr\Downarrow \bigr)
\bigl( \Bigl[ \biggl\{ \Biggl\langle \dots \Biggr\rangle \biggr\} \Bigr] \bigr.

( ( ( ( … ) ) ) ) {\displaystyle {\bigl (}{\Bigl (}{\biggl (}{\Biggl (}\dots {\Biggr )}{\biggr )}{\Bigr )}{\bigr )}} {\displaystyle {\bigl (}{\Bigl (}{\biggl (}{\Biggl (}\dots {\Biggr )}{\biggr )}{\Bigr )}{\bigr )}}


( ⇑ ⇓ | … | ⇓ ⇓ ) {\displaystyle {\bigl (}{\Bigl \Uparrow }{\biggl \Downarrow }{\Biggl |}\dots {\Biggr |}{\biggr \Downarrow }{\Bigr \Downarrow }{\bigr )}} {\displaystyle {\bigl (}{\Bigl \Uparrow }{\biggl \Downarrow }{\Biggl |}\dots {\Biggr |}{\biggr \Downarrow }{\Bigr \Downarrow }{\bigr )}}
( [ { ⟨ … ⟩ } ] {\displaystyle {\bigl (}{\Bigl [}{\biggl \{}{\Biggl \langle }\dots {\Biggr \rangle }{\biggr \}}{\Bigr ]}{\bigr .}} {\displaystyle {\bigl (}{\Bigl [}{\biggl \{}{\Biggl \langle }\dots {\Biggr \rangle }{\biggr \}}{\Bigr ]}{\bigr .}}

Espacement

[modifier | modifier le code]

TeX gère automatiquement la plupart des problèmes d'espacement, mais vous pouvez souhaiter contrôler l'espacement manuellement dans certains cas.

Il est fortement conseillé d'utiliser le moins possible ces constructions et, en tout état de cause, de ne jamais les utiliser lors de la première mise en forme.

Fonctionnalité Syntaxe Rendu
double cadratin a \qquad b a b {\displaystyle a\qquad b} {\displaystyle a\qquad b}
cadratin a \quad b a b {\displaystyle a\quad b} {\displaystyle a\quad b}
espace large a \; b a b {\displaystyle a\;b} {\displaystyle a\;b}
espace normale a \ b ou a~b[4] a   b {\displaystyle a\ b} {\displaystyle a\ b}
espace fine a \, b a b {\displaystyle a\,b} {\displaystyle a\,b}
pas d'espacement ab ou a b a b {\displaystyle ab} {\displaystyle ab}
espacement négatif a \! b a b {\displaystyle a\!b} {\displaystyle a\!b}

Couleurs

[modifier | modifier le code]

Certaines parties peuvent être mises en couleur, à l'aide du commutateur \color{nom de la couleur} :

  • {\color{Blue}x^2}+{\color{Brown}2x}-{\color{Green}1} donne
x 2 + 2 x − 1 {\displaystyle {\color {Blue}x^{2}}+{\color {Brown}2x}-{\color {Green}1}} {\displaystyle {\color {Blue}x^{2}}+{\color {Brown}2x}-{\color {Green}1}}
  • x=\frac{-b\pm\sqrt{\color{Red}{b^2-4ac}}}{2a} donne
x = − b ± b 2 − 4 a c 2 a {\displaystyle x={\frac {-b\pm {\sqrt {\color {Red}{b^{2}-4ac}}}}{2a}}} {\displaystyle x={\frac {-b\pm {\sqrt {\color {Red}{b^{2}-4ac}}}}{2a}}}

Voir sur Wikipédia en anglais (en) pour les 68 couleurs disponibles.

Attention
Afin de conserver un document lisible et agréable, les couleurs doivent être utilisées avec une grande parcimonie. Elles doivent de plus respecter les conventions de style et être choisies de telle façon que les daltoniens puissent les distinguer.

Notes et références

[modifier | modifier le code]
  1. ↑ a b et c Pour définir une nouvelle fonction il faut utiliser \operatorname et non une fonction de mise en forme de texte telle que \text, \rm ou \mathrm. En effet, \operatorname identifiera sémantiquement son argument comme une fonction, gérant de ce fait correctement les espacements sans intervention de l'auteur.
  2. ↑ Pour des questions de lisibilité il est recommandé de ne mettre du texte dans des formules qu'en cas de nécessité.
  3. ↑ À éviter : \left et \right, qui ajustent automatiquement à la bonne taille, sont à privilégier.
  4. ↑ Il y a une différence importante : ~ est une espace insécable.

Voir aussi

[modifier | modifier le code]

Sur les autres projets Wikimedia :

  • Formules TeX, sur Wikiversity
  • LaTeX, sur Wikibooks
  • Formules TeX, sur Meta-Wiki

Liens internes

[modifier | modifier le code]
  • Wikipédia:Atelier TeX, où vous posez directement des questions sur l’utilisation du TeX.
  • Catégorie:Utilisateur TeXnicien
  • Exemples de formules
  • Aide:Caractères spéciaux
  • TeX et LaTeX

Liens externes

[modifier | modifier le code]
  • (en) [PDF] User’s Guide for the amsmath Package (Guide de l'utilisateur de l'extension amsmath)
v · m
Aide
Débuter
  • Accueil de l'aide
  • Débuter
  • Découvrir Wikipédia pas à pas
  • L'essentiel à savoir
  • Votre page d'accueil personnelle (nécessite un compte)
Règles
  • Principes fondateurs
  • Conventions de plan
  • Règles et recommandations (Résumé)
  • Conventions de style
Consultation de Wikipédia
  • Consultation de l’encyclopédie
  • Recherche d'un article
  • Lecture critique
Ressources et listes
  • Catégories
  • Couleurs
  • Pages spéciales
  • Modèles
  • Bandeaux
Création et modification
  • Éditeur visuel
  • Syntaxe wiki
  • Que faire sur Wikipédia ?
  • Orthographe
  • Tableau
Suivi des changements
  • Historique des pages
  • Contributions des utilisateurs
  • Vandalisme
Liens et références
  • Liens internes
  • Liens externes
  • Insérer une référence
Images et médias
  • Atelier graphique
  • Importation de média
  • Licences des fichiers
  • Insérer une image
  • Mise en forme des images
  • Taille des images
Gestion du compte utilisateur
  • Modification de ses préférences
  • Page personnelle
  • Signature
  • Gadgets
Informations techniques
  • Utilitaires
  • Logiciel MediaWiki
  • Accessibilité
  • Évaluation
Moyens de communication
  • Bistro
  • Pages de discussion
  • Forum des nouveaux contributeurs
  • Question techniques
Communauté de Wikipédia
  • Statuts des utilisateurs
  • Accueil
  • Votes en cours
  • Annonces
  • Résolution de conflit
  • Wikimag
Rédaction thématique
  • Droit
  • Histoire
Ce document provient de « https://fr.teknopedia.teknokrat.ac.id/w/index.php?title=Aide:Formules_TeX&oldid=224239065 ».
Catégories :
  • Aide de niveau expert
  • Aide pour la modification de Wikipédia
  • Aide:Syntaxe
  • TeX

  • indonesia
  • Polski
  • الرية
  • Deutsch
  • English
  • Español
  • Français
  • Italiano
  • مصر
  • Nederlands
  • 本語
  • Português
  • Sinugboanong Binisaya
  • Svenska
  • Українска
  • Tiếng Việt
  • Winaray
  • 中文
  • Русски
Sunting pranala
Pusat Layanan

UNIVERSITAS TEKNOKRAT INDONESIA | ASEAN's Best Private University
Jl. ZA. Pagar Alam No.9 -11, Labuhan Ratu, Kec. Kedaton, Kota Bandar Lampung, Lampung 35132
Phone: (0721) 702022
Email: pmb@teknokrat.ac.id