Différences entre les versions de « Modèle:MathJ »
m (1 révision importée)  | 
				|||
| Ligne 1 : | Ligne 1 : | ||
<includeonly>{{#tag:math|{{{1}}}}}</includeonly><noinclude>  | <includeonly>{{#tag:math|{{{1}}}}}</includeonly><noinclude>  | ||
{{Model    | {{Model    | ||
|class=  | |class=mathJ  | ||
|texte=Ce modèle sert à écrire des formules mathématiques écrits dans le langage LaTex et adapté à un contenu web. Pour [https://www.mathjax.org/ MathJax] utilise SVG et CSS.  | |texte=Ce modèle sert à écrire des formules mathématiques écrits dans le langage LaTex et adapté à un contenu web. Pour [https://www.mathjax.org/ MathJax] utilise SVG et CSS.  | ||
|syntaxe=<nowiki>{{mathJ|texte}}</nowiki>  | |syntaxe=<nowiki>{{mathJ|texte}}</nowiki>  | ||
| Ligne 31 : | Ligne 31 : | ||
{{MathJ|n \in \mathbb N}}.  | {{MathJ|n \in \mathbb N}}.  | ||
{{MathJ|C_{L_α} }}  | {{MathJ|1=C_{L_α} }}  | ||
{{MathJ|1=F(x)=\left|\dfrac{1}{ 1+\dfrac{1}{1+x} }\right|}}.     | {{MathJ|1=\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|} }}.     | ||
{{MathJ|1=F(x)=\left|\dfrac{1}{ 1+\dfrac{1}{1+x} }\right|}}.    | {{MathJ|1=\bbox[yellow, border: 1px solid red]{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=\require{enclose} \enclose{roundedbox}[mathcolor="red",mathbackground="#6ad898"]{ 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=\require{enclose} \enclose{roundedbox}{ y = x + A_i } }} {{MathJ|1=y = x + A }} {{MathJ|1=\enclose{roundedbox}{ 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} } }}  | {{MathJ|1=y = x + A_i }} {{MathJ|1=y = x + A }} {{MathJ|1=\enclose{roundedbox}{ y = \dfrac{x+\dfrac{2x+1}{2x-4} }{A+\dfrac{x^5}{2x^6-4} } } }}  | ||
</noinclude>  | </noinclude>  | ||
Version du 4 mars 2019 à 23:53
{{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. | 
Exemple :
{{MathJ|1=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]