Différences entre les versions de « Modèle:MathJ »

De Paint
toross>WikiAdmin
m (1 révision importée)
m (1 version importée)
(Aucune différence)

Version du 4 septembre 2021 à 09:45

Version : 1.36.1 1829 (2021-09-4) 20210904094543
Résumé :
Ce modèle sert à écrire des formules mathématiques écrits dans le langage LaTex et adapté à un contenu web. Pour MathJax utilise SVG et CSS.

{{mathJ|texte}}

texte
texte dans le langage mathématique en Latex.
Rq l'ajout de 1= permet d'utiliser le signe = dans le texte sans qu'il soit interprété comme l’assigne ment d'un paramètre du modèle mathJ.

Pour ajouter des opérateur pour une page donnée, on peut ajouter ceci en début de page :

{{mathJ|1=
\newcommand{\op}[1]{\operatorname{ #1 } }
\newcommand{\vdiv}{\operatorname{div} }
\newcommand{\rot}{\operatorname{rot} }
\newcommand{\grad}{\operatorname{grad} }
\newcommand{\DD}{ \operatorname{D} }
\newcommand{\D}{ \operatorname{d} }
\newcommand{\Dp}{ \operatorname{\partial} }
\newcommand{\pvect}[2] {{#1} \wedge {#2}}
\newcommand{\pscal}[2]{ {#1} \cdot {#2} }
\newcommand{\pscala}[2]{ \langle {#1} , {#2} \rangle }
\newcommand{\tensora}[1]{ \bar{ \bar{ #1 } } }
\newcommand{\tensor}[1]{ \bar{  #1 } } 
}}

Exemple :

{{MathJ|1=\huge{n \in \mathbb N}} }.

{{MathJ|C_{L_α} }}

{{MathJ|1=F(x)=\left|\dfrac{1}{ 1+\dfrac{1}{1+x} }\right|}}.

{{MathJ|1=F(x)=\left|\dfrac{1}{ 1+\dfrac{1}{1+x} }\right|}}.

{{MathJ|1=F(x)=\left|\dfrac{1}{ 1+\dfrac{1}{1+x} }\right|}}.

{{MathJ|1=y = x + A_i }} {{MathJ|1=y = x + A }} {{MathJ|1=y = \frac{x+\frac{2x+1}{2x-4} }{A+\frac{x^5}{2x^6-4} } }}

{{MathJ|1=y = x + A_i }} {{MathJ|1=y = x + A }} {{MathJ|1=y = \dfrac{x+\dfrac{2x+1}{2x-4} }{A+\dfrac{x^5}{2x^6-4} } }}


donnera :

[math]\displaystyle{ n \in \mathbb N }[/math].

[math]\displaystyle{ C_{L_α} }[/math]

[math]\displaystyle{ \require{html} \style{border-radius:10pt;border-style:solid;border-color:#FF0000;border-width:3pt;background-color:#80FF80;padding:1em;}{F(x)=\left|\dfrac{1}{ 1+\dfrac{1}{1+x} }\right|} }[/math].

[math]\displaystyle{ \bbox[yellow, border: 1px solid red]{F(x)=\left|\dfrac{1}{ 1+\dfrac{1}{1+x} }\right| } }[/math].

[math]\displaystyle{ \require{enclose} \enclose{roundedbox}[mathcolor="red",mathbackground="#6ad898"]{ F(x)=\left|\dfrac{1}{ 1+\dfrac{1}{1+x} }\right|} }[/math].

[math]\displaystyle{ \require{enclose} \enclose{roundedbox}{ y = x + A_i } }[/math] [math]\displaystyle{ y = x + A }[/math] [math]\displaystyle{ \enclose{roundedbox}{ y = \frac{x+\frac{2x+1}{2x-4} }{A+\frac{x^5}{2x^6-4} } } }[/math]

[math]\displaystyle{ y = x + A_i }[/math] [math]\displaystyle{ y = x + A }[/math] [math]\displaystyle{ \enclose{roundedbox}{ y = \dfrac{x+\dfrac{2x+1}{2x-4} }{A+\dfrac{x^5}{2x^6-4} } } }[/math]