What's new

[Tuto] afficher des notations mathématiques

flo

Administrator
Staff member
Joined
Jan 2, 2023
Messages
12
Notre forum utilise la librairie KaTeX : elle supporte un bon nombre de fonctionnalités LaTeX pour afficher des notations mathématiques.

Liens utiles :

- https://katex.org/docs/supported.html
- https://katex.org/docs/support_table.html

Tuto :

Avant de commencer, vous devez être familier avec la syntaxe LaTeX, il existe de nombreux tutoriels en ligne gratuits.

Pour afficher des notations mathématiques, vous devez écrire les formules entre deux balises BBCode : math ou imath

Code:
Pour un affichage multi-lignes : [math][/math]

Pour un affichage inline : [imath][/imath]


Voici quelques exemples :

Code:
Soit un ensemble [imath]E = \{1,2,3\}[/imath]

donnera la représentation suivante :

Soit un ensemble [imath]E = \{1,2,3\}[/imath]

Code:
Voici l'ensemble des parties de E :

[math]
\mathcal{P}(\{1,2,3\}) =
\big\{ \varnothing, \{1\}, \{2\}, \{3\}, \{1,2\}, \{1,3\}, \{2,3\}, \{1,2,3\} \big\}.
[/math]

donnera :

Voici l'ensemble des parties de E :

[math] \mathcal{P}(\{1,2,3\}) = \big\{ \varnothing, \{1\}, \{2\}, \{3\}, \{1,2\}, \{1,3\}, \{2,3\}, \{1,2,3\} \big\}. [/math]
 
Last edited: